Skip to content
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

"source deactivate" does not work inside the environment once it has been activated with your script on MacOSX #7

Open
sebma opened this issue Sep 12, 2017 · 0 comments

Comments

@sebma
Copy link

sebma commented Sep 12, 2017

Hi,

First, let me congratulate you for this great tool 👍

I'm using MacOSX 10.12 at work and once I cd /path/to/my/python2/only/environment
and try to import numpywhich is not installed so these lines below behave as I expected :

/path/to/my/python2/only/environment : $ python -c "import numpy"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named numpy

If I want to come back to my original environment (where numpy is already installed) with source deactivate I still get the same error :

/path/to/my/python2/only/environment : $ source deactivate
/path/to/my/python2/only/environment : $ python -c "import numpy"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named numpy

If I cd .. or just cd and then type source deactivate, then the $ python -c "import numpy" works fine.

Can you have a look ?

@sebma sebma changed the title "source deactivate" does not work once env has been activated with your script on MacOSX "source deactivate" does not work once then environment has been activated with your script on MacOSX Sep 12, 2017
@sebma sebma changed the title "source deactivate" does not work once then environment has been activated with your script on MacOSX "source deactivate" does not work inside the environment once it has been activated with your script on MacOSX Sep 12, 2017
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

1 participant