pyvenv-3.4 returned non-zero exit status 1

前端 未结 16 1016
我寻月下人不归
我寻月下人不归 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:05

    This is my solution for the error:

    $ python3.6 -m venv venv

    Failing command: ['/venv/bin/python3.6', '-Im', 'ensurepip', '--upgrade', '--default-pip']

    Solution:

    $ rm -rf venv
    $ apt install python3.6-venv
    $ python3.6 -m venv venv
    

提交回复
热议问题