Hello. I have been trying to install some packages like pyautogui, pyinstaller, pygame but I have the same error. I have uploaded many packages before and now I couldn't find the solution. Could you please help me figure out ?
pip install pyautogui
ERROR: Command errored out with exit status 1:
command: 'c:\python\python.exe' 'c:\python\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Recep\AppData\Local\Temp\pip-build-env-l5ikgkv0\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 "c:\python\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "c:\python\lib\site-packages\pip\__main__.py", line 26, in <module>
sys.exit(_main())
File "c:\python\lib\site-packages\pip\_internal\cli\main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "c:\python\lib\site-packages\pip\_internal\commands\__init__.py", line 104, in create_command
module = importlib.import_module(module_path)
File "c:\python\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "c:\python\lib\site-packages\pip\_internal\commands\install.py", line 24, in <module>
from pip._internal.cli.req_command import RequirementCommand, with_cleanup
File "c:\python\lib\site-packages\pip\_internal\cli\req_command.py", line 16, in <module>
from pip._internal.index.package_finder import PackageFinder
File "c:\python\lib\site-packages\pip\_internal\index\package_finder.py", line 21, in <module>
from pip._internal.index.collector import parse_links
File "c:\python\lib\site-packages\pip\_internal\index\collector.py", line 14, in <module>
from pip._vendor import html5lib, requests
File "c:\python\lib\site-packages\pip\_vendor\requests\__init__.py", line 114, in <module>
from . import utils
File "c:\python\lib\site-packages\pip\_vendor\requests\utils.py", line 25, in <module>
from . import certs
File "c:\python\lib\site-packages\pip\_vendor\requests\certs.py", line 15, in <module>
from pip._vendor.certifi import where
File "c:\python\lib\site-packages\pip\_vendor\certifi\__init__.py", line 1, in <module>
from .core import contents, where
File "c:\python\lib\site-packages\pip\_vendor\certifi\core.py", line 12, in <module>
from importlib.resources import read_text
File "c:\python\lib\importlib\resources.py", line 11, in <module>
from typing import Iterable, Iterator, Optional, Set, Union # noqa: F401
File "c:\python\lib\site-packages\typing.py", line 1359, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "c:\python\lib\site-packages\typing.py", line 1007, 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: 'c:\python\python.exe' 'c:\python\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Recep\AppData\Local\Temp\pip-build-env-l5ikgkv0\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.
Hi, this seems to be duplicate of GH-8272.
Is there any solution. I am having the same problem in mac
I had the same problem with installing Pygame on Windows with Python 3.9.
The solution was to install an older version of python (with an older version of pip), where I know it would work.
py -3.8 -m pip install pygame
With py -3.8
you choose the version you want to use.
I had same problem when installing scikit-learn on PyCharm (2020.2.3) virtualenv with Python 3.9. I think v3.9 has some package installing problems. I solved this problem with removing v3.9 and installing v3.8.6.
I had same problem with installing matplotlib😶(windows 10, python 3.9.0)
I had same problem with installing matplotlib😶(windows 10, python 3.9.0)
For this try pip install -U setuptools pip install -U wheel, works for me. but know i have the same problem whit Sklearn. jajaj
I had same problem with installing matplotlib😶(windows 10, python 3.9.0)
How can you solve it? I have same your problem :(
Same problem man, what do I do? Do I install an older version of Python instead of the current 3.9 version? If so, are we sure that it's gonna work, and it'll not affect mysql database connections right?
I already solvet, let me search the solution again, I remember it was an
issue whit the wheels tools
El vie., 13 nov. 2020 14:50, Sukanyaaaaa notifications@github.com
escribió:
Same problem man, what do I do? Do I install an older version of Python
instead of the current 3.9 version? If so, are we sure that it's gonna
work, and it'll not affect mysql database connections right?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pypa/pip/issues/8618#issuecomment-726915688, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMZYPM72SPPHEM4QPVOXCYTSPVWXZANCNFSM4PGBPG6Q
.
I already solvet, let me search the solution again, I remember it was an issue whit the wheels tools El vie., 13 nov. 2020 14:50, Sukanyaaaaa notifications@github.com escribió:
…
Same problem man, what do I do? Do I install an older version of Python instead of the current 3.9 version? If so, are we sure that it's gonna work, and it'll not affect mysql database connections right? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#8618 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMZYPM72SPPHEM4QPVOXCYTSPVWXZANCNFSM4PGBPG6Q .
Did you find it? If so, pls do lemme know soon!
Command errored out with exit status 1:
I'm facing this type of problem in installing "sklearn" in python 3.9v.
Does anyone has a solution????
If the project doesn't (yet) distribute binaries, and you can't build from source yourself, then you'll need to either wait for the project to get round to adding Python 3.9 binaries, or go back to Python 3.8 until the projects you rely on have updated.
Try this:
Rollback pip to an older version:
python -m pip install pip==18.1
Install desired module:
pip install pyautogui
Update pip:
python -m pip install --upgrade pip
pip3 install --upgrade setuptools
pip3 install --upgrade pip
Most helpful comment
I had the same problem with installing Pygame on Windows with Python 3.9.
The solution was to install an older version of python (with an older version of pip), where I know it would work.
py -3.8 -m pip install pygame
With
py -3.8
you choose the version you want to use.