Skip to content

Can't install on Python 2.7 / 3.6+ #495

@tysonite

Description

@tysonite

Steps to reproduce:

  1. Create virtual env.:
virtualenv -p python2.7 ~/test_env
  1. Try to install
$ pip install pytype
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pytype
  Using cached pytype-2020.1.8.tar.gz (1.1 MB)
Collecting attrs
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Processing /home/tysonite/.cache/pip/wheels/23/78/a9/42cd33ab2c683e45bdac8e313f311f7ad44f9590d521b3c2ff/importlab-0.5.1-py2.py3-none-any.whl
Collecting ninja
  Using cached ninja-1.9.0.post1.tar.gz (25 kB)
    ERROR: Command errored out with exit status 1:
     command: /home/tysonite/test_env/bin/python2.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nRHVS5/ninja/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nRHVS5/ninja/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-nRHVS5/ninja/pip-egg-info
         cwd: /tmp/pip-install-nRHVS5/ninja/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-nRHVS5/ninja/setup.py", line 7, in <module>
        from skbuild import setup
    ImportError: No module named skbuild
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions