0

After I activated my Virtualenv i received this message:

Francos-MBP:BV francoe$source bin/activate

(BV) Francos-MBP:BV francoe$ pip freeze

-bash: /Volumes/HD 2/Projects/PythonProjects/BV/bin/pip: "/Volumes/HD: bad interpreter: No such file or directory

(BV) Francos-MBP:BV francoe$ pip install --upgrade pip -bash: /Volumes/HD 2/Projects/PythonProjects/BV/bin/pip: "/Volumes/HD: bad interpreter: No such file or directory

At the moment I am not able set up any virtualenv ..

[p.s. I have multiple versions of python (3.5 and systems version 2.7)]

Can anyone help me?

Thank you

1 Answer 1

0

A similar question has been discussed on StackOverflow:

You should create your VirtualEnv in a directory without spaces in the path. The spaces mess up the command that it is trying to run (breaking it up into additional arguments to a non-existent command).

1
  • It looks like your link points back to a Stack Overflow thread, which would be a little more "in-house". :-) In general though, it is better to make answers self contained because external links break. Include the essential information here and use the link and attribution and reference.
    – fixer1234
    Apr 24, 2017 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.