推荐学习书目
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
aznfy
V2EX  ›  Python

请问怎样用 pyenv+virtualenv 将虚拟环境创建到工程项目目录下而不是默认的.pyenv/versions/目录下

  •  
  •   aznfy · Mar 3, 2017 · 3861 views
    This topic created in 3357 days ago, the information mentioned may be changed or developed.
    5 replies    2017-03-07 22:54:35 +08:00
    billyzs
        1
    billyzs  
       Mar 3, 2017
    $ pip install virtualenvwrapper
    $ export WORKON_HOME=~/.envs
    $ mkvirtualenv my_env
    menduo
        2
    menduo  
       Mar 7, 2017
    $ pyenv shell 3.5.0 && pip install virtualenv && virtualenv venv && source venv/bin/activate
    aznfy
        3
    aznfy  
    OP
       Mar 7, 2017
    @menduo 这也没法建到工程目录下面吧。。。
    aznfy
        4
    aznfy  
    OP
       Mar 7, 2017
    @menduo 不好意思!之前试错了!确实可以!感谢!🙏
    menduo
        5
    menduo  
       Mar 7, 2017
    @aznfy YOU ARE VERY WELCOME!!! 😀😀😀
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2708 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 15:53 · PVG 23:53 · LAX 08:53 · JFK 11:53
    ♥ Do have faith in what you're doing.