Skip to content

Installation Error #8

@dBerkeTurkmen

Description

@dBerkeTurkmen
Collecting black==18.6b4
  Using cached black-18.6b4-py36-none-any.whl (81 kB)
Collecting flake8==3.5.0
  Using cached flake8-3.5.0-py2.py3-none-any.whl (69 kB)
Collecting pyflakes==1.6.0
  Using cached pyflakes-1.6.0-py2.py3-none-any.whl (227 kB)
Collecting isort==4.3.4
  Using cached isort-4.3.4-py3-none-any.whl (45 kB)
Collecting mypy==0.620
  Using cached mypy-0.620-py3-none-any.whl (1.4 MB)
Collecting pylint==2.1.1
  Using cached pylint-2.1.1-py3-none-any.whl (737 kB)
Collecting click>=6.5
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting attrs>=17.4.0
  Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting toml>=0.9.4
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting pycodestyle<2.4.0,>=2.0.0
  Using cached pycodestyle-2.3.1-py2.py3-none-any.whl (45 kB)
Collecting mccabe<0.7.0,>=0.6.0
  Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting typed-ast<1.2.0,>=1.1.0
  Using cached typed-ast-1.1.2.tar.gz (202 kB)
  Preparing metadata (setup.py) ... done
Collecting astroid>=2.0.0
  Using cached astroid-2.12.13-py3-none-any.whl (264 kB)
Collecting colorama
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting lazy-object-proxy>=1.4.0
  Using cached lazy_object_proxy-1.8.0-cp311-cp311-win_amd64.whl (22 kB)
Collecting wrapt<2,>=1.14
  Using cached wrapt-1.14.1-cp311-cp311-win_amd64.whl
Installing collected packages: typed-ast, pyflakes, pycodestyle, mccabe, appdirs, wrapt, toml, mypy, lazy-object-proxy, isort, flake8, colorama, attrs, click, astroid, pylint, black
  DEPRECATION: typed-ast is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for typed-ast ... error
  error: subprocess-exited-with-error

  × Running setup.py install for typed-ast did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      running install
      C:\Users\dBerk\My Drive\Dev\Python\Clean-Code-in-Python\venv\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\typed_ast
      copying typed_ast\ast27.py -> build\lib.win-amd64-cpython-311\typed_ast
      copying typed_ast\ast3.py -> build\lib.win-amd64-cpython-311\typed_ast
      copying typed_ast\conversions.py -> build\lib.win-amd64-cpython-311\typed_ast
      copying typed_ast\__init__.py -> build\lib.win-amd64-cpython-311\typed_ast
      running build_ext
      building '_ast27' extension
      creating build\temp.win-amd64-cpython-311
      creating build\temp.win-amd64-cpython-311\Release
      creating build\temp.win-amd64-cpython-311\Release\ast27
      creating build\temp.win-amd64-cpython-311\Release\ast27\Custom
      creating build\temp.win-amd64-cpython-311\Release\ast27\Parser
      creating build\temp.win-amd64-cpython-311\Release\ast27\Python
      "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iast27/Include "-IC:\Users\dBerk\My Drive\Dev\Python\Clean-Code-in-Python\venv\include" "-IC:\Program Files\Python311\include" "-IC:\Program Files\Python311\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" /Tcast27/Custom/typed_ast.c /Fobuild\temp.win-amd64-cpython-311\Release\ast27/Custom/typed_ast.obj
      typed_ast.c
      c:\program files\python311\include\pyconfig.h(207): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> typed-ast

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions