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/

01

ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

๋ฐ‘์˜ ๋ช…๋ น์–ด๋กœ ํ•ด๊ฒฐํ•ด์ฃผ์ž!

$ sudo -H pip3 install --upgrade --ignore-installed pip setuptools

๋งŒ์•ฝ pip3์ด ์„ค์น˜๋˜์–ด ์žˆ์ง€ ์•Š๋‹ค๋ฉด,

$ sudo apt install python3-pip

Reference

Leave a comment