python-安装pip
来源:互联网 发布:excel拆分合并软件 编辑:程序博客网 时间:2024/06/05 08:29
1.cmd安装pip
背景:
在win7安装的python2.7和3.6两个版本,在cmd写pip测试报错:
cmd下pip出现Fatal error in launcher: Unable to create process using '"'
解决步骤:
a.在path下配置环境,分别配置pip.exe所在目录路径
b.因为多版本pip因此在使用时,需要标识python版本:python27.exe -m pip,测试通过
2.pycharm使用pip
pytharm下安装模块步骤setting->project->+
pycharm安装模块pil报错non-zero exit code(1)
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'D:\python\python2.7\python27.exe'.
Collecting pil
The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host pypi.douban.com'.
Could not find a version that satisfies the requirement pil (from versions: )
No matching distribution found for pil
a.修改manage repositories,添加国内信任源
b.添加--trusted-host pypi.douban.com
重新安装仍未成功,最后查找发现pillow与pil用法相同,查找安装成功。
- python 安装pip
- 安装python-pip
- Python pip 安装
- python pip 安装
- windows安装python,pip
- CentOS安装python-pip
- python 安装 pip setup
- 安装Python pip
- python 安装pip
- Python pip 安装包
- python pip的安装
- python 安装pip
- centos7安装python-pip
- python、pip安装
- python pip安装 PIL
- Python pip安装
- linux python pip 安装
- centos7 安装python pip
- 利用kettle的自定义java给sqlserver复制表
- 实操《深入浅出React和Redux》第一期
- 王坚博士专访 | 揭开国家 AI 创新平台“城市大脑”的神秘面纱
- CSS——响应式布局之@media
- 初级Python中map函数的运用以及列表转字符串的方法
- python-安装pip
- Centos7使用yum安装MySQL5.6
- css伪类hover新的应用技巧思考+fixed屏幕居中
- 浅谈科研中作中的心得体会-讲座心得
- linux date时间格式转换
- FFplay快捷键和常用选项
- 小何讲Linux: 文件锁及其实例
- LinuxC实现文件夹及文件拷贝
- 欢迎使用CSDN-markdown编辑器