AI4Finance-Foundation / AI4Finance-Foundation/FinRL

Having errors on MacOS (M1)

Ouverte
#1,021 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Jupyter Notebook
Étoiles
16.3k
Forks
3.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Describe the bug**
I am getting the following error when I run the command "pip install git+https://github.com/AI4Finance-Foundation/FinRL.git". Same error when running pip install wrds
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-conversion: YES
Compiler for C supports arguments -Wno-misleading-indentation: YES
Compiler for C supports arguments -Wno-incompatible-pointer-types: YES
Library m found: YES
Fortran compiler for the host machine: gfortran (gcc 13.1.0 "GNU Fortran (Homebrew GCC 13.1.0) 13.1.0")
Fortran linker for the host machine: gfortran ld64 530
Compiler for Fortran supports arguments -Wno-conversion: YES
Checking if "-Wl,--version-script" : links: NO
Program cython found: YES (/private/var/folders/68/3t3f3mbn4td0txm381m5gx_w0000gn/T/pip-build-env-o52h4sur/overlay/bin/cython)
Program python found: YES (/Users/ms68598/anaconda3/bin/python)
Found pkg-config: /opt/homebrew/bin/pkg-config (0.29.2)
Program pythran found: YES (/private/var/folders/68/3t3f3mbn4td0txm381m5gx_w0000gn/T/pip-build-env-o52h4sur/overlay/bin/pythran)
Run-time dependency threads found: YES
Library npymath found: YES
Library npyrandom found: YES
Found CMake: /opt/homebrew/bin/cmake (3.26.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake)
Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake)

../../scipy/meson.build:134:7: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig, framework and cmake

A full log can be found at /private/var/folders/68/3t3f3mbn4td0txm381m5gx_w0000gn/T/pip-install-fzt4yrwk/scipy_fa25c40e0e434b4c98e1d9899117fbcf/.mesonpy-a05i435e/build/meson-logs/meson-log.txt
+ meson setup --prefix=/Users/ms68598/anaconda3 /private/var/folders/68/3t3f3mbn4td0txm381m5gx_w0000gn/T/pip-install-fzt4yrwk/scipy_fa25c40e0e434b4c98e1d9899117fbcf /private/var/folders/68/3t3f3mbn4td0txm381m5gx_w0000gn/T/pip-install-fzt4yrwk/scipy_fa25c40e0e434b4c98e1d9899117fbcf/.mesonpy-a05i435e/build --native-file=/private/var/folders/68/3t3f3mbn4td0txm381m5gx_w0000gn/T/pip-install-fzt4yrwk/scipy_fa25c40e0e434b4c98e1d9899117fbcf/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

**To Reproduce**
Steps to reproduce the behavior:
1. Follow the steps for MacOS install on https://github.com/AI4Finance-Foundation/FinRL/blob/master/docs/source/start/installation.rst

**Expected behavior**
I should be able to run the command successfully after following the instructions for MacOS installation

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: MacOS (M1) or MacOS BigSur
- Browser : Chrome
- Version : 113.0.5672.126 (Official Build) (arm64)

**Smartphone (please complete the following information):**
N/A

**Additional context**
I installed all of the dependencies carefully in my anaconda environment, but it is consistently failing at this step due to a missing dependency. I am not able to tell what that is.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.