pyenv activate test_envin that case
I just posted this in the regular pyenv room, because it seems more active, but it also seems more relevant here, so I'll paste my message below:
I seem to be having a problem with anaconda builds such that using pyenv virtualenv to create conda virtual environments isn't linking all the necessary binaries from the original anaconda build to the virtual environment. For instance, I have to manually symlink jupyter and anaconda. Is this a known bug, or should I file an issue on Github? I'm happy to see if I fix it and PR if others can re-create this.
eval "$(pyenv virtualenv-init -)"is enabled, pyenv-virtualenv will automatically activate virtualenvs depending on the
.python-versionfile that lists a valid virtual environment. How do I set this? My
.python-version-file only contains the project python version
Hey there ! I have a little issue with virtualenvwrapper I uninstalled it last night to use the python3 -m venv syntaxe and get ready for 3.6 where virtualenvwrapper is deprecated. Anyway did that and now every time i open a terminal i am prompted with
bash: /usr/bin/virtualenvwrapper.sh: No such file or directory
Any idea what is causing this ?
I am using Fedora 26 64bit
PEP 405 virtualenv detected: /var/www/b2berp/venv/ Set PythonHome to /var/www/b2berp/venv/ Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Fatal Python error: Py_Initialize: Unable to get the locale encoding ModuleNotFoundError: No module named 'encodings'
pyenv shell 3.7.0however I can't get it work work with virtualenv at all keep getting this is not a framework build error
pyenv virtualenvs 2.7.13/envs/ipython2 (created from /Users/shane/.pyenv/versions/2.7.13) 2.7.13/envs/tools2 (created from /Users/shane/.pyenv/versions/2.7.13) 3.6.3/envs/jupyter3 (created from /Users/shane/.pyenv/versions/3.6.3) 3.6.3/envs/tools3 (created from /Users/shane/.pyenv/versions/3.6.3) 3.7.0/envs/fbtest (created from /Users/shane/.pyenv/versions/3.7.0/Python.framework/Versions/3.7) * fbtest (created from /Users/shane/.pyenv/versions/3.7.0/Python.framework/Versions/3.7) ipython2 (created from /Users/shane/.pyenv/versions/2.7.13) jupyter3 (created from /Users/shane/.pyenv/versions/3.6.3) tools2 (created from /Users/shane/.pyenv/versions/2.7.13)
pyevn activate fbtest pip install matplotlib python -c 'from matplotlib import pyplot; pyplot.plot(, )' Traceback (most recent call last): ... ImportError: Python is not installed as a framework.
balage@dev12:~$ pyenv virtualenv 3.5.6 test Requirement already satisfied: setuptools in /home/balage/.pyenv/versions/3.5.6/envs/test/lib/python3.5/site-packages Requirement already satisfied: pip in /home/balage/.pyenv/versions/3.5.6/envs/test/lib/python3.5/site-packages balage@dev12:~$ pyenv shell test (test) balage@dev12:~$ pip list Package Version ---------- ------- pip 9.0.1 setuptools 28.8.0 You are using pip version 9.0.1, however version 19.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. (test) balage@dev12:~$