Sujet : Re: ModuleNotFoundError: No module named 'Paramiko'
De : list1 (at) *nospam* tompassin.net (Thomas Passin)
Groupes : comp.lang.pythonDate : 08. Apr 2024, 23:35:41
Autres entêtes
Message-ID : <mailman.82.1712615752.3468.python-list@python.org>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 4/8/2024 3:35 PM, Keith Thompson via Python-list wrote:
Thomas Passin <list1@tompassin.net> writes:
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":
No, the option and its argument can be bundled. "-mpip" is equivalent
to "-m pip". (The space might make it clearer for human readers.)
Oh, surprise, thanks for the correction. My apologies to Dietmar. I'd stick with the space, though, because it's often required by other programs. No sense developing a conflicting habit...