Open FabioMD1972 opened 9 months ago
I try to go on with:
pip install Cython==0.29.36
pip install scikit-learn==1.0 --no-build-isolationc
But now I got issue with cvxpy:
pip install git+https://github.com/AI4Finance-Foundation/FinRL.git
Error
... Collecting cvxpy<1.1,>=1.0 Using cached cvxpy-1.0.31.tar.gz (947 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
\u00d7 Preparing metadata (pyproject.toml) did not run successfully. \u2502 exit code: 1 \u2570\u2500> [1 lines of output] error in cvxpy setup command: use_2to3 is invalid.
I'm not sure about the error but
it might be fixed with
apt-get install g++
actually I have received some errors (did not recall ) but I have fixed those error to install g++ . It install C++ in ubuntu.
Describe the bug Error during installation. Already looked at this issue.
To Reproduce Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy Linux ubuntuonmac 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:29:11 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
conda create --name env_frl_py3_10 python==3.10
conda activate env_frl_py3_10
pip install git+https://github.com/AI4Finance-Foundation/FinRL.git
Error ...dropped, too long... Cython.Compiler.Errors.CompileError: sklearn/svm/_liblinear.pyx
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
\u00d7 Encountered error while generating package metadata. \u2570\u2500> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.