chaoshu的个人博客分享 http://blog.sciencenet.cn/u/chaoshu

博文

pipenv安装及使用

已有 5141 次阅读 2020-8-19 13:20 |个人分类:Ubuntu|系统分类:科研笔记

sudo -H pip3.8 install -U --user pipenv -i https://pypi.doubanio.com/simple/

pipenv安装成功以后,如果还不能使用,那就手动添加环境变;

export PATH="$PATH:/home/chaoshu/.local/bin"

pip升级:
https://www.cnblogs.com/4wheel/p/8193255.html
pip安装时候更换国内源:
https://blog.csdn.net/nahanai/article/details/96435128

https://blog.csdn.net/jpch89/article/details/81952416

python3几个版本共存:
https://bbs.deepin.org/forum.php?mod=viewthread&tid=183807
ubuntu 安装python3.7 以及安装pip3 出现Command '('lsb_release', '-a')' returned non-zero exit status 1问题解决
https://www.cnblogs.com/longbigbeard/p/10028746.html
pip超时问题
https://www.jianshu.com/p/8e042b7e91b6
linux使用pipenv出现command not found的解决方法
https://www.jianshu.com/p/8321373af212
Pipenv使用方法:

https://segmentfault.com/a/1190000015389565 

注意,必须首先:
pipenv install --python 3.8

创建特定Python版本的环境,并进入环境

pipenv shell

否则直接运行:pipenv lock

出现如下错误:

pipenv ✘ Locking Failed! [ResolutionFailure]:

Locking [dev-packages] dependencies…
Building requirements...
Resolving dependencies...
✘ Locking Failed!   

...

pipenv.patched.notpip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.





https://wap.sciencenet.cn/blog-858128-1246975.html

上一篇:pip3 install --user pipenv出现Traceback (most recent call last
下一篇:import_module() : ModuleNotFoundError
收藏 IP: 119.79.228.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-12-14 02:30

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部