* {
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. python删除某一行

    整理了网络上的一些方法,一般有两种方法:第一种:是先把文件读入内存,在内存中修改后再写入源文件. 例子:将内容包含“123”的所有行删去: with open('C:/Users/lai/Deskto ...

  2. VUE $SET源码

  3. 转帖 移动端h5页面不同尺寸屏幕适配兼容方法

    1. viewport属性及html页面结构   <meta name="viewport" content="width=device-width,initial ...

  4. Concurrent - 线程池

    原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/11426981.html ThreadPoolExecutor底层方法参数: @param corePo ...

  5. Reverse array

    数组颠倒算法 #include <iostream> #include <iterator> using namespace std; void reverse(int* A, ...

  6. POJ 2387 Til the Cows Come Home (dijkstra模板题)

    Description Bessie is out in the field and wants to get back to the barn to get as much sleep as pos ...

  7. JRE和JVM的区别

    JRE和JVM的区别       JRE(JavaRuntimeEnvironment,Java运行环境),也就是Java平台.所有的Java程序都要在JRE下才能运行.JDK的工具也是Java程序, ...

  8. Cisco基础(六):配置目前网络环境、项目阶段练习

    一.配置目前网络环境 目标: 一家新创建的IT公司,公司位于北京有80多台服务器 目前网络环境使用技术,通过端口映射技术将web服务器发布给Internet: 三层交换:汇聚接入层交换机 默认路由:实 ...

  9. spfa(模板)

    #include<iostream> #include<cstdio> #include<cstring> using namespace std; int cnt ...

  10. Github上的SlidingMenu菜单的使用方法

    GitHub上的SlidingMenu的配置方法 1. 首先明确SlidingMenu是什么? 2. 如何使用SlidingMenu框架呢? GitHub上的SlidingMenu的配置方法 1. 首 ...