Easy_install not installed on virtualenv creation on Python 3.3a3 #281

Closed
agronholm opened this Issue May 23, 2012 · 7 comments

Projects

None yet

6 participants

@agronholm

$ ~/python/python3.3/bin/virtualenv --distribute testenv
New python executable in testenv/bin/python3.3
Also creating executable in testenv/bin/python
Installing distribute..............................................................................................................................................................................................................................................................................................................................................................................................................done.
Installing pip...
Error [Errno 2] No such file or directory: '/home/alex/testenv/bin/easy_install' while executing command /home/alex/testenv/bin/easy_install /home/alex/python/py...pport/pip-1.1.tar.gz
...Installing pip...done.
Traceback (most recent call last):
File "/home/alex/python/python3.3/bin/virtualenv", line 9, in <module>
load_entry_point('virtualenv==1.7.1.2', 'console_scripts', 'virtualenv')()
File "/home/alex/python/python3.3/lib/python3.3/site-packages/virtualenv.py", line 928, in main
never_download=options.never_download)
File "/home/alex/python/python3.3/lib/python3.3/site-packages/virtualenv.py", line 1042, in create_environment
install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
File "/home/alex/python/python3.3/lib/python3.3/site-packages/virtualenv.py", line 640, in install_pip
filter_stdout=_filter_setup)
File "/home/alex/python/python3.3/lib/python3.3/site-packages/virtualenv.py", line 966, in call_subprocess
cwd=cwd, env=env)
File "/home/alex/python/python3.3/lib/python3.3/subprocess.py", line 783, in __init__
restore_signals, start_new_session)
File "/home/alex/python/python3.3/lib/python3.3/subprocess.py", line 1381, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: '/home/alex/testenv/bin/easy_install'

@cjerdonek

I also experienced this when testing with Python 3.3 for the first time (Python 3.3.0a4).

@cjerdonek

This is the line that doesn't seem to be working the same with my install of Python 3.3. In my MacPorts Python 3.2 install, that line installs easy_install into the bin folder.

@cjerdonek

This seems to be fixed in the latest version of the development branch, though I couldn't find a reference in the past issues to where it was fixed. So I think this can be closed.

@carljm

Yeah, this was fixed in c2dd64 - not sure how I forgot to close this.

@carljm carljm closed this Jun 11, 2012
@minrk

This appears to still exist in 105ed24.

System:

  • OS X 10.8.1
  • virtualenv 105ed24 installed with System Python (2.7.2)
  • Python 3.3.0rc1 from Python.org installer

The virtualenv is created with 3.3.0rc1, using:

virtualenv ~/env/py33 -p /Library/Frameworks/Python.framework/Versions/3.3/bin/python3

Which gives the error described above.

@kmike

pip 1.2 + Python 3.3.0rc1 (installed from python.org website) + virtualenv 1.8 doesn't work for me on Mac OS X 10.8.1 - error message is the same

@pnasrat

The pip 1.2 and python 3.30rc1 is a separate issue from the patch to this one and tracked in Issue #322

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment