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

Specify Python interpreter on Ubuntu 14.04 #130

Merged
merged 1 commit into from
Sep 30, 2014
Merged

Specify Python interpreter on Ubuntu 14.04 #130

merged 1 commit into from
Sep 30, 2014

Conversation

siemieniec
Copy link
Contributor

On a clean Ubuntu 14.04 command ~/djangogirls$ virtualenv myvenv is failing with this error:

nairobi:~/projects/djangogirls$ virtualenv myvenv
New python executable in myvenv/bin/python
Traceback (most recent call last):
  File "/usr/bin/virtualenv", line 3, in <module>
    virtualenv.main()
  File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 825, in main
    symlink=options.symlink)
  File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 985, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1277, in install_python
    shutil.copyfile(executable, py_executable)
  File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: 'myvenv/bin/python'

Selecting python3.4 as default fix the issue.

bmispelon added a commit that referenced this pull request Sep 30, 2014
Specify Python interpreter on Ubuntu 14.04
@bmispelon bmispelon merged commit 779a4ad into DjangoGirls:master Sep 30, 2014
@bmispelon
Copy link
Contributor

Ubuntu :(

Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

None yet

2 participants