pip: "/Volumes/HD: bad interpreter: No such file or directory?

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

Franco

Posted 2016-05-30T19:15:29.287

Reputation: 1

Answers

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).

There

Posted 2016-05-30T19:15:29.287

Reputation: 13

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 – 2017-04-24T22:07:12.560