Re: ModuleNotFoundError: No module named 'Paramiko'

Liste des GroupesRevenir à cl python 
Sujet : Re: ModuleNotFoundError: No module named 'Paramiko'
De : list1 (at) *nospam* tompassin.net (Thomas Passin)
Groupes : comp.lang.python
Date : 08. Apr 2024, 19:31:29
Autres entêtes
Message-ID : <mailman.81.1712603313.3468.python-list@python.org>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 4/8/2024 2:01 PM, Dietmar Schwertberger via Python-list wrote:
To be sure, you can always go the the directory of the Python interpreter and open a cmd window there.
(By entering 'cmd' into the explorer address bar.)
Then enter 'python.exe -mpip install paramiko'.
This way you can be sure that you're not running a pip.exe that belongs to another Python interpreter.
This is not quite right. The best name of the Python executable may or may not be "python.exe".  The command line needs a space after the "-m":
<python executable> -m pip install <package>
For <python executable>, you can check if "python" runs the intended version by using the -V option (must be capitalized):
python -V
On Windows, Python from python.org usually installs a launcher named "py", which will run the last version installed:
py -m pip install ...
Or it can run a specific version, e.g.:
py -3.7 -m pip install ...
This will run Python 3.7 if installed.
On Linux, you can run the desired version with, e.g.,
python3.7 -m pip ...

Date Sujet#  Auteur
8 Apr 24 * Re: ModuleNotFoundError: No module named 'Paramiko'3Thomas Passin
8 Apr 24 `* Re: ModuleNotFoundError: No module named 'Paramiko'2Keith Thompson
9 Apr 24  `- Re: ModuleNotFoundError: No module named 'Paramiko'1Thomas Passin

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal