TeamXenonDuke / xenon-gas-exchange-consortium

0 stars 0 forks source link

Python version #62

Open Rosenberg78 opened 1 month ago

Rosenberg78 commented 1 month ago

Hi, Trying to install the Xenon gas exchange package. I set up the virtual environment with python 3.8.8 as instructed but when installing the package it complains on the python version needs to be 3.9. Re did the virtual environment with python 3.9. Got less errors during the install but still errors in regards to the python version.

_ERROR: Ignored the following versions that require a different python version: 0.23.0 Requires-Python >=3.10; 0.23.0rc0 Requires-Python >=3.10; 0.23.0rc2 Requires-Python >=3.10; 0.23.1 Requires-Python >=3.10; 0.23.2 Requires-Python >=3.10; 0.23.2rc1 Requires-Python >=3.10; 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9; 1.14.0 Requires-Python >=3.10; 1.14.0rc1 Requires-Python >=3.10; 1.14.0rc2 Requires-Python >=3.10; 2.5.2 Requires-Python !=3.0.,!=3.1.,!=3.2.,!=3.3.,<3.9dev,>=2.7 ERROR: Could not find a version that satisfies the requirement tensorflow_macos==2.10.0 (from versions: none) ERROR: No matching distribution found for tensorflowmacos==2.10.0

Any ideas? Thanks much Jens

davidmummy commented 1 month ago

Hi Jens -- I actually just went through this process yesterday doing a re-install so it's fresh in my head. I'm pretty sure it does need to be Python 3.88 due to some package dependencies. Can you let us know what errors you got exactly when you tried to do it using a conda environment with 3.88?

Rosenberg78 commented 1 month ago

Thanks for the quick reply. Is it 3.88 or 3.8.8? Maybe doesn't matter

davidmummy commented 1 month ago

Oops! Typo on my part. 3.8.8 is correct.

Rosenberg78 commented 1 month ago

This is the long list of Error I get with python 3.8.8:

ERROR: Ignored the following versions that require a different python version: 0.22.0 Requires-Python >=3.9; 0.22.0rc1 Requires-Python >=3.9; 0.23.0 Requires-Python >=3.10; 0.23.0rc0 Requires-Python >=3.10; 0.23.0rc2 Requires-Python >=3.10; 0.23.1 Requires-Python >=3.10; 0.23.2 Requires-Python >=3.10; 0.23.2rc1 Requires-Python >=3.10; 0.24.0 Requires-Python >=3.9; 0.24.0rc1 Requires-Python >=3.9; 0.59.0 Requires-Python >=3.9; 0.59.0rc1 Requires-Python >=3.9; 0.59.1 Requires-Python >=3.9; 0.6.0 Requires-Python >=3.9; 0.60.0 Requires-Python >=3.9; 0.60.0rc1 Requires-Python >=3.9; 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.11.3 Requires-Python <3.13,>=3.9; 1.11.4 Requires-Python >=3.9; 1.12.0 Requires-Python >=3.9; 1.12.0rc1 Requires-Python >=3.9; 1.12.0rc2 Requires-Python >=3.9; 1.13.0 Requires-Python >=3.9; 1.13.0rc1 Requires-Python >=3.9; 1.13.1 Requires-Python >=3.9; 1.14.0 Requires-Python >=3.10; 1.14.0rc1 Requires-Python >=3.10; 1.14.0rc2 Requires-Python >=3.10; 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 1.26.0rc1 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 1.26.4 Requires-Python >=3.9; 2.0.0 Requires-Python >=3.9; 2.0.0b1 Requires-Python >=3.9; 2.0.0rc1 Requires-Python >=3.9; 2.0.0rc2 Requires-Python >=3.9; 2.0.1 Requires-Python >=3.9; 2.1.0 Requires-Python >=3.9; 2.1.0rc0 Requires-Python >=3.9; 2.1.1 Requires-Python >=3.9; 2.1.2 Requires-Python >=3.9; 2.1.3 Requires-Python >=3.9; 2.1.4 Requires-Python >=3.9; 2.2.0 Requires-Python >=3.9; 2.2.0rc0 Requires-Python >=3.9; 2.2.1 Requires-Python >=3.9; 2.2.2 Requires-Python >=3.9; 3.8.0 Requires-Python >=3.9; 3.8.0rc1 Requires-Python >=3.9; 3.8.1 Requires-Python >=3.9; 3.8.2 Requires-Python >=3.9; 3.8.3 Requires-Python >=3.9; 3.8.4 Requires-Python >=3.9; 3.9.0 Requires-Python >=3.9; 3.9.0rc2 Requires-Python >=3.9; 3.9.1 Requires-Python >=3.9; 3.9.1.post1 Requires-Python >=3.9 ERROR: Could not find a version that satisfies the requirement tensorflow_macos==2.10.0 (from versions: none) ERROR: No matching distribution found for tensorflow_macos==2.10.0

davidmummy commented 1 month ago

Yikes. And just to confirm, you're (a) trying to run the code within the (XeGas) conda environment, and (b) when you did the pip install -r setup/requirements.txt, you also did that within the (XeGas) conda environment?

The requirements.txt file lists specific versions for all the packages, which were purposely selected to be compatible with python 3.8.8, so it seems like something may have gone off-track in that process.

Rosenberg78 commented 1 month ago

Yes to a and b.

I installed the ventilation package with out problem. Waiting on the .h5 models from the google link though. Not sure who will approve that.