I installed python 3.5.1 via ampps and it’s working. However, when i try to use pip, i get the following message:
Fatal error in launcher: Unable to create process using '"'
I already reinstalled ampps into a path which doesn’t include any whitespaces. Note that the «python -m pip» workaround doesn’t work for me too, since i get the following message everytime i use it:
C:UsersMyUserNameDesktopAmppspythonpython.exe: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'queue'); 'pip' is a package and cannot be directly executed
How do i get pip to work properly? I hope, there is a way to use the pip command itself without the preceding python command.
EDIT: This is what happens, if i try to run python -c "import pip.__main__":
Traceback (most recent call last):
File "C:UsersMyUserNameDesktopAmppspythonlibsite-packagespipcompat__init__.py", line 11, in <module>
from logging.config import dictConfig as logging_dictConfig
File "C:UsersMyUserNameDesktopAmppspythonlibloggingconfig.py", line 30, in <module>
import logging.handlers
File "C:UsersMyUserNameDesktopAmppspythonliblogginghandlers.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:UsersMyUserNameDesktopAmppspythonlibsite-packagespip__init__.py", line 13, in <module>
from pip.utils import get_installed_distributions, get_prog
File "C:UsersMyUserNameDesktopAmppspythonlibsite-packagespiputils__init__.py", line 18, in <module>
from pip.compat import console_to_str, stdlib_pkgs
File "C:UsersMyUserNameDesktopAmppspythonlibsite-packagespipcompat__init__.py", line 13, in <module>
from pip.compat.dictconfig import dictConfig as logging_dictConfig
File "C:UsersMyUserNameDesktopAmppspythonlibsite-packagespipcompatdictconfig.py", line 22, in <module>
import logging.handlers
File "C:UsersMyUserNameDesktopAmppspythonliblogginghandlers.py", line 28, in <module>
import queue
ImportError: No module named 'queue'
Today We are Going To Solve Fatal error in launcher: Unable to create process using ‘”‘ in Python. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.
Contents
- 1 How to Fix Fatal error in launcher: Unable to create process using ‘”‘ Error?
- 1.1 Solution 1 : run python -m pip install —upgrade pip
- 1.2 Solution 2 : Update pip
- 1.3 Solution 3 : Delete C:Python39
- 2 Conclusion
- 2.1 Also Read This Solutions
- How to Fix Fatal error in launcher: Unable to create process using ‘”‘ Error?
To Fix Fatal error in launcher: Unable to create process using ‘”‘ Error just run
python -m pip install --upgrade pip. Here you have to downloading Python 3 and then install it via express installation. And overwriting the python version provided by AMPPS. And at the last runpython -m pip install --upgrade pipin cmd and your error will be removed. - Fatal error in launcher: Unable to create process using ‘”‘
To Fix Fatal error in launcher: Unable to create process using ‘”‘ Error just Update pip. Just update your pip by the following command and solve your error.
python3 -m pip install --upgrade pip
Solution 1 : run python -m pip install --upgrade pip
Here you have to downloading Python 3 and then install it via express installation. And overwriting the python version provided by AMPPS
And at the last run python -m pip install --upgrade pip in cmd and your error will be removed.
Solution 2 : Update pip
Just update your pip by the following command and solve your error.
python3 -m pip install --upgrade pip
Solution 3 : Delete C:Python39
If you have both these python C:Python3 and %LocalAppData%ProgramsPythonPython39.
Then just delete C:Python39 to solve your error.
Conclusion
So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.
Also Read This Solutions
- ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory
- ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled
- Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager
- ImportError: No module named Crypto.Cipher
- Message: session not created: This version of ChromeDriver only supports Chrome version 94 Current browser version is 93.0.4577.82
Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to use pip But I am facing following error Fatal error in launcher: Unable to create process using ‘”‘ in python. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
Contents
- How Fatal error in launcher: Unable to create process using ‘»‘ Error Occurs ?
- How To Solve Fatal error in launcher: Unable to create process using ‘»‘ Error ?
- Solution 1: Download python manually
- Solution 2: Reinstall Pip
- Solution 3: Just update pip
- Summary
I am trying to use pip But I am facing following error.
Fatal error in launcher: Unable to create process using '"'
How To Solve Fatal error in launcher: Unable to create process using ‘”‘ Error ?
- How To Solve Fatal error in launcher: Unable to create process using ‘”’ Error ?
To Solve Fatal error in launcher: Unable to create process using ‘”’ Error Here AMPPS doesn’t provide a full-fledged python build So You need to update it manually and That’s fine that will solve your error. So that First of all Just visit python official website and download python latest version and Install It in your system. Then You need to Copy & Paste the standalone python into the ampps/python folder and then overwriting the python version provided by AMPPS Now, All You need to do is just upgrade pip using this command. python -m pip install –upgrade pip Now you have latest Python version and Latest pip version and now you can use pip And your error must be solved.
- Fatal error in launcher: Unable to create process using ‘”’
To Solve Fatal error in launcher: Unable to create process using ‘”’ Error Here AMPPS doesn’t provide a full-fledged python build So You need to update it manually and That’s fine that will solve your error. So that First of all Just visit python official website and download python latest version and Install It in your system. Then You need to Copy & Paste the standalone python into the ampps/python folder and then overwriting the python version provided by AMPPS Now, All You need to do is just upgrade pip using this command. python -m pip install –upgrade pip Now you have latest Python version and Latest pip version and now you can use pip And your error must be solved.
Solution 1: Download python manually
Here AMPPS doesn’t provide a full-fledged python build So You need to update it manually and That’s fine that will solve your error. So that
- First of all Just visit python official website and download python latest version and Install It in your system.
- Then You need to Copy & Paste the standalone python into the ampps/python folder and then overwriting the python version provided by AMPPS
- Now, All You need to do is just upgrade pip using this command. python -m pip install –upgrade pip
- Now you have latest Python version and Latest pip version and now you can use pip And your error must be solved.
Solution 2: Reinstall Pip
First of all Just make sure below both folder in your PATH variable.
C:Python37Scripts
C:Python37
Now If both variable in your Path Environment then just Reinstall Pip By using this command.
python -m pip install --upgrade --force-reinstall pip
Solution 3: Just update pip
All you need to do is Just update pip and Boom Your error must be solved. Use this command.
python3 -m pip install --upgrade pip
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read
- (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 2-3: truncated UXXXXXXXX escape
Уведомления
- Начало
- » Python для новичков
- » Не загружаются библиотеки
#1 Янв. 13, 2020 21:41:24
Не загружаются библиотеки
В переменных среды было PATH=C:Program FilesPython36
Поставил PATH=C:Program FilesPython36Scripts
Разницы нет:
Microsoft Windows
© Корпорация Майкрософт (Microsoft Corporation), 2019. Все права защищены.
C:Usersmosco>pip install requests
Fatal error in launcher: Unable to create process using ‘»’
C:Usersmosco>
Да не хочу я ставить Linux еще, как решить эту проблему в Windows?
Отредактировано Stanislav77 (Янв. 13, 2020 21:50:54)
Офлайн
- Пожаловаться
#2 Янв. 13, 2020 22:02:17
Не загружаются библиотеки
А вот так заработало. Получается, нужно запускать командой python -m pip …?
C:Usersmosco>python -m pip install pyowm
Collecting pyowm
Downloading https://files.pythonhosted.org/packages/41/2a/83e26bc87763d0d34767ddc5c875608d4a0a0da66e59730a15c55aec6eff/pyowm-2.10.0-py3-none-any.whl (3.7MB)
|████████████████████████████████| 3.8MB 91kB/s
Collecting geojson<3,>=2.3.0 (from pyowm)
Downloading https://files.pythonhosted.org/packages/e4/8d/9e28e9af95739e6d2d2f8d4bef0b3432da40b7c3588fbad4298c1be09e48/geojson-2.5.0-py2.py3-none-any.whl
Collecting requests<3,>=2.20.0 (from pyowm)
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
|████████████████████████████████| 61kB 491kB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests<3,>=2.20.0->pyowm)
Downloading https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl (125kB)
|████████████████████████████████| 133kB 297kB/s
Collecting certifi>=2017.4.17 (from requests<3,>=2.20.0->pyowm)
Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB)
|████████████████████████████████| 163kB 262kB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests<3,>=2.20.0->pyowm)
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
|████████████████████████████████| 143kB 437kB/s
Collecting idna<2.9,>=2.5 (from requests<3,>=2.20.0->pyowm)
Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
|████████████████████████████████| 61kB 230kB/s
Installing collected packages: geojson, urllib3, certifi, chardet, idna, requests, pyowm
WARNING: The script chardetect.exe is installed in ‘C:UsersmoscoAppDataLocalPackagesPythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0LocalCachelocal-packagesPython37Scripts’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use –no-warn-script-location.
Successfully installed certifi-2019.11.28 chardet-3.0.4 geojson-2.5.0 idna-2.8 pyowm-2.10.0 requests-2.22.0 urllib3-1.25.7
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the ‘python -m pip install –upgrade pip’ command.
Офлайн
- Пожаловаться
#3 Янв. 13, 2020 22:17:11
Не загружаются библиотеки
Stanislav77
Получается, нужно запускать командой python -m pip …?
При нормальной установке конечно нет. Под виндой все скрипты должны работать. У вас по какойто причине не работают скрипты из директории Scripts. Трудно сказать почему. Я бы для начала попробовал просто pip.exe из директории scripts запустить без аргументов. Если отставить как есть то все скрипты скорее всего не будут запускаться.
Офлайн
- Пожаловаться
#4 Янв. 13, 2020 22:19:29
Не загружаются библиотеки
Да, работает именно через команду python -m pip install (библиотека)!
Офлайн
- Пожаловаться
#5 Янв. 13, 2020 22:21:18
Не загружаются библиотеки
doza_and
из командной строки запускать pip.exe?
Офлайн
- Пожаловаться
#6 Янв. 13, 2020 22:23:09
Не загружаются библиотеки
Да из cmd.exe
Вообще lancher это py.exe он решает какой питон надо пускать 2 или третий на основе первой строки файла. Судя по сообщению у вас както установилось что имя запускаемого питона не с:/…/python.exe а пустая строка. Откуда ланчер его берет не знаю может окружение или в реестре записано… Скорее всего это результат игр с реестром или нескольких установок разных питонов. Трудно сказать что-то определенно.
Отредактировано doza_and (Янв. 13, 2020 22:26:43)
Офлайн
- Пожаловаться
#7 Янв. 13, 2020 22:25:48
Не загружаются библиотеки
doza_and
Да из cmd.exe
не запускается
C:Program Files>Python36Scriptspip.exe
Fatal error in launcher: Unable to create process using ‘»’
Офлайн
- Пожаловаться
#8 Янв. 13, 2020 22:33:48
Не загружаются библиотеки
https://www.python.org/dev/peps/pep-0397/#python-script-launching
Two .ini files will be searched by the launcher — py.ini in the current user’s “application data” directory (i.e. the directory returned by calling the Windows function SHGetFolderPath with CSIDL_LOCAL_APPDATA, %USERPROFILE%AppDataLocal on Vista+, %USERPROFILE%Local SettingsApplication Data on XP) and py.ini in the same directory as the launcher. The same .ini files are used for both the ‘console’ version of the launcher (i.e. py.exe) and for the ‘windows’ version (i.e. pyw.exe)
Те посмотрите что у вас написано в py.ini
Офлайн
- Пожаловаться
#9 Янв. 13, 2020 22:42:21
Не загружаются библиотеки
doza_and
https://www.python.org/dev/peps/pep-0397/#python-script-launchingTwo .ini files will be searched by the launcher — py.ini in the current user’s “application data” directory (i.e. the directory returned by calling the Windows function SHGetFolderPath with CSIDL_LOCAL_APPDATA, %USERPROFILE%AppDataLocal on Vista+, %USERPROFILE%Local SettingsApplication Data on XP) and py.ini in the same directory as the launcher. The same .ini files are used for both the ‘console’ version of the launcher (i.e. py.exe) and for the ‘windows’ version (i.e. pyw.exe)Те посмотрите что у вас написано в py.ini
а у меня вообще нет файла py.ini
Офлайн
- Пожаловаться
#10 Янв. 14, 2020 04:44:59
Не загружаются библиотеки
Stanislav77
Да не хочу я ставить Linux еще, как решить эту проблему в Windows?
Ты всегда будешь заниматься такой фигнёй, как сейчас. Тебе нужно делать дело, а ты копаешься в системе. А в лине тебе нужно делать дело и ты его и делаешь. Поэтому там КПД выше.
Stanislav77
C:Program Files>Python36Scriptspip.exe
Fatal error in launcher: Unable to create process using ‘»’
Понятно, что у тебя питон сломан. Переустанавливай его: удали его полностью из системы, скачай с официального сайта дистрибутив и установи заново. При установке всё запишется куда надо.
Stanislav77
а у меня вообще нет файла py.ini
Он и не нужен тебе. Чтобы ставить сторонние пакеты, нужен только pip. Но бывает, что в винде и pip не ставит нифига и нужно идти на сайт с собранными пакетами и оттуда качать установщик
https://www.lfd.uci.edu/~gohlke/pythonlibs/
Офлайн
- Пожаловаться
- Начало
- » Python для новичков
- » Не загружаются библиотеки
