Could instaill FinRL on mac #1268
Unanswered
laurenceyu2020
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi:
I tried to install FinRL on mac (m1 chip), but get the following error:
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
/private/var/folders/f1/b6_91_xx5lschx296g8424r80000gn/T/pip-install-21g8439o/pyfolio_563d3658d85244308e2ad7d3459c6fd7/versioneer.py:468: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/f1/b6_91_xx5lschx296g8424r80000gn/T/pip-install-21g8439o/pyfolio_563d3658d85244308e2ad7d3459c6fd7/setup.py", line 71, in
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/f1/b6_91_xx5lschx296g8424r80000gn/T/pip-install-21g8439o/pyfolio_563d3658d85244308e2ad7d3459c6fd7/versioneer.py", line 1407, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/private/var/folders/f1/b6_91_xx5lschx296g8424r80000gn/T/pip-install-21g8439o/pyfolio_563d3658d85244308e2ad7d3459c6fd7/versioneer.py", line 1341, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/f1/b6_91_xx5lschx296g8424r80000gn/T/pip-install-21g8439o/pyfolio_563d3658d85244308e2ad7d3459c6fd7/versioneer.py", line 399, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
my python version is:
Python 3.12.4
and python is from
/opt/anaconda3/bin/python
Please help me to figure out how to resolve the issue.
thanks!
Beta Was this translation helpful? Give feedback.
All reactions