Anyone understand why I am getting the following error, and could they offer a solution?
Collecting theano
Using cached Theano-1.0.5.tar.gz (2.8 MB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
/private/var/folders/9w/k3ll4w0129b8b_0gnnpc6kd40000gn/T/pip-install-ab2g75ec/theano_6dd73987e6e34798afd8fcc024909f88/versioneer.py:421: 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/9w/k3ll4w0129b8b_0gnnpc6kd40000gn/T/pip-install-ab2g75ec/theano_6dd73987e6e34798afd8fcc024909f88/setup.py”, line 74, in
version_data = versioneer.get_versions()
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/private/var/folders/9w/k3ll4w0129b8b_0gnnpc6kd40000gn/T/pip-install-ab2g75ec/theano_6dd73987e6e34798afd8fcc024909f88/versioneer.py”, line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/private/var/folders/9w/k3ll4w0129b8b_0gnnpc6kd40000gn/T/pip-install-ab2g75ec/theano_6dd73987e6e34798afd8fcc024909f88/versioneer.py”, line 342, 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
× 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.
I would like a fix.
Michael Miles is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.