* {
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. 关于曲线 规划 算法 线性 S曲线 贝塞尔曲线

    工控领域经常会涉及速度加减速的算法:线性加减速,S曲线加减速(sin函数,拓展其他三角函数曲线), 贝塞尔曲线,等等. 线性加减速:    设定起始速度V0,目标速度V1,加速时间Ta(s,或加速度) ...

  2. luoguP1079 Vigenère 密码 题解(NOIP2012)

    P1079 Vigenère 密码 题目 #include<iostream> #include<cstdlib> #include<cstdio> #includ ...

  3. FTP上传下载文件(面向对象版)

    # 服务端 import socketserver import os import json import hashlib import struct class MySocketServer(so ...

  4. [Fw] assembly code in gas syntax

    Address operand syntax There are up to 4 parameters of an address operand that are presented in the ...

  5. [Java 教程 03] 我的第一个Java程序

    现在,大家应该都已经安装好jdk环境了吧!是不是已经跃跃欲试,按耐不住心中的小激动了?那我们现在就来写我们java学习生涯中的第一个java程序. 文件相关设置 为了方便后面大家的学习呢?有一点大家还 ...

  6. 【原创】微信最新表情js代码

    最近在做仿微信聊天表情发送功能,所以需要展示常用的105个表情. 因为对接微信公众号的时候,用户聊天过程中发送的表情,微信服务器会转成对应的代码传给我们的服务器,类似如下: :/::)/::~/::B ...

  7. 2018-5-26-Latex-去掉行号

    title author date CreateTime categories Latex 去掉行号 lindexi 2018-05-26 10:32:25 +0800 2018-2-13 17:23 ...

  8. dotNET面试(三)

    1.简述 private. protected. public. internal 修饰符的访问权限.private : 私有成员, 在类的内部才可以访问 ,也就是类内部的函数等成员可以访问.prot ...

  9. 解决VMwave下卡死的办法

    在VMwave路径下找到vmwave.log文件: 如上图所示:在资源监视器中找到name = vmwave-vmx.exe ,pid = 5940的进程,然后杀死.

  10. MAS(转)

    1.为什么要使用微服务? 要说为什么要使用微服务,我们要先说下传统的企业架构模式-垂直架构/单块架构模式,简单点说:我们一般将系统分为三层架构,但是这是逻辑上的三层,而非物理上的三层,这就意味着经过编 ...