'Cannot pip-install earlier version (1.15) of TensorFlow, even in Python 3.6
I am trying to install and use a package called FinRL. This package has a dependency, StableBaselines which uses tensorflow. It says in FinRL documentation that FinRL only works with TensorFlow 1.x , so I need to install earlier versions of tensorflow (in their examples, they use tensorflow==1.15.4 ).
I tried doing it in Python 3.9, but I got the error "No matching distribution found for tensorflow==1.15.4" . After some reading through threads like this one , I downloaded Python 3.6.4 to try again. Once again, when I run "pip install tensorflow=1.15.4" in Python 3.6.4 (I ran "python --version" in command prompt, after navigating to the Python folder to make sure I was using Python 3.6.4 ) .
As the thread suggested, I also made sure I was using an upgraded pip, so I upgraded it. Currently using pip 22.1 . However, I notice that it says "pip 22.1 from C:.......Python3.9... Could this be the issue? I do have both, Python 3.6.4 and Python 3.9 installed on my computer.
Do you have any advice or suggestions for how I can get this package or early TensorFlow installed/working?
Thank you!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|