Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [anaconda-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
2 answers
7k views

Spacemacs use anaconda environment

I have anaconda environments for python2 and python3 as I have code written in the different versions In spacemacs (with python layer installed), when I open ipython (SPC m s i) it starts with my ...
Simon's user avatar
  • 421
5 votes
3 answers
6k views

Activating a conda environment in emacs

I've got code that needs python 2.7 (and other environments) C:\Users\Me>conda info -e # conda environments: # base * C:\Program Files\Anaconda3 python2 C:\...
user2127595's user avatar
5 votes
1 answer
740 views

Any equivalent of R+ESS for python?

I do a lot of R coding on Emacs – on Windows – using the wonderful ESS package. What I particularly like is that I can: start an R session, and then send lines or regions of the script I'm working on ...
pglpm's user avatar
  • 301
4 votes
3 answers
1k views

Spacemacs: How do I set a key in anaconda-mode?

I'm using the python-layer and am trying to set M-r to run replace-string while editing Python files. I've tried all of the options below from inside the function dotspacemacs/user-config. Help? ;; ...
Brep Brep's user avatar
4 votes
0 answers
377 views

Org-babel and anaconda-mode in src blocks

I practice python literate programming with tangling to generate a full project structure. There are dependencies between modules and packages, and so I will say in the C-c ': #+begin_src python ...
Eric Kaschalk's user avatar
3 votes
1 answer
3k views

Elpy Configuration...Setting Up a Virtual Environment and Pip Conflic with Conda? Need hand holding

Full disclosure: I installed anaconda and set it to the path variable. After I did this I was able to access elpy-config which I was not able to (see my prior question). I still pretty much have no ...
katsoop's user avatar
  • 43
3 votes
1 answer
1k views

How to activate a remote Python conda environment with Tramp / SSH?

I'm using Doom Emacs 27.2 on linux. I have (python +lsp +pyright +conda +cython) in my init file and (setq conda-anaconda-home "~/miniconda") in config.el. I can activate local conda env by ...
0xLN's user avatar
  • 31
3 votes
0 answers
2k views

emacs as python IDE vs pycharm: spacemacs and code navigation

[2016.12.23]: I'm trying to make emacs be usable for working with python code. By 'usable' I mean I could rely on it with code navigation and completion. I'm using spacemacs + anaconda-mode for it, ...
mat's user avatar
  • 51
3 votes
3 answers
1k views

how can I run conda in emacs shell?

I've been using Python command 'conda' in the terminal on my Mac. But when I run a command like 'conda activate ...' in Emacs's shell (M-x shell), it gives me this objection: CommandNotFoundError: ...
user3705389's user avatar
2 votes
0 answers
295 views

Anaconda Mode only complete module variables, get No Matches for assigned variables on linux server accessed via ssh

Description Anaconda Mode only complete module variables, get No Matches for assigned variables on linux server accessed via ssh Reproduction guide Observed behaviour: - Start Emacs execute import ...
spacegoing's user avatar
1 vote
1 answer
444 views

IPython doesn't work in a virtual environment

I've set up a virtual environment with venv and installed Ipython there via pip. On the terminal it works. Now, in my init.el, I have (setq python-shell-interpreter "ipython" python-shell-...
Arch Stanton's user avatar
  • 1,657
1 vote
1 answer
537 views

Frequent anaconda-mode buffers pop-up with "No such file or directory"

Running spacemacs on OSX. Using Anaconda. Every few keystrokes in a .py file, a buffer will pop up in anaconda-mode (which I have tried to disable with M-x anaconda-mode) /Applications/Emacs.app/...
Metropolis's user avatar
0 votes
1 answer
1k views

Using tab as indentation in anaconda-mode with spacemacs

I recently installed spacemacs with the python mode and would like to change the default indentation to be TAB instead of four spaces. What I did is I added (setq-default indent-tabs-mode t tab-width ...
Robin Nicole's user avatar
0 votes
1 answer
117 views

Company-anaconda works with root level Python installation but stops working when switching to conda environment with conda.el

I am on Arch Linux and use anaconda-mode with company-anaconda (here is a minimal init.el with which I can replicate the issue). I have Python installed both at root level from the primary package ...
richardvandesorge's user avatar