使用sudo pip install ......的时候出现下面一段黄色的代码: The directory '/home/stone/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip…
找到这篇文章 http://stackoverflow.com/questions/34153795/xcode-7-unable-to-open-instruments-from-developer-tools 在/Library/Caches中找到/Library/Caches/com.apple.dt.instruments 看有没有重复的 有重复的删掉一个旧版本…
//========没有这个规则(ETag是否移除) 20160422============// 200 OK (from cache) 与 304 Not Modified 为什么有的缓存是 200 OK (from cache),有的缓存是 304 Not Modified 呢?很简单,看运维是否移除了 Entity Tag.移除了,就总是 200 OK (from cache).没有移除,就两者交替出现. 最近在做百度云观测的 nginx 配置优化.从知乎上看到这个问题:“阿里云存储如何…
ubuntu 安装 pip 及 pip 常用命令: https://blog.csdn.net/danielpei1222/article/details/62969815 ubuntu下不同版本python安装pip及pip的使用: https://blog.csdn.net/HevenYin/article/details/69386041 ubantu下的pycharm下载: http://www.jetbrains.com/pycharm/download/download-thanks…
升级python到2.7版本pip不可用 [root@localhost pip-7.1.2]# pip Traceback (most recent call last): File "/usr/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "/usr/local/python27/lib/python2.7/site-packages/distribu…
ubuntu@ubuntu:~$ sudo pip install uwsgi 报错:The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing p…
pytorch 的安装命令在官网就有,这里就不说了 执行安装命令 pip3 install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp35-cp35m-manylinux1_x86_64.whl 报错如下 可以知道是pip的版本太旧了,因此要更新pip的版本,用如下命令 sudo apt install python-pip 但是又报依赖关系出现问题 Traceback (most recent call last): Fi…
The directory '/home/zdj/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.The…
pip的安装 问题一 sudo apt-get install python-pip #安装pip sudo pip install --upgrade pip -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com #换成阿里镜像,升级pip 然后查看版本时出现如下错误: rogn@ubuntu:~$ pip -V Traceback (most recent call last): File "/…
1.pip安装扩展包报错 creating build/temp.linux-x86_64-3.4 x86_64-linux-gnu- -Wformat -Werror=format-security -D_FORTIFY_SOURCE= -fPIC -I/usr/local/include -I/usr/include/python3.4m -c _mssql.c -o build/temp.linux-x86_64-3.4/_mssql.o -DMSDBLIB _mssql.c::: fat…