python - Virtualenv failing when creating an enviroment -
i don't know reason, function mkvirtualenv ending in following error:
lep:~ lep$ mkvirtualenv myenvironment new python executable in myenvironment/bin/python installing setuptools, pip, wheel... complete output command /users/lep/.virtuale...vironment /bin/python -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip wheel: traceback (most recent call last): file "<string>", line 1, in <module> file "/users/lep/anaconda/lib/python2.7/site-packages/virtualenv_support/pip-7.1.0-py2.py3-none-any.whl/pip/__init__.py", line 13, in <module> file "/users/lep/anaconda/lib/python2.7/site-packages/virtualenv_support/pip-7.1.0-py2.py3-none-any.whl/pip/utils/__init__.py", line 15, in <module> file "/users/lep/anaconda/lib/python2.7/zipfile.py", line 6, in <module> import io file "/users/lep/anaconda/lib/python2.7/io.py", line 51, in <module> import _io importerror: dlopen(/users/lep/.virtualenvs/myenvironment/lib/python2.7/lib-dynload/_io.so, 2): symbol not found: __pyerr_replaceexception referenced from: /users/lep/.virtualenvs/myenvironment/lib/python2.7/lib-dynload/_io.so expected in: dynamic lookup ---------------------------------------- ...installing setuptools, pip, wheel...done. traceback (most recent call last): file "/users/lep/anaconda/bin/virtualenv", line 11, in <module> sys.exit(main()) file "/users/lep/anaconda/lib/python2.7/site-packages/virtualenv.py", line 832, in main symlink=options.symlink) file "/users/lep/anaconda/lib/python2.7/site-packages/virtualenv.py", line 1004, in create_environment install_wheel(to_install, py_executable, search_dirs) file "/users/lep/anaconda/lib/python2.7/site-packages/virtualenv.py", line 969, in install_wheel 'pip_no_index': '1' file "/users/lep/anaconda/lib/python2.7/site-packages/virtualenv.py", line 910, in call_subprocess % (cmd_desc, proc.returncode)) oserror: command /users/lep/.virtuale...vironment/bin/python -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip wheel failed error code 1
it working before , getting error. can me?
thanks in advance,
rhenan
looks using anaconda python. should be using conda not virtenv.
try:
lep:~ lep$ conda create --name myenvironment
Comments
Post a Comment