N
N
nemoigollos2020-05-14 17:45:15
Python
nemoigollos, 2020-05-14 17:45:15

pyinstaller not installing?

When trying to install, it gives the following error
ERROR: Command errored out with exit status 1:
command: 'd:\python37\python.exe' 'd:\python37\lib\site-packages\pip' install --ignore-installed -- no-user --prefix 'C:\Users\2847~1\AppData\Local\Temp\pip-build-
env-awiiqlk3\overlay' --no-warn-script-location --no-binary :none: - -only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel
cwd: None
Complete output (44 lines):
Traceback (most recent call last):
File "d :\python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "d:\python37\lib\runpy.py", line 85,in _run_code
exec(code, run_globals)
File "d:\python37\lib\site-packages\pip\__main__.py", line 26, in
sys.exit(_main())
File "d:\python37\lib\site-packages\pip\_internal\cli \main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "d:\python37\lib\site-packages\pip\_internal\commands\__init__. py", line 104, in create_command
module = importlib.import_module(module_path)
File "d:\python37\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967,in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "d:\python37\lib\site-packages\pip\_internal\commands\install.py" , line 24, in
from pip._internal.cli.req_command import RequirementCommand, with_cleanup
File "d:\python37\lib\site-packages\pip\_internal\cli\req_command.py", line 16, in
from pip._internal. index.package_finder import PackageFinder
File "d:\python37\lib\site-packages\pip\_internal\index\package_finder.py", line 21, in
from pip._internal.index.collector import parse_links
File "d:\python37\ lib\site-packages\pip\_internal\index\collector.py",line 14, in
from pip._vendor import html5lib, requests
File "d:\python37\lib\site-packages\pip\_vendor\requests\__init__.py", line 114, in
from . import utils
File "d:\python37\lib\site-packages\pip\_vendor\requests\utils.py", line 25, in
from . import certs
File "d:\python37\lib\site-packages\pip\_vendor\requests\certs.py", line 15, in
from pip._vendor.certifi import where
File "d:\python37\lib\site-packages \pip\_vendor\certifi\__init__.py", line 1, in
from .core import contents, where
File "d:\python37\lib\site-packages\pip\_vendor\certifi\core.py", line 12, in
from importlib.resources import read_text
File "d:\python37\lib\importlib\resources.py", line 11, in
from typing import Iterable, Iterator, Optional, Set, Union # noqa: F401
File "d:\python37\lib\site-packages\typing .py", line 1357, in
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "d:\python37\lib\site-packages\typing.py", line 1005, in __new__
self._abc_registry = extra ._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
-------------------------------------------------- -----
ERROR: Command errored out with exit status 1: 'd:\python37\python.exe' 'd:\python37\lib\site-packages\pip' install --i gnore-installed --no- user --prefix 'C:\Users\2
847~1\AppData\Local\Temp\pip-build-env-awiiqlk3\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https:/ /pypi.org/simple -- 'setuptools>
=40.8.0' wheel Check the logs for full command output.
what should he do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitri, 2020-05-16
@dmitriy337

probably install setuptools

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question