argonne-lcf / TensorFlowFoam

Integrating the TensorFlow 1.15 C-API into OpenFOAM 5.0 for data-driven CFD algorithm development
MIT License
200 stars 72 forks source link

Pip install requirements error #13

Closed rohitvuppala closed 4 years ago

rohitvuppala commented 4 years ago

I've created a new conda environment on Ubuntu 18.04.5 LTS and tried to the use the command:

pip install -r requirements.txt

I get the following error: ERROR: Could not find a version that satisfies the requirement ipykernel==5.2.1 (from -r requirements.txt (line 18)) (from versions: 4.0.1, 4.0.2, 4.0.3, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.2.2, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.5.0, 4.5.1, 4.5.2, 4.6.0, 4.6.1, 4.7.0, 4.8.0, 4.8.1, 4.8.2, 4.9.0, 4.10.0, 4.10.1) ERROR: No matching distribution found for ipykernel==5.2.1 (from -r requirements.txt (line 18)) I'm not sure what I'm missing.

pip --version gives: pip 20.1.1 from /locationtoanaconda/anaconda/lib/python3.8/site-packages/pip (python 3.8)

Romit-Maulik commented 4 years ago

Hello. Thanks for trying out our package. This may be a python version issue I think. All these codes were tested with Python 3.6.9. Can you try that?

rohitvuppala commented 4 years ago

Yes, that seems to fix the issue while installing the requirements.txt. Could you please add this to the instructions?, I feel it would be helpful

Romit-Maulik commented 4 years ago

Thanks. Added.