共 5 篇文章 |
|
一、pip install 安装指定版本的包二、pip install -i 国内镜像文件三、pip安装时-U参数是什么作用?四、Python安装pip包的时候权限出现问题五.pip install遇到编码问题六.没有python-pip包就执行命令回到顶部一、pip install 安装指定版本的包。解决方案:执行命令 yum -y install epel-release行成功之后,再次执行 yum install python-pip... 阅563 转0 评0 公众公开 19-05-28 11:58 |
安装顺序:BLAS → LAPACK → ATLAS → numpy → scipy → Theano检查numpy和scipy是否通过测试。# 安装numpysudo pip install numpy# 测试numpy# 测试通过才能进行下一步~~python -c "import numpy;numpy.test()"# 安装scipysudo pip install scipy# 测试scipy# 测试通过才能进行下一步~~python -c "import scipy;scipy.te... 阅208 转0 评0 公众公开 19-05-27 23:34 |
def do_install(pkgs): try: try: from pip.internal import main except Exception: from pip._internal import main as main except ImportError: error_no_pip() return main([''''''''install''''''''] + pkgs)def do_uninstall(pkgs): try: try: from pip.internal impo... 阅3314 转5 评0 公众公开 19-05-27 15:54 |
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1.sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2.sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100.sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150. 阅38 转0 评0 公众公开 19-05-27 09:27 |
ubuntu安装python3.6环境:wget --no-check-certificate https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgztar -xzvf Python-3.6.5.tgzcd Python-3.6.5.wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz#md5=c607dd118eae682c44ed146367a17e26tar -zxvf setuptools-19.6.ta... 阅74 转2 评0 公众公开 19-05-26 16:11 |