我无法在ubuntu18上使用pip安装python软件包

时间:2020-03-11 06:05:02

标签: python pip ubuntu-18.04

我为此pip install pyScss安装了一个python软件包 但我收到此错误:

默认用户安装,因为普通的站点包不可写 收集pyScss

Using cached pyScss-1.3.5.tar.gz (123 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-oa7i3j7x/pyScss/setup.py'"'"'; __file__='"'"'/tmp/pip-install-oa7i3j7x/pyScss/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-oa7i3j7x/pyScss/pip-egg-info
         cwd: /tmp/pip-install-oa7i3j7x/pyScss/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-oa7i3j7x/pyScss/setup.py", line 9, in <module>
        from setuptools import setup, Extension, Feature
    ImportError: cannot import name 'Feature'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ubuntu:18 的Python:3.6 请帮助我

0 个答案:

没有答案