Skip to content

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

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
agronholm opened this issue May 23, 2012 · 7 comments
Closed

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

agronholm opened this issue May 23, 2012 · 7 comments

Comments

@agronholm
Copy link

$ ~/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
Copy link
Member

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

@cjerdonek
Copy link
Member

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
Copy link
Member

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
Copy link

carljm commented Jun 11, 2012

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

@minrk
Copy link

minrk commented Aug 29, 2012

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
Copy link

kmike commented Sep 2, 2012

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
Copy link

pnasrat commented Sep 2, 2012

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

@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants