Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Thomas Passin via Python-list

On 4/8/2024 3:35 PM, Keith Thompson via Python-list wrote:

Thomas Passin  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...


--
https://mail.python.org/mailman/listinfo/python-list


Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Keith Thompson via Python-list
Thomas Passin  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.)

[...]

-- 
Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Thomas Passin via Python-list

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":


 -m pip install 

For , 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 ...
--
https://mail.python.org/mailman/listinfo/python-list


Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Dietmar Schwertberger via Python-list
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.


--
https://mail.python.org/mailman/listinfo/python-list


Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Sravan Kumar Chitikesi via Python-list
pip may be pointed to another python version. try to remove other python
versions and re install pip

Regards,
*Sravan Chitikesi*
AWS Solutions Architect - Associate


On Mon, Apr 8, 2024 at 10:58 PM Wenyong Wei via Python-list <
python-list@python.org> wrote:

>
> Dear Sir/Madam,
>
> Recently I encounter a problem that I can't import paramiko in my
> computer. My PC running on window 10 64 bits. I have investigate this issue
> via internet, there are a lot of solutions for this issue, after trying
> most of the steps, I still can't run this module, the major steps I have
> try are:
>
>
>   1.
> Install python ver 3.7.1 or 3.11.8 by itself or customer installation
> (changing the installation folder) and check add python to the path.
>   2.
> pip install paramiko, if ver 3.7.1 installed, need to upgrade the pip
> version.
>   3.
> Checking the environment path, there are two path related to the python,
> one for python.exe, the other for \Lib\site-packages\paramiko
>
> can you please provide advice on this issue?
>
>
>
> BR
>
> Ken
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Wenyong Wei via Python-list


Dear Sir/Madam,

Recently I encounter a problem that I can't import paramiko in my computer. My 
PC running on window 10 64 bits. I have investigate this issue via internet, 
there are a lot of solutions for this issue, after trying most of the steps, I 
still can't run this module, the major steps I have try are:


  1.
Install python ver 3.7.1 or 3.11.8 by itself or customer installation (changing 
the installation folder) and check add python to the path.
  2.
pip install paramiko, if ver 3.7.1 installed, need to upgrade the pip version.
  3.
Checking the environment path, there are two path related to the python, one 
for python.exe, the other for \Lib\site-packages\paramiko

can you please provide advice on this issue?



BR

Ken
-- 
https://mail.python.org/mailman/listinfo/python-list