Skip to content

Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1exfozdt/googleapis-common-protos/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-t49u9h1c-record/install-record.txt --single-version-externally-managed --compile" failed #28

@arshbot

Description

@arshbot

Attempting to install lnt with pip3 on pop_os seems to fail. Logging here for tracking

sudo pip3 install lnt                                                                                                                                                                                                                                                                                                                                                           
[sudo] password for harshagoli:
The directory '/home/harshagoli/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.                                                                                                                               
The directory '/home/harshagoli/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.                                                                                                                                      
Collecting lnt
  Downloading https://files.pythonhosted.org/packages/2b/05/995ee63c37bbed8f0d14b685edd773082920b62dd2320fec0a7966c3700d/lnt-0.3.0.tar.gz (52kB)                                                                                                                                                                                                                                            
    100% |████████████████████████████████| 61kB 487kB/s                                                                                                                                                                                                                                                                                                                                    
Collecting click (from lnt)
  Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)                                                                                                                                                                                                                              
    100% |████████████████████████████████| 81kB 1.2MB/s
Collecting grpcio-tools (from lnt)                                                                                                                                                                                                                                                                                                                                                          
  Downloading https://files.pythonhosted.org/packages/bb/3c/9730ea55256db9d8f0ae783265553315e4652e0b50b27cc26b5d3741a20b/grpcio_tools-1.25.0-cp36-cp36m-manylinux1_x86_64.whl (2.3MB)
    100% |████████████████████████████████| 2.3MB 831kB/s                                                                                                                                                                                                                                                                                                                                   
Collecting grpcio (from lnt)
  Downloading https://files.pythonhosted.org/packages/06/bd/acb44d9a4152835200f5f28c14c901d540cf43be4c7d8a5d3ed613677b1e/grpcio-1.25.0-cp36-cp36m-manylinux1_x86_64.whl (2.5MB)
    100% |████████████████████████████████| 2.5MB 655kB/s
Collecting PyInquirer (from lnt)                                                                                                                                                                                                                                                                                                                                                            
  Downloading https://files.pythonhosted.org/packages/fb/4c/434b7c454010a284b49d6f1d446fe8dc5960415613d8c0225b9e2efb6724/PyInquirer-1.0.3.tar.gz                                                                                                                                                                                                                                            
Collecting googleapis-common-protos (from lnt)
  Downloading https://files.pythonhosted.org/packages/eb/ee/e59e74ecac678a14d6abefb9054f0bbcb318a6452a30df3776f133886d7d/googleapis-common-protos-1.6.0.tar.gz                                                                                                                                                                                                                              
Collecting requests (from lnt)                                                                                                                                                                                                                                                                                                                                                              
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 3.6MB/s                                                                                                                                                                                                                                                                                                                                    
Collecting protobuf>=3.5.0.post1 (from grpcio-tools->lnt)                                                                                                                                                                                                                                                                                                                                   
  Downloading https://files.pythonhosted.org/packages/a8/52/d8d2dbff74b8bf517c42db8d44c3f9ef6555e6f5d6caddfa3f207b9143df/protobuf-3.10.0-cp36-cp36m-manylinux1_x86_64.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 851kB/s                                                                                                                                                                                                                                                                                                                                   
Collecting six>=1.5.2 (from grpcio->lnt)
  Downloading https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
Collecting prompt_toolkit==1.0.14 (from PyInquirer->lnt)                                                                                                                                                                                                                                                                                                                                    
  Downloading https://files.pythonhosted.org/packages/ee/3d/b25d35a9f0d381dd1c02d8e04b37c353caaaff4bc32150328eeebe4931f5/prompt_toolkit-1.0.14-py3-none-any.whl (248kB)
    100% |████████████████████████████████| 256kB 1.0MB/s                                                                                                                                                                                                                                                                                                                                   
Collecting Pygments>=2.2.0 (from PyInquirer->lnt)
  Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB)                                                                                                                                                                                                                        
    100% |████████████████████████████████| 890kB 985kB/s                                                                                                                                                                                                                                                                                                                                   
Collecting regex>=2016.11.21 (from PyInquirer->lnt)
  Downloading https://files.pythonhosted.org/packages/e3/8e/cbf2295643d7265e7883326fb4654e643bfc93b3a8a8274d8010a39d8804/regex-2019.11.1-cp36-cp36m-manylinux1_x86_64.whl (643kB)                                                                                                                                                                                                           
    100% |████████████████████████████████| 645kB 943kB/s
Collecting certifi>=2017.4.17 (from requests->lnt)                                                                                                                                                                                                                                                                                                                                          
  Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
    100% |████████████████████████████████| 163kB 1.6MB/s                                                                                                                                                                                                                                                                                                                                   
Collecting idna<2.9,>=2.5 (from requests->lnt)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)                                                                                                                                                                                                                               
    100% |████████████████████████████████| 61kB 11.3MB/s                                                                                                                                                                                                                                                                                                                                   
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->lnt)                                                                                                                                                                                                                                                                                                                     
  Downloading https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl (125kB)
    100% |████████████████████████████████| 133kB 13.0MB/s                                                                                                                                                                                                                                                                                                                                  
Collecting chardet<3.1.0,>=3.0.2 (from requests->lnt)                                                                                                                                                                                                                                                                                                                                       
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 1.5MB/s
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from protobuf>=3.5.0.post1->grpcio-tools->lnt)                                                                                                                                                                                                                                                         
Collecting wcwidth (from prompt_toolkit==1.0.14->PyInquirer->lnt)
  Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Installing collected packages: click, six, grpcio, protobuf, grpcio-tools, wcwidth, prompt-toolkit, Pygments, regex, PyInquirer, googleapis-common-protos, certifi, idna, urllib3, chardet, requests, lnt
  Running setup.py install for PyInquirer ... done
  Running setup.py install for googleapis-common-protos ... error
    Complete output from command /usr/local/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1exfozdt/googleapis-common-protos/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-t49u9h1c-record/install-record.txt --single-version-externally-managed --compile:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 10, in <module>
        from setuptools.extern.six.moves import filter, filterfalse, map
      File "/usr/local/lib/python3.6/site-packages/setuptools/extern/__init__.py", line 1, in <module>
        from pkg_resources.extern import VendorImporter
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3017, in <module>
        @_call_aside
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
        f(*args, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3045, in _initialize_master_working_set
        dist.activate(replace=False)
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2577, in activate
        declare_namespace(pkg)
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2151, in declare_namespace
        _handle_ns(packageName, path_item)
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2091, in _handle_ns
        _rebuild_mod_path(path, packageName, module)
      File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2120, in _rebuild_mod_path
        orig_path.sort(key=position_in_sys_path)
    AttributeError: '_NamespacePath' object has no attribute 'sort'

    ----------------------------------------
Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1exfozdt/googleapis-common-protos/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-t49u9h1c-record/install-record.txt --single-version-externally-managed --compile" failed
 with error code 1 in /tmp/pip-build-1exfozdt/googleapis-common-protos/
You are using pip version 9.0.1, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions