Hacker News new | past | comments | ask | show | jobs | submit login

Do you know if it's easy to start using pyenv with existing projects, or should I wait until my next de novo project?



It’s pretty easy if you have a set of requirements handy and have `pyenv-virtualenv`:

    $ pyenv virtualenv 3.6 some-name
    $ echo some-name > /path/to/project/.python-version
    $ cd /path/to/project
    $ pip install -r requirements.txt
That’s it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: