### 首先,需要安装 setuptools 等一些模块:

sudo apt-get install python-setuptools python-dev build-essential

 然后安装 pip,接下来的virtualenv等环境可以通过 pip来安装:

1

sudo apt-get install python-pip

  详细的 pip 安装可参考文档: http://pip-cn.readthedocs.io/en/latest/installing.html###

 

 

 

上面的不需要可以不用

  

1.sudo pip install virtualenv

2 virtualenv -p /usr/bin/python3 inb

3 source /home/clife/py2env/bin/activate

搭建新的python环境(ubuntu下)

参考:https://blog.csdn.net/qingche456/article/details/65465760

 

anaconda建立新环境

参考:https://blog.csdn.net/luojie140/article/details/78696330

相关文章:

  • 2022-12-23
  • 2021-05-01
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-09-13
猜你喜欢
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2022-02-24
相关资源
相似解决方案