惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
U
Unit 42
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
L
LangChain Blog
Engineering at Meta
Engineering at Meta
量子位
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
A
About on SuperTechFans
Y
Y Combinator Blog

博客园 - ABeen

[Database] Mongodb 分片集群 [Linux] vim状态栏配置 [Linux] Centos 添加开机启动脚本 [Linux] Docker 镜像及容器自动化思路 [Linux]Docker 容器时间与宿主机同步 [Linux] Tomcat java.lang.OutOfMemoryError: Java heap space [Linux] Nginx 反向代理配置 http headers 带下划线fields转发 [Linux] 非云环境的Ubuntu主机如何关闭Cloud-init [DataBase] MySql 查看实时日志 [Misc] ZSH 常用快捷键 [Database] MAC MySQL中文乱码问题 [Misc] python 开发vim 插件初步测试 [Tools] 多媒体视频处理工具FFmpeg [Linux] 树莓派编译python3.7.4 [Linux] TMUX Python版本设置 Linux 批量杀进程的命令 arm树莓派Raspbian 下安装selenium+chrome 树莓派Raspbian系统密码 mac 终端查看端口命令
[Linux] Ubuntu Server18 python3.7 虚拟环境
ABeen · 2019-08-08 · via 博客园 - ABeen

Ubuntu Server18 python3.7 环境

Ubuntu Server18 默认是python3.6, 目前开发主要用python3.7.
所以想搭建python3.7环境. 试过几手动编译python3.7源码虽成功, 有时确实很麻烦(特别是遇到ssl错误, pip无法安装包).

最后总结一简易方式:

  1. 安装python3.7 : sudo apt-get install python3.7
  2. 安装pipenv : pip3 install pipenv

构建python3.7虚拟环境

  1. pipenv --python 3.7
  2. pipenv shell //激活虚拟环境
  3. pipenv update --python3.7

posted @ 2019-08-08 22:19  ABeen  阅读(594)  评论(0)    收藏  举报

刷新页面返回顶部