Questions tagged [anaconda-mode]
15 questions
5
votes
1 answer
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 to that session
send the whole script to be…

pglpm
- 265
- 1
- 10
5
votes
3 answers
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:\Program Files\Anaconda3\envs\python2
I would like to be…

user2127595
- 81
- 1
- 3
5
votes
2 answers
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 default environment (python 3)
Is there a way to…

Simon
- 411
- 6
- 15
4
votes
3 answers
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?
;; NONE OF THESE WORK!
(define-key…

Brep Brep
- 41
- 2
4
votes
0 answers
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 tangle: "src/foo/bar.py"
def do_stuff():
…

Eric Kaschalk
- 281
- 1
- 6
3
votes
1 answer
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 M-x conda-env-activate but I can't choose a remote conda…

0xLN
- 31
- 1
3
votes
3 answers
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: Your shell has not been properly configured to use…

user3705389
- 41
- 3
3
votes
1 answer
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 idea why this worked and what I'm doing right or…

katsoop
- 43
- 4
3
votes
0 answers
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, but I'm not 100% satisfied.
For example, when I try…

mat
- 51
- 5
2
votes
0 answers
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 pandas as pd
type pd. tab, it shows list of…

spacegoing
- 419
- 2
- 9
1
vote
1 answer
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-interpreter-args "-i")
(defun my-python-mode-setup ()
…

Arch Stanton
- 1,525
- 9
- 22
1
vote
1 answer
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/Contents/MacOS/Emacs-x86_64-10_9:
…

Metropolis
- 529
- 2
- 16
0
votes
0 answers
Different conda environment for perspectives / workspaces
I'm using Doom Emacs with workspaces and treemacs perspectives, so that I can work on different projects simultaneously, all in the same framework. But for two different Python projects, they require different Conda environments. It looks…

0xLN
- 31
- 1
0
votes
1 answer
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 manager (pacman) and locally through Anaconda…
0
votes
1 answer
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 4) to my just after(setq initial-major-mode…

Robin Nicole
- 101