Closed imjay20 closed 1 year ago
Same, need to use this in class tomorrow.
I ran the installation command on Google colab, and I was able to successfully install it. It comes with default python 3.8.15. Can you say where the installation is failing?Like for which package?
In colab you can do the following.
!sudo apt-get install python3.7
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1
!sudo update-alternatives --config python3
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/python3.8 2 auto mode
1 /usr/bin/python3.6 1 manual mode
2 /usr/bin/python3.7 1 manual mode
3 /usr/bin/python3.8 2 manual mode
!curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
!python3 get-pip.py --force-reinstall
!python --version
!pip --version
Python 3.7.15
pip 22.3.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
Hope it helps.
I was trying to run the StockFundament tutorial version, same issue with Colab on Python v 3.8.15. Tried the advice from Nilllas, Python version on 3.7.15 and pip 22.3.1, but still have the same issue when running the !pip install git+ cell. After i ran in colab the pip show finrl command, and the output is Package not found: finrl
I fixed this bug. You need to do two things. 1: change file https://github.com/AI4Finance-Foundation/FinRL/blob/master/pyproject.toml Change line 27 to be python = ">=3.7” 2: install package In colab, run: !apt install swig
@Phantom-eva's solution fixed it for me. Thanks!
@Phantom-eva's solution fixed it for me also. Thanks a lot !
I fixed this bug. You need to do two things. 1: change file https://github.com/AI4Finance-Foundation/FinRL/blob/master/pyproject.toml Change line 27 to be python = ">=3.7” 2: install package In colab, run: !apt install swig
thanks!!!
Describe the bug
Attempted to install fin-ril in Google Colab Tutorial Notebooks as well as Linux WSL, but it gives the error >> ERROR: Package 'finrl' requires a different Python: 3.8.10 not in '<3.8,>=3.7'.
The same code was functional 2-3 days ago when I previously ran.
To Reproduce Steps to reproduce the behavior:
Expected behavior Successful installation