Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

I put up my thumb... and it blotted out the planet Earth. -- Neil Armstrong


devel / comp.lang.python / Re: ModuleNotFoundError: No module named 'Paramiko'

SubjectAuthor
* Re: ModuleNotFoundError: No module named 'Paramiko'Thomas Passin
`* Re: ModuleNotFoundError: No module named 'Paramiko'Keith Thompson
 `- Re: ModuleNotFoundError: No module named 'Paramiko'Thomas Passin

1
Re: ModuleNotFoundError: No module named 'Paramiko'

<mailman.81.1712603313.3468.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=29826&group=comp.lang.python#29826

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: ModuleNotFoundError: No module named 'Paramiko'
Date: Mon, 8 Apr 2024 14:31:29 -0400
Lines: 32
Message-ID: <mailman.81.1712603313.3468.python-list@python.org>
References: <PUZPR06MB6147F3C5C940CC8A41D561CBB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<PUZPR06MB61473C936620D72568DDA39BB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<CAFuhuz=0Qc-UJydwcg3cjFnXSbDnDEmqFsvVQZDKy7kPOaEuAg@mail.gmail.com>
<8424e635-82eb-4ac0-9eb1-e06819198c81@schwertberger.de>
<7becbe28-2c5d-494e-95c9-c4f1fd699fa3@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de CXsjLGgdQidFX5Pk3vlBwQSfPt2XCLzwPskb4+IJ0jcA==
Cancel-Lock: sha1:N7+b1ILUl4W2FG2QAfysLuzM0qY= sha256:P33OTnJvJv+cEzZZTEZJTDbJfnFNjvrdXOHtrmW8F/c=
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=gT+EgLkS;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '3.7': 0.03; 'pip': 0.04;
'entering': 0.05; 'windows,': 0.05; 'linux,': 0.07;
'subject:module': 0.07; '"python"': 0.09; 'received:23.83.212':
0.09; 'received:elm.relay.mailchannels.net': 0.09; '-mpip': 0.16;
'dietmar': 0.16; 'executable': 0.16; 'installed.': 0.16;
'installed:': 0.16; 'interpreter': 0.16; 'received:10.0.0': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
'right.': 0.16; 'subject:named': 0.16; 'wrote:': 0.16; 'python':
0.16; 'pm,': 0.19; 'to:addr:python-list': 0.20; 'option': 0.20;
'version': 0.23; 'install': 0.23; 'command': 0.23; 'run': 0.23;
'space': 0.26; 'header:User-Agent:1': 0.30; 'python-list': 0.32;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'window': 0.32; 'header
:In-Reply-To:1': 0.34; 'running': 0.34; 'runs': 0.35; 'using':
0.37; 'directory': 0.37; 'way': 0.38; 'quite': 0.39; 'best': 0.61;
'python.org': 0.62; 'named': 0.65; 'header:Received:6': 0.67;
'received:64': 0.67; 'explorer': 0.84; 'subject:skip:M 10': 0.91
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1712601090; a=rsa-sha256;
cv=none;
b=IxeZnF1ox/GrlFr5mLv/nySIeufKya0XDOHvjiMIF6rw9Ztopqm+5BezyQdhujg4ZpXJik
I1mWzguyrfwcYmKaXGJDIovMy2jMojtcRiFYgZCfx36vWiK+PO1pmDGbq7MTsyUBVjACO1
5t08Gx7PcBR43hTmRiIpiNLdv5IyG+l9zQLDHIMrCQru0SFTBOZMbv8T+h4B4Fu3AWGn+J
kEXs82CIJMsD/0lHfR5PuSKxf40ChebyNmTjxU8XM0cVIFxPU5xGfNwZq2ag7T6kOibIDB
xh5SBd4+02V8cFUHc4v9EmJa1wNtgyRvOkWkonnAXef4WyhzjHmo297VNTETVw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1712601090;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=/uFPSW/AuKeg00NQV8Eog71CD2HHd4nWl8q7A7xa2JQ=;
b=nAHBU/hWGwjLV8UI/c17+StfHIVQqLU7SE/1kqu+epzsyWOWZtEG9pDTpKulDCIFwimRKW
jG2PBLEtDU4TNQ1AGw9hcl7Tq3sWyjoeRLxam7mLnJCu+ICB4fKQVdCuqi9sCPMVGFGbNi
AMT/oUfyXPTHfI6vPfcYPyGETNS+lFtQF5CqSi2jvT5iq8PwsbOC1nJRgTcxxpZqCB/4+/
HaLxqJP/yOea6/l/qu9PWKeKWUs8pNJCjyNf1w5lvJLlAYWdo5mIZqCRhkPOr9aYh55WD1
m9zf6BbwLFfRUKB0QCsFYKsrGVDGoK3rnnbHMGuIsoHqyMMaCqR6z5EB2+A/Fw==
ARC-Authentication-Results: i=1; rspamd-86f86f958-pmf5g;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Towering-Abaft: 6c7762fc794b5f0e_1712601090680_260559298
X-MC-Loop-Signature: 1712601090680:1258539985
X-MC-Ingress-Time: 1712601090680
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1712601090;
bh=/uFPSW/AuKeg00NQV8Eog71CD2HHd4nWl8q7A7xa2JQ=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=gT+EgLkSa7ENYCV751eBAjdY4+5CIxSCtbFjmYmFi6CnLbpu1/XPrcdl8hdrVOBXz
llABQEONaz8OY9uHNq7B4ULUDAr9fuzSdEamNxyBjLh39kKTj8ICtiHm4T+Gyqwzxr
UbkPD05HMqEa7/k7AIUb07fuP7ScrAjR74Gk77NQw/S6HsFo0DM2SaYpijKNjLb9vT
TMdFAlvEvRV8o92huimmUWGByu+REA76EBAi2+LSRtTHBNxdBFcVUb0kbMx6puT649
iPhb8zidG2cMT5AU0/v20fa2d/4XkwWZE6lM8b/LgpHAJed1/wusu6VsWn9rCaKdx1
4XtHAoqsvBt4w==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <8424e635-82eb-4ac0-9eb1-e06819198c81@schwertberger.de>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <7becbe28-2c5d-494e-95c9-c4f1fd699fa3@tompassin.net>
X-Mailman-Original-References: <PUZPR06MB6147F3C5C940CC8A41D561CBB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<PUZPR06MB61473C936620D72568DDA39BB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<CAFuhuz=0Qc-UJydwcg3cjFnXSbDnDEmqFsvVQZDKy7kPOaEuAg@mail.gmail.com>
<8424e635-82eb-4ac0-9eb1-e06819198c81@schwertberger.de>
 by: Thomas Passin - Mon, 8 Apr 2024 18:31 UTC

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

Re: ModuleNotFoundError: No module named 'Paramiko'

<87wmp7fy1b.fsf@nosuchdomain.example.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=29827&group=comp.lang.python#29827

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.lang.python
Subject: Re: ModuleNotFoundError: No module named 'Paramiko'
Date: Mon, 08 Apr 2024 12:35:12 -0700
Organization: None to speak of
Lines: 22
Message-ID: <87wmp7fy1b.fsf@nosuchdomain.example.com>
References: <PUZPR06MB6147F3C5C940CC8A41D561CBB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<PUZPR06MB61473C936620D72568DDA39BB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<CAFuhuz=0Qc-UJydwcg3cjFnXSbDnDEmqFsvVQZDKy7kPOaEuAg@mail.gmail.com>
<8424e635-82eb-4ac0-9eb1-e06819198c81@schwertberger.de>
<7becbe28-2c5d-494e-95c9-c4f1fd699fa3@tompassin.net>
<mailman.81.1712603313.3468.python-list@python.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 08 Apr 2024 19:35:12 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="37e0361043d8ad7d1ca108f2e4a66c79";
logging-data="3882839"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+MtNO2weEAMRcqo4+mt7be"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:UL/0n1+dexsFDT4RXDyo2k4jsew=
sha1:ZsYHsCbozu41twuPArnpi8t0Sd4=
 by: Keith Thompson - Mon, 8 Apr 2024 19:35 UTC

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.)

[...]

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: ModuleNotFoundError: No module named 'Paramiko'

<mailman.82.1712615752.3468.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=29828&group=comp.lang.python#29828

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: ModuleNotFoundError: No module named 'Paramiko'
Date: Mon, 8 Apr 2024 18:35:41 -0400
Lines: 21
Message-ID: <mailman.82.1712615752.3468.python-list@python.org>
References: <PUZPR06MB6147F3C5C940CC8A41D561CBB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<PUZPR06MB61473C936620D72568DDA39BB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<CAFuhuz=0Qc-UJydwcg3cjFnXSbDnDEmqFsvVQZDKy7kPOaEuAg@mail.gmail.com>
<8424e635-82eb-4ac0-9eb1-e06819198c81@schwertberger.de>
<7becbe28-2c5d-494e-95c9-c4f1fd699fa3@tompassin.net>
<mailman.81.1712603313.3468.python-list@python.org>
<87wmp7fy1b.fsf@nosuchdomain.example.com>
<72daad28-0fc6-42b7-b871-94e0d78fd85c@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de QQmGSNeG14h3kFvRudImHQTYyp7rbp5MnvopuSLBEb0w==
Cancel-Lock: sha1:nSdEEQoXgfJiQtXAu8Y90/E+BxM= sha256:EwKr/VEQAoq+XohrWMvjW60VcJFugpf88oURVMB85CY=
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=EKZ+nD00;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'argument': 0.04;
'entering': 0.05; 'space,': 0.07; 'subject:module': 0.07;
'writes:': 0.09; '-mpip': 0.16; 'dietmar': 0.16; 'executable':
0.16; 'interpreter': 0.16; 'oh,': 0.16; 'received:10.0.0': 0.16;
'received:64.90': 0.16; 'received:64.90.62': 0.16;
'received:64.90.62.162': 0.16; 'received:dreamhost.com': 0.16;
'right.': 0.16; 'stick': 0.16; 'subject:named': 0.16; 'wrote:':
0.16; 'python': 0.16; 'pm,': 0.19; 'to:addr:python-list': 0.20;
'option': 0.20; 'install': 0.23; 'command': 0.23; "i'd": 0.24;
'space': 0.26; '>>>': 0.28; 'sense': 0.28; 'header:User-Agent:1':
0.30; 'python-list': 0.32; 'received:10.0': 0.32;
'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'window': 0.32; 'header
:In-Reply-To:1': 0.34; 'running': 0.34; "it's": 0.37; 'directory':
0.37; 'way': 0.38; 'thanks': 0.38; 'quite': 0.39; 'best': 0.61;
'required': 0.65; 'header:Received:6': 0.67; 'received:64': 0.67;
'surprise,': 0.69; 'explorer': 0.84; 'subject:skip:M 10': 0.91
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1712615742; a=rsa-sha256;
cv=none;
b=aNu4mKoFBp9XjOMa0jrBvYURYrFS+1jP4bir6JcickmGHEPTT9IWYculLP+IRlB9KzuLUT
n6ab9DfNi+tZMzjhgaHA2VW+o//Pdr8anbOFZ5qECJhTrTZmeQBpHKzhA/fmOnqOmw/Y9t
aNBg/ykz4D9To006PszofhEeqIEXOlkggaWKjZVgQUrvaBbgVZWnfVJS2Dd0mtheJdKuco
cg54QFsSFnC3lWb6DUis3uc8GcQojg01NWFiyQTSglmqi1lkfvooeKI7JGcHigElERFvEW
7c3roAhWuEhWtq0EAIKA03a03z1heWJu1wHZsWLf8wIogmzfKS0rLN+ZJAlj0g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1712615742;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=Jo4c9Qoxj5nVRI6atOK7jJR384Vvs+Z8WICcy67b0ww=;
b=oOemIw/rq5GKo8Ailofrur8xRSxlC6LYWwrNvLi5wzYz2OLoakKIoW33Lb8f/iO/jGQSbj
B4Fpt7FQlggdoOkJvOm2UtIdf7nG28p0pMuhWewQ8QACK/i+gZEWPuU4euToVb4Jk0zZHF
KptCpX04eRC+2Simea69TQLx8RbWk/f9fAMVipLVoTj8O0Djif1k+6RDrwnTxCtIIVL2pW
UmvocQEDIbeLrYuAOJ77qIbG3hFm4FTRnfiGlNesJKIWWg64Lukm8VvnVzn9/N9obH9yLg
cUccgpylcN8BvIqZA5XWr7pqV3bUaQMi/wgo1X0kNjK/ZP1kdG7sTLndR12vCA==
ARC-Authentication-Results: i=1; rspamd-687b9dd446-9778w;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Befitting-Hook: 7bd431955448ff5f_1712615743071_3758351780
X-MC-Loop-Signature: 1712615743071:318909749
X-MC-Ingress-Time: 1712615743071
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1712615742;
bh=Jo4c9Qoxj5nVRI6atOK7jJR384Vvs+Z8WICcy67b0ww=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=EKZ+nD00IJuJFNoIOWQpgGUGNRUmS9VoPi9yMkFMKByds8GmzMPmlrgdYprSdGNZ0
qeJWcKCRGKBmMUyC2MxbnTB+A4Tu3z0fuysGsaWHCI0xO4baeU/fipTqz6+AsdvpNP
r3io70/QfvqdWpNjyTBnDx5RjkKbegI+w1cnq1hQQLUJ4jA62HIPbfv+nYjfYq/rBn
yvpu9te0I7glr5flONso0Ce9HIxgMDjD9ctc8x4tK59qojCUIOv5Q7QHSztooFs2V5
l5qPhyv24Bhp163rweDB7D1fMF/GD1E9bMc+OB3IUCTNgli3/p1PXLD7JK7BkgzYHY
/VeQWqOrn724Q==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <87wmp7fy1b.fsf@nosuchdomain.example.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <72daad28-0fc6-42b7-b871-94e0d78fd85c@tompassin.net>
X-Mailman-Original-References: <PUZPR06MB6147F3C5C940CC8A41D561CBB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<PUZPR06MB61473C936620D72568DDA39BB5002@PUZPR06MB6147.apcprd06.prod.outlook.com>
<CAFuhuz=0Qc-UJydwcg3cjFnXSbDnDEmqFsvVQZDKy7kPOaEuAg@mail.gmail.com>
<8424e635-82eb-4ac0-9eb1-e06819198c81@schwertberger.de>
<7becbe28-2c5d-494e-95c9-c4f1fd699fa3@tompassin.net>
<mailman.81.1712603313.3468.python-list@python.org>
<87wmp7fy1b.fsf@nosuchdomain.example.com>
 by: Thomas Passin - Mon, 8 Apr 2024 22:35 UTC

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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor