Creating Virtualenvs - Error - Ubuntu

Hi

I have pycharm installed on Ubuntu and I am trying to use it for Django.

On my Ubuntu install I have virtualenv and virtualenvwrapper installed and working.

When I go to configure interpreter and create virtualenv in Pycharm I choose my python 2.7.4 and I create the env.

it errors at the top of the output but appears to work at the bottom of the error. I have done something wrong or is there something I should be doing?


The following command was executed:

virtualenv.py –never-download –distribute /home/sayth/.virtualenvs/Strategy

The error output of the command:

Traceback (most recent call last):
  File "/home/sayth/pycharm-2.7.3/helpers/virtualenv.py", line 2429, in <module>
    main()
  File "/home/sayth/pycharm-2.7.3/helpers/virtualenv.py", line 942, in main
    never_download=options.never_download)
  File "/home/sayth/pycharm-2.7.3/helpers/virtualenv.py", line 1054, in create_environment
    install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
  File "/home/sayth/pycharm-2.7.3/helpers/virtualenv.py", line 654, in install_pip
    filter_stdout=_filter_setup)
  File "/home/sayth/pycharm-2.7.3/helpers/virtualenv.py", line 1020, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/sayth/.virtual...rategy/bin/python2.7 -x /home/sayth/.virtual...egy/bin/easy_install /home/sayth/pycharm-...lpers/pip-1.1.tar.gz failed with error code 2

New python executable in /home/sayth/.virtualenvs/Strategy/bin/python2.7
Also creating executable in /home/sayth/.virtualenvs/Strategy/bin/python
Installing distribute.................................done.
Installing pip....
  Complete output from command /home/sayth/.virtual...rategy/bin/python2.7 -x /home/sayth/.virtual...egy/bin/easy_install /home/sayth/pycharm-...lpers/pip-1.1.tar.gz:
  /home/sayth/.virtualenvs/Strategy/bin/python2.7: can't open file '/home/sayth/.virtualenvs/Strategy/bin/easy_install': [Errno 2] No such file or directory

...Installing pip...done.
1 comment
Hi sayth,

there is an open bug report in our issue tracker – http://youtrack.jetbrains.com/issue/PY-9700

Please, vote it to get notified once it's fixed.
0

Please sign in to leave a comment.