Skip to content

Does not set exec-path correctly in anaconda virtualenv #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cpaulik opened this issue Nov 3, 2015 · 4 comments
Closed

Does not set exec-path correctly in anaconda virtualenv #21

cpaulik opened this issue Nov 3, 2015 · 4 comments

Comments

@cpaulik
Copy link
Contributor

cpaulik commented Nov 3, 2015

Using pyenv-activate in the shell on a anaconda environment modifies my path to include e.g.

PATH=/home/cpa/.pyenv/versions/miniconda-3.16.0/envs/pytesmo/bin:/home/cpa/.pyenv/shims:

Activation of the same environment in emacs does not add the same path to exec-path

@proofit404
Copy link
Contributor

I guess this package shouldn't provide activate functionality (pyenv mode doesn't...). That why pyenv-mode commands stands from set/unset and not from activate/deactivate. Maybe you can implement pyenv-anaconda-mode or similar package with full support of anaconda virtual environments? Then I can mention this package in the README and revert autocompletion with virtualenv subcommand.

What do you think?

@cpaulik
Copy link
Contributor Author

cpaulik commented Nov 3, 2015

Oh, I did not realize this section in the readme.

This might be a problem in pyenv.

Let's wait and see what pyenv/pyenv#467 brings.

@cpaulik
Copy link
Contributor Author

cpaulik commented Nov 5, 2015

I think this is solved since pyenv/pyenv-virtualenv#103 and PR's within have brought some changes to pyenv. You should now also be able to revert to the pyenv versions command since it now lists all versions and environments.

@proofit404
Copy link
Contributor

See #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants