Problem with virtualenv in Mac OS X

前端 未结 14 2106
情歌与酒
情歌与酒 2020-12-23 16:29

I\'ve installed virtualenv via pip and get this error after creating a new environment:

selenium:~ auser$ virtualenv new  
New pyt         


        
14条回答
  •  清酒与你
    2020-12-23 17:13

    I've run across this problem myself. I wrote down the instructions in a README, which I have pasted below....

    I have found there are two things that work:

    1. Make sure you're running the latest virtualenv (1.5.1, of this writting)
    2. If you're using a non system Python as your standard Python (which python to check) Forcefully use the System supplied one.

      Instead of virtualenv thing use /usr/bin/python2.6 PATH/TO/VIRTUALENV thing (or whatever which python returned to you - this is what it did for me when I ran into this issue)

提交回复
热议问题