Skip to content

Instantly share code, notes, and snippets.

@aminvakil
Created August 15, 2022 11:02
Show Gist options
  • Save aminvakil/98de20fc7b16b7d8e942c8446c5210ef to your computer and use it in GitHub Desktop.
Save aminvakil/98de20fc7b16b7d8e942c8446c5210ef to your computer and use it in GitHub Desktop.
Step 9/10 : RUN pip install --ignore-installed implicit==0.4.8 -v
---> Running in 8ed28a7f9227
Using pip 22.2.2 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)
Collecting implicit==0.4.8
Downloading implicit-0.4.8.tar.gz (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 1.4 MB/s eta 0:00:00
Installing build dependencies: started
Running command pip subprocess to install build dependencies
Collecting setuptools>=40.8.0
Downloading setuptools-65.0.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 1.4 MB/s eta 0:00:00
Collecting wheel
Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools
Successfully installed setuptools-65.0.0 wheel-0.37.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Running command Getting requirements to build wheel
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-_9pio9o2/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 337, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-_9pio9o2/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 319, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-_9pio9o2/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 474, in run_setup
super(_BuildMetaLegacyBackend,
File "/tmp/pip-build-env-_9pio9o2/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 334, in run_setup
exec(code, locals())
File "<string>", line 10, in <module>
File "/tmp/pip-install-uil7rlsk/implicit_d921eed9601c457fbaa43fc4ffadd90c/cuda_setup.py", line 6, in <module>
from distutils import ccompiler, errors, msvccompiler, unixccompiler
ImportError: cannot import name 'msvccompiler' from 'distutils' (/tmp/pip-build-env-_9pio9o2/overlay/lib/python3.8/site-packages/setuptools/_distutils/__init__.py)
error: subprocess-exited-with-error
× Getting requirements to build wheel 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.
full command: /usr/local/bin/python /usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpvhe7pez9
cwd: /tmp/pip-install-uil7rlsk/implicit_d921eed9601c457fbaa43fc4ffadd90c
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel 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.
The command '/bin/sh -c pip install --ignore-installed implicit==0.4.8 -v' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment