推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
miniyao
V2EX  ›  Python

virtualenv 中的 Python 版本低了,可以直接升级 Python 版本吗?

  •  
  •   miniyao · Apr 23, 2020 via Android · 4248 views
    This topic created in 2355 days ago, the information mentioned may be changed or developed.
    virtualenv 中用了 Python3.3 的版本,现在更新某个库的功能,需要 python3.6 起步。

    有什么方式,可以直接升级 virtualenv 内的 Python 版本 3.3 -> 3.6 吗?
    3 replies  •  2020-04-25 21:43:40 +08:00
    EricCartmann
        1
    EricCartmann  
       Apr 23, 2020 via iPhone
    新建个虚拟环境 5 分钟搞定
    Qzier
        2
    Qzier  
       Apr 23, 2020 via iPhone
    不能,python 升级,必须重新安装所有相关的包,不然可能出现不兼容的问题。
    wlzd0627
        3
    wlzd0627  
       Apr 25, 2020 via Android
    用 miniconda 可以解决你说的这个问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   929 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:37 · PVG 07:37 · LAX 16:37 · JFK 19:37
    ♥ Do have faith in what you're doing.