openai / generating-reviews-discovering-sentiment

Code for "Learning to Generate Reviews and Discovering Sentiment"
https://arxiv.org/abs/1704.01444
MIT License
1.51k stars 379 forks source link

Specify Python version and requirements.txt #15

Closed gohanlon closed 8 months ago

gohanlon commented 7 years ago

Using pip install -r requirements.txt with the included requirements was enough for me to run python encoder.py in a clean Python 3.6.1 install.

Note that I also specified the Python version in a .python-version file, which works with the pyenv Python version manager (and possibly other tools, too). I'd be happy to hear about a more idiomatic way to specify the version of Python the project supports.