[pip] egg_info failed with error code 1
pip installํ ๋ ๊ฐ๋ ์๊ธฐ๋ ์ค๋ฅ๋ฅผ ํด๊ฒฐํ์
Error
pip install์ ํ๋ฉด ์๋์ ๊ฐ์ ์๋ฌ๊ฐ ์๊ธธ ๋๊ฐ ์๋ค
Collecting osqp
Using cached https://files.pythonhosted.org/packages/b5/1c/cc191ce88cb3f0d1aa6eee99553df0b1cc3659e3c01ca6414c3675add8ad/osqp-0.6.2.post5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-Cj8H3c/osqp/setup.py", line 9, in <module>
from setuptools import setup, find_namespace_packages, Extension
ImportError: cannot import name find_namespace_packages
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Cj8H3c/osqp/
ํด๊ฒฐ๋ฐฉ๋ฒ
๋ฐ์ ๋ช
๋ น์ด๋ก ํด๊ฒฐํด์ฃผ์!
$ sudo -H pip3 install --upgrade --ignore-installed pip setuptools
๋ง์ฝ pip3
์ด ์ค์น๋์ด ์์ง ์๋ค๋ฉด,
$ sudo apt install python3-pip
Leave a comment