Closed MaximeTuab closed 1 year ago
Hi all, I am trying to install CompressAI on Mac M1, but I get the following error :
Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [4 lines of output] Looking in indexes: https://pypi.python.org/simple/ Collecting setuptools>=42 ERROR: HTTP error 403 while getting https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl (from https://pypi.org/simple/setuptools/) (requires-python:>=3.7) ERROR: Could not install requirement setuptools>=42 from https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl because of HTTP error 403 Client Error: Forbidden for url: https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl?_sm_nck=1 for URL https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl (from https://pypi.org/simple/setuptools/) (requires-python:>=3.7) [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip.
Installing build dependencies ... error error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [4 lines of output] Looking in indexes: https://pypi.python.org/simple/ Collecting setuptools>=42 ERROR: HTTP error 403 while getting https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl (from https://pypi.org/simple/setuptools/) (requires-python:>=3.7) ERROR: Could not install requirement setuptools>=42 from https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl because of HTTP error 403 Client Error: Forbidden for url: https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl?_sm_nck=1 for URL https://files.pythonhosted.org/packages/ef/e3/29d6e1a07e8d90ace4a522d9689d03e833b67b50d1588e693eec15f26251/setuptools-65.6.3-py3-none-any.whl (from https://pypi.org/simple/setuptools/) (requires-python:>=3.7) [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
On a M1 MacBook Pro (2021) pip install compressai
pip install compressai
Any users that did had this kind of issues? Thank a lot for this amazing work!!!
Below packages I was able to install (from pip list)
pip list
Package Version contourpy 1.0.6 cycler 0.11.0 fonttools 4.38.0 kiwisolver 1.4.4 matplotlib 3.6.2 numpy 1.24.1 packaging 22.0 pandas 1.5.2 Pillow 9.4.0 pip 22.3.1 pyparsing 3.0.9 python-dateutil 2.8.2 pytz 2022.7 seaborn 0.12.2 setuptools 65.6.3 six 1.16.0 wheel 0.38.4
Proxy issue, solved with a dedicated certificate. Thank you again!
Bug
Hi all, I am trying to install CompressAI on Mac M1, but I get the following error :
To Reproduce
On a M1 MacBook Pro (2021)
pip install compressai
Any users that did had this kind of issues? Thank a lot for this amazing work!!!
Environment
Below packages I was able to install (from
pip list
)