1

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: path-to-project/venv/bin/python: No such file or directory

The minibuffer displays this message:

Cannot create ~/.emacs.d/.cache/anaconda-mode/0.1.7/ directory

This directory does exist.

I created the project on the command line with

conda create --name name-of-project-venv

The behavior basically makes spacemacs unusable for editing Python files.

0

A solution I've found is to simply open spacemacs from within the virtualenv.

This isn't super satisfying, because I don't want to have to open separate emacsen to work on different projects, so I'm adding this answer but not accepting it for now, in hopes of a better solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.