From 2fad6892789bbfa5673920ec6e55eb39220a5979 Mon Sep 17 00:00:00 2001 From: "Mayr, Hannes" <hannes.mayr@stud.tu-darmstadt.de> Date: Tue, 22 Nov 2022 09:59:26 +0100 Subject: [PATCH] Add help for fatal error on Windows when executing pip install. . --- docs/source/installation.rst | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 858bb37..aac633f 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -23,4 +23,33 @@ Now activate the venv source venv/bin/activate -The virtual environment now runs with python 3.10 and plotID can be installed the usual way as described in :doc:`Overview`. \ No newline at end of file +The virtual environment now runs with python 3.10 and plotID can be installed the usual way as described in :doc:`Overview`. + + +Installation on Windows via pip +------------------------------- +If you're trying + +.. code:: cmd + + pip install . + +and following error is thrown + +.. code:: cmd + + Fatal error in launcher: Unable to create process using '"...env\Scripts\python.exe" "..\venv\Scripts\pip.exe" install .': The system cannot find the specified file. + +Try to forcefully reinstall pip + +.. code:: cmd + + python -m pip install --upgrade --force pip + +Or use + +.. code:: cmd + + python -m pip install . + +instead. -- GitLab