pyvenv-3.4 returned non-zero exit status 1

前端 未结 16 922
我寻月下人不归
我寻月下人不归 2020-12-12 15:35

I\'m in Kubuntu 14.04 , I want to create a virtualenv with python3.4. I did with python2.7 before in other folder. But when I try:

pyvenv-3.4 venv

16条回答
  •  醉梦人生
    2020-12-12 16:11

    This worked for me in python 3.6 and OSX

    $ python -m venv --without-pip my_dir
    $ source my_dir/bin/activate
    $ curl https://bootstrap.pypa.io/get-pip.py | python
    $ deactivate
    $ source my_dir/bin/activate
    (my_dir) user$
    

提交回复
热议问题