Update README to indicate we only support Python >= 3.6 (fixes #1317)

Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/952

Differential Revision: D19133348

Pulled By: myleott

fbshipit-source-id: 51f96ddb13386143fe0088f19f7cb0674755811f
This commit is contained in:
Myle Ott 2019-12-16 19:46:03 -08:00 committed by Facebook Github Bot
parent 78d86dcc6c
commit 05514f8a82
2 changed files with 3 additions and 4 deletions

View File

@ -71,7 +71,7 @@ and [RoBERTa](https://pytorch.org/hub/pytorch_fairseq_roberta/) for more example
# Requirements and Installation
* [PyTorch](http://pytorch.org/) version >= 1.2.0
* Python version >= 3.5
* Python version >= 3.6
* For training new models, you'll also need an NVIDIA GPU and [NCCL](https://github.com/NVIDIA/nccl)
* **For faster training** install NVIDIA's [apex](https://github.com/NVIDIA/apex) library with the `--cuda_ext` option

View File

@ -9,8 +9,8 @@ from setuptools import setup, find_packages, Extension
import sys
if sys.version_info < (3, 5):
sys.exit('Sorry, Python >=3.5 is required for fairseq.')
if sys.version_info < (3, 6):
sys.exit('Sorry, Python >= 3.6 is required for fairseq.')
with open('README.md') as f:
@ -122,7 +122,6 @@ setup(
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],