pip安装任何包都出现问题
* {
margin: 0;
padding: 0;
}
body {
background: url(images/body_bg.png) repeat-x scroll 0 0 #f0eef5;
color: #7d8b8d;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 14px;
line-height: 25px;
min-height: 101%;
}
img {
border: 0;
}
h1, h2, h3 {
font-size: 100%;
font-weight: normal;
}
body, div, h1, h2, h3, h4, h5, h6, ul, li, img {
margin: 0;
padding: 0;
}
#topics {
background: #fff;
overflow: hidden;
padding: 20px;
border: 1px solid #dedede;
}
#mainContent .forFlow {
float: none;
width: 100%;
}
#mainContent {
background: none;
float: left;
overflow: visible;
text-overflow: ellipsis;
width: 890px;
word-break: break-all;
}
#main {
width: 1200px;
margin: 20px auto 0;
clear: both;
}
#home {
margin: 0 auto;
}
body {
font-family: Helvetica,Verdana,Arial,sans-serif;
}
html {
height: 100%;
}
#cnblogs_post_body {
margin-bottom: 20px;
}
#cnblogs_post_body {
word-break: break-word;
}
#cnblogs_post_body {
color: #333;
line-height: 1.8;
}
#MySignature {
display: none;
}
.clear {
clear: both;
}
.clear {
clear: both;
}
#blog_post_info_block {
margin-top: 20px;
}
#BlogPostCategory {
margin-bottom: 10px;
}
#post_next_prev {
line-height: 1.8;
font-size: 12px;
}
#post_next_prev {
line-height: 200%;
margin: 10px 0;
font-size: 14px;
}
a:link {
color: #000;
text-decoration: none;
}
#post_next_prev a {
color: #333;
}
#post_next_prev a.p_n_p_prefix:link {
text-decoration: none;
}
#green_channel {
padding: 10px 0;
margin-bottom: 10px;
margin-top: 10px;
border: #c0c0c0 1px dashed;
font-size: 12px;
width: 350px;
text-align: center;
}
#author_profile {
float: left;
width: 280px;
margin-top: 0px;
margin-bottom: 10px;
color: #000;
margin-left: 0px;
font-size: 12px;
}
#div_digg {
float: right;
margin-bottom: 10px;
margin-right: 30px;
font-size: 12px;
width: 125px;
text-align: center;
margin-top: 10px;
}
.diggit {
float: left;
width: 46px;
height: 52px;
background: url('//static.cnblogs.com/images/upup.gif') no-repeat;
text-align: center;
cursor: pointer;
margin-top: 2px;
padding-top: 5px;
}
.buryit {
float: right;
margin-left: 20px;
width: 46px;
height: 52px;
background: url('//static.cnblogs.com/images/downdown.gif') no-repeat;
text-align: center;
cursor: pointer;
margin-top: 2px;
padding-top: 5px;
}
.diggword {
margin-top: 5px;
margin-left: 0px;
font-size: 12px;
color: #808080;
}
.burynum {
font-size: 14px;
color: #075db3;
font-family: Verdana;
}
#div_digg .burynum {
line-height: 1.5em !important;
}
.diggnum {
font-size: 14px;
color: #075db3;
font-family: Verdana;
}
#div_digg .diggnum {
line-height: 1.5em !important;
}
.author_profile_info {
float: left;
line-height: 18px;
}
img {
border: none;
}
.author_avatar {
vertical-align: top;
float: left;
margin-right: 5px;
padding-top: 5px;
padding-left: 2px;
border: 0;
}
#green_channel a {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAYAAABIdFAMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHhJREFUeNo8zjsOxCAMBFB/KEAUFFR0Cbng3nQPw68ArZdAlOZppPFIBhH5EAB8b+Tlt9MYQ6i1BuqFaq1CKSVcxZ2Acs6406KUgpt5/LCKuVgz5BDCSb13ZO99ZOdcZGvt4mJjzMVKqcha68iIePB86GAiOv8CDADlIUQBs7MD3wAAAABJRU5ErkJggg%3D%3D) repeat-x;
display: inline-block;
padding: 3px 8px;
color: #fff;
text-decoration: none;
font-weight: bold;
cursor: pointer;
margin-right: 10px;
-moz-border-radius: 5px;
-webkit-border-radius: 10px;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,.5);
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.5);
text-shadow: 0px -1px 1px rgba(0,0,0,0.25);
vertical-align: middle;
}
#green_channel a:link, #green_channel a:visited, #green_channel a:active {
color: #fff !important;
border: none !important;
}
#green_channel #green_channel_digg {
background-color: #2daebf;
}
#green_channel #green_channel_follow {
background-color: #e33100;
}
#green_channel #green_channel_favorite {
background-color: #ffb515;
}
#green_channel #green_channel_weibo, #green_channel #green_channel_wechat {
background: none;
padding: 3px 2px;
-moz-border-radius: none;
-webkit-border-radius: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
text-shadow: none;
}
#green_channel #green_channel_wechat img {
width: 24px;
height: 24px;
border: medium none;
box-shadow: none;
margin-left: 5px;
vertical-align: middle;
}
#green_channel #green_channel_weibo img {
vertical-align: middle;
border: none;
margin-left: 5px;
box-shadow: none;
}
#BlogPostCategory a {
margin-left: 10px;
}
blockquote {
background: none;
border: 2px solid #efefef;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
margin-top: 10px;
margin-bottom: 10px;
}
#topics .postBody blockquote {
border: none;
border-left: 5px solid #ddd;
margin: 0;
padding-left: 10px;
}
#cnblogs_post_body h3 {
font-size: 16px;
font-weight: bold;
line-height: 1.5;
margin: 10px 0;
}
#cnblogs_post_body p {
margin: 10px auto;
text-indent: 0px;
}
pre {
margin-top: 0px;
margin-bottom: 0px;
}
pre {
white-space: pre-wrap;
white-space: -moz-pre-wrap !important;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
.cnblogs-markdown pre {
margin-top: 10px;
margin-bottom: 10px;
}
#cnblogs_post_body ul {
margin-left: 30px;
padding-left: 0px;
}
#cnblogs_post_body ol, #cnblogs_post_body ul {
margin: 0 0 1em;
margin-left: 40px;
padding: 0;
}
.cnblogs-markdown code, .cnblogs-post-body code {
font-family: "Courier New",sans-serif !important;
font-size: 12px !important;
line-height: 20px;
background-color: #f5f5f5 !important;
border: 1px solid #ccc !important;
padding: 0 5px !important;
border-radius: 3px !important;
line-height: 1.8;
margin: 1px 5px;
vertical-align: middle;
display: inline-block;
}
.cnblogs-markdown pre code, .cnblogs-post-body pre code {
display: block;
margin: auto;
vertical-align: auto;
height: auto;
line-height: 1.5;
padding: 5px !important;
}
.cnblogs-markdown .hljs, .cnblogs-post-body .hljs {
display: block;
overflow-x: auto;
padding: .5em;
background: #fff;
color: #000;
}
.cnblogs-markdown .hljs, .cnblogs-post-body .hljs {
font-family: "Courier New",sans-serif !important;
font-size: 12px !important;
line-height: 1.5 !important;
padding: 5px !important;
}
.hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-name, .hljs-tag {
color: #00f;
}
#cnblogs_post_body ul li {
list-style-type: disc;
}
.hljs-string, .hljs-title, .hljs-section, .hljs-attribute, .hljs-literal, .hljs-template-tag, .hljs-template-variable, .hljs-type, .hljs-addition {
color: #a31515;
}
.hljs-comment, .hljs-quote, .hljs-variable {
color: #008000;
}
#topics .postBody blockquote p {
margin: 0;
padding: 0;
color: #777;
}
PS:以下操作全部基于win10 64位操作系统
pip安装任何包都出现问题: Cannot unpack file /tmp/pip-KzJgHD-unpack/simple
报错:
Cannot unpack file /tmp/pip-KzJgHD-unpack/simple (downloaded from /tmp/pip-M1hKq2-build, content-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of /tmp/pip-M1hKq2-build
解决:
需要添加 --extra-index-url 如:
pip install --extra-index-url http://mirrors.aliyun.com/pypi/simple/ config
--extra-index-url <url> Extra URLs of package indexes to use in addition to --index-url. Should follow the same rules as --index-url
安装模块失败,错误如下
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
解决办法:
- 访问
https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient
,找到并下载自己需要的包 - CMD切换到存放该文件目录下,执行
pip install mysqlclient
- successful ^-^
运行pip install win32api
和 pip install pywin32
都会提示错误,如下:
Could not find a version that satisfies the requirement win32api (from versions: )
No matching distribution found for win32api
改为
pip install pypiwin32
成功解决。
<div class="clear"></div>
<div id="post_next_prev">
<a class="p_n_p_prefix" href="https://www.cnblogs.com/huyifei/p/9922816.html">« </a> 上一篇: <a title="发布于 2018-11-07 15:34" href="https://www.cnblogs.com/huyifei/p/9922816.html">python的虚拟环境</a>
<br>
<a class="p_n_p_prefix" href="https://www.cnblogs.com/huyifei/p/9922849.html">» </a> 下一篇: <a title="发布于 2018-11-07 15:37" href="https://www.cnblogs.com/huyifei/p/9922849.html">根据不同运行环境配置和组织node.js应用</a>
pip安装任何包都出现问题的更多相关文章
- 解决 同时安装 python3,python2环境时,用pip安装 python3 包
应用场景 默认mac上已经安装了 python2; 而我又安装了 python3,并使用 python3; 安装了 pip 默认,pip安装的包安装在了 python2上了: 但是我想用 pip把安装 ...
- pycharm中无法导入pip安装的包
https://blog.csdn.net/mdxiaohu/article/details/82430060 2020.1.20 练习通过python操作数据库的时候需要导入一个包,因为看代码写的是 ...
- pip安装拓展包--网络超时/Read timed out问题
pip安装拓展包--网络超时/Read timed out问题 解决方案:切换镜像源(墙皮太厚) 在后面加上: -i https://pypi.douban.com/simple example: p ...
- 解决Python pip安装第三方包慢的问题
解决Python pip安装第三方包慢的问题 主要是修改源,国内的源有几个 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi ...
- pycharm中的terminal和Windows命令提示符有什么区别?二者用pip安装的包是不是位于相同位置?
那要看pycharm使用了什么shell,可以在设置->工具->终端里查看shell path.如果使用的是cmd.exe那就没区别.pycharm终端和Windows命令提示符用pip安 ...
- 1.2、使用pip安装Python包
大多数 Python 包都使用 pip 实用工具安装,使用 virtualenv 创建虚拟环境时会自动安装 pip.激活虚拟环境后,pip 所在的路径会被添加进 PATH. 注:如果你在 Python ...
- Python在终端通过pip安装好包以后,在Pycharm中依然无法使用的解决办法
在终端通过pip装好包以后,在pycharm中导入包时,依然会报错.新手不知道具体原因是什么,我把我的解决过程发出来. pip install 解决方案一: 在Pycharm中,依次打开File--- ...
- pip安装python包出现Cannot fetch index base URL http://pypi.python.org/simple/
pipinstall***安装python包,出现 Cannot fetch index base URL http://pypi.python.org/simple /错误提示或者直接安装不成功. ...
- Windows下使用pip安装python包是报错-UnicodeDecodeError: 'ascii' codec can't decode byte 0xcb in position 0
先交待下开发环境: 操作系统:Windows 7 Python版本:2.7.9 Pip版本:6.1.1 其他环境忽略 在windows下使用pip下载python包,出现如下错误 Collecting ...
随机推荐
- poj3264 Balanced Lineup(树状数组)
题目传送门 Balanced Lineup Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 64655 Accepted: ...
- 同步任务 AsyncTask 介绍
AsyncTask 顾名思义,是在我们需要执行同步任务的时候使用,这个类可以做一些后台操作,然后将结果返回的UI来,因为这个类本身封装了Handler和Thread,所以我们不需要直接去操作这两个类, ...
- std::list erase
conns.erase(remove(conns.begin(), conns.end(), conn), conns.end());
- tomcat如何正确的开启远程调试功能(转)
转自:http://blog.csdn.net/mhmyqn/article/details/49209541 版权声明:本文为博主原创文章,未经博主允许不得转载. 在日常开发中,有时需要对远程服务器 ...
- 二、sqlyog的使用
1. 创建数据库. 注意字符集 2.创建表 注意 表名.引擎名.字符集
- 修改TOMCAT服务的端口
1.进入tomcat配置文件的目录 [root@db200 conf]# cd /usr/local/tocat8/conf/ 2.打开配置文件 vim server.xml 找到Connector ...
- 【串线篇】SQL映射文件EmployeeDao.xml事项
Dao.xml或者说是mapper.xml一个意思 id:方法名,相当于这个配置是对于某个方法的实现 ,参数类型不用写,()也不用写 resultType:指定方法运行后的返回值类型全类名:(查询操作 ...
- Spring讲解(三)
依赖注入Bean属性,使用xml配置 1.构造方法注入 案例代码演示 public class User { private String username; private String passw ...
- 深入理解java虚拟机:笔记
1.运行时数据区域 1.程序计数器 当前线程执行字节码的行号指示器,字节码解释器工作通过改变这个计数器的值来选取下一条需要执行的字节码指令,每一个线程拥有独立的程序计数器,线程私有的内存 2.虚拟机栈 ...
- 使用springBoot完成阿里云短信验证
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot ...