首先默认安装了virtualenv 创建python3虚拟环境 your-name@node-name:~/virtual_env$ virtualenv -p /usr/bin/python3 py3env 接着会输出 Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in /home/your_name/virtual_env/py3env/bin/python3…
Python 3 comes bundled with the venv module to create virtual environments Create an environment Create a project folder and a venv folder within: mkdir myproject cd myproject python3 -m venv venv Activate the environment Before you work on your proj…
安装pip3 sudo apt install python3-pipsudo apt-get install python3-virtualenv sudo pip3 install virtualenvwrapper Could not find a version that satisfies the requirement pip3 (from versions: )No matching distribution found for pip3You are using pip vers…