解决ubuntu的pip和apt-get太慢的问题 ubuntu国外龟速的源实在难受,还是自己动手更改一下各种pip 源和apt-get 的源吧,换了之后速度令人舒适! 更换pip源成清华源 临时使用: 可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple例如 pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple 这样就从清华这边的镜像去安装open…
1.创建pip.conf文件 cd ~/.pip 当提示不存在时,创建它 mkdir ~/.pip 在.pip目录下创建一个pip.conf文件 touch pip.conf 2.编辑pip.conf文件 sudo vim ~/.pip/pip.conf 添加一下内容 [global] index-url=https://mirrors.aliyun.com/pypi/simple [install] trusted-host=mirrors.aliyun.com 3.完成…
原文地址“ https://blog.csdn.net/qq_33039859/article/details/80785535 ----------------------------------------------------------------------------------------------------------- 有时网速太慢,conda install xxx 下载会中断连接 导致压缩包下载不全,本地的安装包没法完全安装 此时删除原来下载的缓冲文件,再复制或本地安…
conda换源: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anacon…
sudo apt-get install: apt-get可以用来安装软件.更新源,也可以用来更新自Ubuntu的典型依赖包. (sudo apt-get remove --purge 软件名称 sudo apt-get autoremove --purge 软件名称 可以用来卸载相对应的安装) pip install: pip: Pip installs Packages, 是python的官方认可的包管理器,最常用于安装在Python包索引(PyPI)上发布的包. pip用来PyPI的pyt…
conda ≈ pip(python包管理) + virtualenv(虚拟环境) + 非python依赖包管理 级别不一样conda和yum比较类似,可以安装很多库,不限于Python.conda是创建一个局部的环境,并安装相应包:pip是安装包到原有的环境中. pip install会检查一些依赖包并给你安装,而conda的这种检查更多,甚至会把你已有的卸了替换成他认为合适的...反正conda我只是拿来管理,安装一直是pip install...conda install真心不太喜欢乱检测…
通过搜索tensorflow然后运行,例如:$ conda install --channel https://conda.anaconda.org/jjh_cio_testing tensorflow-gpu==1.3.0 报错: CondaIOError: Missing write permissions in: /usr/local/anaconda3## You don't appear to have the necessary permissions to install pack…
报错: ondaIOError: Missing write permissions in: /usr/local/anaconda3 # # You don't appear to have the necessary permissions to install packages # into the install area '/usr/local/anaconda3'. # However you can clone this environment into your home dir…
在下载包时出现下面的错误: userdeMBP:pytorch user$ conda install -n deeplearning matplotlib Solving environment: failed CondaHTTPError: HTTP CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/osx-64/repodata.json.bz2> Elapsed: - An HTTP error occurre…
Ubuntu无法安装rpm包,ubuntu RPM should not be used directly install RPM packages, use Alien instead! 简单来说,Ubuntu的软件包格式是deb,如果要安装rpm的包,则要先用alien把rpm转换成deb. sudo apt-get install alien #alien默认没有安装,所以首先要安装它 sudo alien xxxx.rpm #将rpm转换位deb,完成后会生成一个同名的xxxx.deb…