ai2cm / fv3config

Manipulate FV3GFS run directories
Apache License 2.0
1 stars 0 forks source link

Add a check that python3 is being used #16

Closed ofuhrer closed 4 years ago

ofuhrer commented 4 years ago

Fails with a strange error message upon make test when python2.7 is the default.

mcgibbon commented 4 years ago

Could not replicate the issue on my system. The package setup file specifies that it requires python 3, so it cannot be installed on python 2.

(py2) Jeremys-MacBook-Pro:external mcgibbon$ pip install -e fv3config
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Obtaining file:///Users/mcgibbon/python/fv3gfs-python/external/fv3config
ERROR: Package 'fv3config' requires a different Python: 2.7.17 not in '>=3.6'