* {
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 win32apipip 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安装任何包都出现问题的更多相关文章

  1. 解决 同时安装 python3,python2环境时,用pip安装 python3 包

    应用场景 默认mac上已经安装了 python2; 而我又安装了 python3,并使用 python3; 安装了 pip 默认,pip安装的包安装在了 python2上了: 但是我想用 pip把安装 ...

  2. pycharm中无法导入pip安装的包

    https://blog.csdn.net/mdxiaohu/article/details/82430060 2020.1.20 练习通过python操作数据库的时候需要导入一个包,因为看代码写的是 ...

  3. pip安装拓展包--网络超时/Read timed out问题

    pip安装拓展包--网络超时/Read timed out问题 解决方案:切换镜像源(墙皮太厚) 在后面加上: -i https://pypi.douban.com/simple example: p ...

  4. 解决Python pip安装第三方包慢的问题

    解决Python pip安装第三方包慢的问题 主要是修改源,国内的源有几个 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi ...

  5. pycharm中的terminal和Windows命令提示符有什么区别?二者用pip安装的包是不是位于相同位置?

    那要看pycharm使用了什么shell,可以在设置->工具->终端里查看shell path.如果使用的是cmd.exe那就没区别.pycharm终端和Windows命令提示符用pip安 ...

  6. 1.2、使用pip安装Python包

    大多数 Python 包都使用 pip 实用工具安装,使用 virtualenv 创建虚拟环境时会自动安装 pip.激活虚拟环境后,pip 所在的路径会被添加进 PATH. 注:如果你在 Python ...

  7. Python在终端通过pip安装好包以后,在Pycharm中依然无法使用的解决办法

    在终端通过pip装好包以后,在pycharm中导入包时,依然会报错.新手不知道具体原因是什么,我把我的解决过程发出来. pip install 解决方案一: 在Pycharm中,依次打开File--- ...

  8. pip安装python包出现Cannot fetch index base URL http://pypi.python.org/simple/

    pipinstall***安装python包,出现 Cannot fetch index base URL  http://pypi.python.org/simple /错误提示或者直接安装不成功. ...

  9. 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 ...

随机推荐

  1. 万能媒体播放器 PotPlayer

    推荐一款超级牛逼播放器:PotPlayer

  2. css设置图片的高等于图片的高

    <div class="box"> <img src="img/2222.jpg" /> </div> .box { pos ...

  3. zoj 3777 Problem Arrangement(壮压+背包)

    Problem Arrangement Time Limit: 2 Seconds      Memory Limit: 65536 KB The 11th Zhejiang Provincial C ...

  4. HDFS学习笔记二

    文章来源于:https://blog.csdn.net/xuejingfu1/article/details/52554174 文件写入staging(分阶段进行) 一个客户端的创建文件的请求并不直接 ...

  5. 浏览器HTML自带懒加载技术

    对于目前的图片懒加载,我们一般采用的是通过第三方库或懒加载库来实现,但是该方式的显著问题就是,必须按顺序执行: 1.加载初始的 HTML 响应内容 2.加载懒加载库 3.加载图片 假如浏览器能直接支持 ...

  6. 对于一键退出APP功能实现的技术探讨

    在Android的开发过程中,会经常存在“一键退出APP”的需求.经过一段时间的整理,其主要实现方式有以下几种. 本质:一键结束当前APP的所有activity&一键结束当前APP进程,两者合 ...

  7. rabbitmq的管理软件以及PHP7安装rabbitmq的

    rabbitmq-server管理软件的安装 1.mac下载rabbitmq-server brew install rabbitmq 2.启动服务rabbitmq-server rabbitmq-s ...

  8. 第十一章 存储之ConfigMap

    1.描述信息 ConfigMap 功能在 Kubernetes1.2 版本中引入,许多应用程序会从配置文件.命令行参数或环境变量中读取配置信息.ConfigMap API 给我们提供了向容器中注入配置 ...

  9. json_value.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticReleas

    注意版本的提示mD  mt 注意动态mfc 还是静态mfc

  10. Java高级应用(一)

    下面来介绍一下Java的高级应用有哪些. Java高级应用 第一讲 类加载 (一).类加载 类加载器是一个特殊的类,负责在运行时寻找和加载类文件.Java允许使用不同的类加载器,甚至是自定义类加载器. ...