PyAutoGUI 설치중 에러가 발생했습니다.
콜러블은 abc레지스트리 속성이 없다?!?!
AttributeError: type object 'Callable' has no attribute '_abc_registry'
typing 패키지 삭제
패키지중에 typing이란 패키지가 있으면 설치가 안됩니다.
pip uninstall typing
pyautogui 설치
pip install pyautogui
PyAutoGUI 설치중 에러가 발생했습니다.
콜러블은 abc레지스트리 속성이 없다?!?!
AttributeError: type object 'Callable' has no attribute '_abc_registry'
패키지중에 typing이란 패키지가 있으면 설치가 안됩니다.
pip uninstall typing
pip install pyautogui
인텔리제이에서 파이썬 패키지 설치중 오류가 발생했습니다.
그래서 자세히 보니까 PIP가 업그레이드 되었다고 합니다.
PIP가 업글되는지는 몰랐네요.
C:\Users....................... --upgrade pip 까지 복사
WARNING: You are using pip version 20.1.1; however, version 20.2.4 is available.
You should consider upgrading via the 'C:\Users\qqqqqqqq\AppData\Local\Programs\Python\Python38-32\python.exe -m pip install --upgrade pip' command.
PIP업그레이드 명령어 붙여넣기 > 엔터
파이썬 설치하면 PIP를 쓸수있다길래 해봤는데 안되네요.
윈도우는 잘 모르겠지만 맥은 파이썬을 설치한 후에 PIP는 별도로 설치해야하나봅니다.
터미널에서 실행하면 다음과 같이 pip따위는 없다는 오류가 발생합니다.
kaudo@MacBookPro ~ % pip
zsh: command not found: pip
kaudo@MacBookPro ~ % curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1840k 100 1840k 0 0 2115k 0 --:--:-- --:--:-- --:--:-- 2113k
kaudo@MacBookPro ~ % python3 get-pip.py
Collecting pip
Using cached pip-20.2.2-py2.py3-none-any.whl (1.5 MB)
Collecting wheel
Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Installing collected packages: pip, wheel
Attempting uninstall: pip
Found existing installation: pip 20.1.1
Uninstalling pip-20.1.1:
Successfully uninstalled pip-20.1.1
Successfully installed pip-20.2.2 wheel-0.35.1
kaudo@MacBookPro ~ % pip
Usage:
pip <command> [options]
Commands:
install Install packages.
download Download packages.
uninstall Uninstall packages.
freeze Output installed packages in requirements format.
list List installed packages.
show Show information about installed packages.
check Verify installed packages have compatible dependencies.
config Manage local and global configuration.
search Search PyPI for packages.
cache Inspect and manage pip's wheel cache.
wheel Build wheels from your requirements.
hash Compute hashes of package archives.
completion A helper command used for command completion.
debug Show information useful for debugging.
help Show help for commands.
General Options:
-h, --help Show help.
--isolated Run pip in an isolated mode, ignoring environment variables and user configuration.
-v, --verbose Give more output. Option is additive, and can be used up to 3 times.
-V, --version Show version and exit.
-q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to
WARNING, ERROR, and CRITICAL logging levels).
--log <path> Path to a verbose appending log.
--no-input Disable prompting for input.
--proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.
--retries <retries> Maximum number of retries each connection should attempt (default 5 times).
--timeout <sec> Set the socket timeout (default 15 seconds).
--exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup,
(a)bort.
--trusted-host <hostname> Mark this host or host:port pair as trusted, even though it does not have valid or any
HTTPS.
--cert <path> Path to alternate CA bundle.
--client-cert <path> Path to SSL client certificate, a single file containing the private key and the
certificate in PEM format.
--cache-dir <dir> Store the cache data in <dir>.
--no-cache-dir Disable the cache.
--disable-pip-version-check
Don't periodically check PyPI to determine whether a new version of pip is available for
download. Implied with --no-index.
--no-color Suppress colored output
--no-python-version-warning
Silence deprecation warnings for upcoming unsupported Pythons.
--use-feature <feature> Enable new functionality, that may be backward incompatible.
--use-deprecated <feature> Enable deprecated functionality, that will be removed in the future.
파이썬으로 pip를 설치하고 실행한 스크린샷 입니다.
|
| |||||||
댓글을 달아 주세요