Problem with virtualenv in Mac OS X

前端 未结 14 2054
情歌与酒
情歌与酒 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:15

    The above solutions failed for me, but the following worked:

    python3 -m venv --without-pip 
    . /bin/activate
    curl https://bootstrap.pypa.io/get-pip.py | python
    deactivate
    

    It's hacky, but yes, the core problem really did just seem to be pip.

提交回复
热议问题