Problem with virtualenv in Mac OS X

前端 未结 14 2127
情歌与酒
情歌与酒 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 16:59

    I got the same problem and I found that it happens when you do not specify the python executable name properly. So for python 2x, for example:

    virtualenv --system-site-packages -p python mysite

    But for python 3.6 you need to specify the executable name like python3.6

    virtualenv --system-site-packages -p python3.6 mysite

提交回复
热议问题