ampps를 통해 Python 3.5.1을 설치했는데 작동 중입니다. 그러나 pip를 사용하려고하면 다음 메시지가 표시됩니다.
Fatal error in launcher: Unable to create process using '"'
공백을 포함하지 않는 경로에 이미 앰프를 다시 설치했습니다. "python -m pip"해결 방법은 사용할 때마다 다음 메시지를 받기 때문에 저에게도 작동하지 않습니다.
C:\Users\MyUserName\Desktop\Ampps\python\python.exe: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'queue'); 'pip' is a package and cannot be directly executed
pip가 제대로 작동하도록하려면 어떻게해야합니까? 앞의 python 명령없이 pip 명령 자체를 사용하는 방법이 있기를 바랍니다.
편집 : 실행하려고하면 다음 python -c "import pip.__main__"
과 같은 일이 발생합니다 .
Traceback (most recent call last):
File "C:\Users\MyUserName\Desktop\Ampps\python\lib\site-packages\pip\compat\__init__.py", line 11, in <module>
from logging.config import dictConfig as logging_dictConfig
File "C:\Users\MyUserName\Desktop\Ampps\python\lib\logging\config.py", line 30, in <module>
import logging.handlers
File "C:\Users\MyUserName\Desktop\Ampps\python\lib\logging\handlers.py", line 28, in <module>
import queue
ImportError: No module named 'queue'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\MyUserName\Desktop\Ampps\python\lib\site-packages\pip\__init__.py", line 13, in <module>
from pip.utils import get_installed_distributions, get_prog
File "C:\Users\MyUserName\Desktop\Ampps\python\lib\site-packages\pip\utils\__init__.py", line 18, in <module>
from pip.compat import console_to_str, stdlib_pkgs
File "C:\Users\MyUserName\Desktop\Ampps\python\lib\site-packages\pip\compat\__init__.py", line 13, in <module>
from pip.compat.dictconfig import dictConfig as logging_dictConfig
File "C:\Users\MyUserName\Desktop\Ampps\python\lib\site-packages\pip\compat\dictconfig.py", line 22, in <module>
import logging.handlers
File "C:\Users\MyUserName\Desktop\Ampps\python\lib\logging\handlers.py", line 28, in <module>
import queue
ImportError: No module named 'queue'
python -c "import pip.__main__"