Re: ModuleNotFoundError for youtube_dl

2024-12-10 Thread jkn via Python-list
On 10/12/2024 01:41, Tim Johnson wrote: On 12/9/24 14:59, Tim Johnson wrote: Recently did a refresh of ubuntu 24.04 With no code changes am now getting a *ModuleNotFoundError *for youtube_dl Relevant code is import sys sys.path.append("/home/tim/.local/share/pipx/venvs/youtube-dl/lib/pyth

Re: ModuleNotFoundError for youtube_dl

2024-12-09 Thread Tim Johnson via Python-list
On 12/9/24 14:59, Tim Johnson wrote: Recently did a refresh of ubuntu 24.04 With no code changes am now getting a *ModuleNotFoundError *for youtube_dl Relevant code is import sys sys.path.append("/home/tim/.local/share/pipx/venvs/youtube-dl/lib/python3.12/site-packages/youtube_dl") import y

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-09 Thread Wenyong Wei via Python-list
hi Sravan, Thanks for your response, checked and found there is only one python in my PC. From: Sravan Kumar Chitikesi Sent: Tuesday, 9 April 2024 3:42 AM To: Wenyong Wei Cc: python-list@python.org Subject: Re: ModuleNotFoundError: No module named 'Par

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-09 Thread Mats Wichmann via Python-list
On 4/7/24 19:31, Wenyong Wei via Python-list 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

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

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 param

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 tha

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 inte

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 en

Re: ModuleNotFoundError

2022-06-17 Thread Joel Goldstick
On Fri, Jun 17, 2022 at 8:31 AM inhahe wrote: > > sorry, I may have misused the term "namespace." I'm not sure what the > proper word is for the names currently loaded into the global scope. > > On Fri, Jun 17, 2022 at 8:26 AM inhahe wrote: > > > sys is a built-in module, but it's not in the name

Re: ModuleNotFoundError

2022-06-17 Thread inhahe
sorry, I may have misused the term "namespace." I'm not sure what the proper word is for the names currently loaded into the global scope. On Fri, Jun 17, 2022 at 8:26 AM inhahe wrote: > sys is a built-in module, but it's not in the namespace unless you import > it first. > before your print sta

Re: ModuleNotFoundError

2022-06-17 Thread inhahe
sys is a built-in module, but it's not in the namespace unless you import it first. before your print statement, enter "import sys" On Fri, Jun 17, 2022 at 8:23 AM wrote: > Thank you for your email. > > C:\Users\zszen>python.exe > Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC

Re: ModuleNotFoundError

2022-06-17 Thread z . szenderak
Thank you for your email. C:\Users\zszen>python.exe Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print(sys.version) Traceback (most recent call last): File "", line 1,

Re: ModuleNotFoundError

2022-06-17 Thread Eryk Sun
On 6/17/22, Zoltan Szenderak wrote: > > print(sys.version_info) and executable: > Unable to initialize device PRN That's the command-line "print" program. You need to first start the Python shell via python.exe. The prompt should change to ">>> ". Then run print(sys.version) and print(sys.executa

Re: ModuleNotFoundError

2022-06-17 Thread 2QdxY4RzWzUUiLuE
On 2022-06-17 at 08:03:28 +, Zoltan Szenderak wrote: > How do I reply to: Chris Angelico rosuav at gmail.com so it is listed > on the Python list? Please don't. Please continue replying to python-list@python.org; that way, other people can help you, and future programmers can find their iss

Re: ModuleNotFoundError

2022-06-17 Thread Zoltan Szenderak
Re: https://mail.python.org/pipermail/python-list/2022-June/906698.html How do I reply to: Chris Angelico rosuav at gmail.com so it is listed on the Python list? Chris Angelico rosuav at gmail.com

Re: ModuleNotFoundError

2022-06-15 Thread Chris Angelico
On Thu, 16 Jun 2022 at 05:00, Zoltan Szenderak wrote: > > > > Only on my Windows 10, on my Windows 11 works perfectly. I uninstalled and > reinstalled python, it did not help, I tried everything I found online, > Stackoverflow, python.org, did not help. Not just this module, others too. > They

Re: ModuleNotFoundError: No module named 'DistUtilsExtra'

2022-01-02 Thread hongy...@gmail.com
On Monday, January 3, 2022 at 6:15:53 AM UTC+8, Marco Sulla wrote: > https://askubuntu.com/questions/584857/distutilsextra-problem I found its Git repository using the following method: $ for i in python-distutils-extra python3-distutils-extra; do apt showsrc $i |& grep git; done | sort -u Vcs-G

Re: ModuleNotFoundError: No module named 'DistUtilsExtra'

2022-01-02 Thread Marco Sulla
https://askubuntu.com/questions/584857/distutilsextra-problem On Sun, 2 Jan 2022 at 18:52, hongy...@gmail.com wrote: > > On Ubuntu 20.04.3 LTS, I try to install pdfarranger [1] as follows but failed: > > $ sudo apt-get install python3-pip python3-distutils-extra \ >

Re: ModuleNotFoundError, even though I can see module in dist-packages folder, Setuptools / EGG issue?

2020-04-08 Thread John Ladasky
On Wednesday, April 8, 2020 at 10:47:42 AM UTC-7, John Ladasky wrote: > Hi folks, > > Something broke in my Python installation in the past two or three days. I'm > working in Ubuntu 19.10 and Python 3.7, without virtual environments. > > I have two modules of Python source code that I am dev

Re: ModuleNotFoundError: No module named 'email.mime'; 'email' is not a package

2019-12-08 Thread DL Neil via Python-list
On 9/12/19 8:13 AM, b...@bbhoyer.com wrote: Just registered Thanks Hi @bob, welcome to the gang... I am a beginner in Python, been working on class material from Mosh ... from email.mime.multipart import MIMEMultipart ... Here is the error message: Trace

Re: ModuleNotFoundError: No module named 'email.mime'; 'email' is not a package

2019-12-08 Thread MRAB
On 2019-12-08 19:13, b...@bbhoyer.com wrote: Just registered Thanks Original Message Subject: ModuleNotFoundError: No module named 'email.mime'; 'email' is not a package From: <[1]b...@bbhoyer.com> Date: Sun, December 08, 2019 11:14 am

RE: ModuleNotFoundError: No module named 'email.mime'; 'email' is not a package

2019-12-08 Thread bob
Just registered  Thanks Original Message Subject: ModuleNotFoundError: No module named 'email.mime'; 'email' is not a package From: <[1]b...@bbhoyer.com> Date: Sun, December 08, 2019 11:14 am To: [2]python-list@python.org Hello Python Tea

Re: ModuleNotFoundError with click module

2019-12-02 Thread Tim Johnson
On 12/1/19 11:46 PM, Peter Otten wrote: Tim Johnson wrote: OK. Now I have /usr/local/lib/python3.7/site-packages/Click-7.0.dist-info/ which holds the following files: INSTALLER LICENSE.txt METADATA RECORD top_level.txt WHEEL I haven't a clue as to how to proceed! Never seen this befo

Re: ModuleNotFoundError with click module

2019-12-02 Thread Peter Otten
Tim Johnson wrote: >> OK. Now I have >> >> /usr/local/lib/python3.7/site-packages/Click-7.0.dist-info/ >> >> which holds the following files: >> >> INSTALLER LICENSE.txt METADATA RECORD top_level.txt WHEEL >> >> I haven't a clue as to how to proceed! Never seen this before ... Just leave it

Re: ModuleNotFoundError with click module

2019-12-01 Thread Tim Johnson
On 12/1/19 3:41 PM, Tim Johnson wrote: On 12/1/19 12:26 AM, Peter Otten wrote: Tim Johnson wrote: Using linux ubuntu 16.04 with bash shell. Am retired python programmer, but not terribly current. I have moderate bash experience. When trying to install pgadmin4 via apt I get the following er

Re: ModuleNotFoundError with click module

2019-12-01 Thread Tim Johnson
On 12/1/19 12:26 AM, Peter Otten wrote: Tim Johnson wrote: Using linux ubuntu 16.04 with bash shell. Am retired python programmer, but not terribly current. I have moderate bash experience. When trying to install pgadmin4 via apt I get the following error traceback when pgadmin4 is invoked:

Re: ModuleNotFoundError with click module

2019-12-01 Thread Tim Johnson
On 12/1/19 12:26 AM, Peter Otten wrote: Tim Johnson wrote: Using linux ubuntu 16.04 with bash shell. Am retired python programmer, but not terribly current. I have moderate bash experience. When trying to install pgadmin4 via apt I get the following error traceback when pgadmin4 is invoked:

Re: ModuleNotFoundError with click module

2019-12-01 Thread Peter Otten
Tim Johnson wrote: > Using linux ubuntu 16.04 with bash shell. > Am retired python programmer, but not terribly current. > I have moderate bash experience. > > When trying to install pgadmin4 via apt I get the following error > traceback when pgadmin4 is invoked: > > Traceback (most recent call

Re: ModuleNotFoundError: No module named 'encodings'

2018-09-07 Thread Thomas Jollans
On 2018-09-07 17:13, Jason Qian via Python-list wrote: > Thanks Thomas, > > You are right, this seems the Python home configuration issue. > > One more question. > > Is there a way I can catch the error ( Fatal Python error: initfsencoding: > ..) as exception in the c code ? It's a fatal error,

Re: ModuleNotFoundError: No module named 'encodings'

2018-09-07 Thread Jason Qian via Python-list
Thanks Thomas, You are right, this seems the Python home configuration issue. One more question. Is there a way I can catch the error ( Fatal Python error: initfsencoding: ..) as exception in the c code ? try{ Py_Initialize(); }catch(xxx) { } Thanks On Thu, Sep 6, 2018 at 5:29 PM, Tho

Re: ModuleNotFoundError: No module named 'encodings'

2018-09-06 Thread Thomas Jollans
On 09/06/2018 09:46 PM, Jason Qian via Python-list wrote: Hi Need some help. I have a C++ application that invokes Python. ... Py_SetPythonHome("python_path"); This isn't actually a line in your code, is it? For one thing, Py_SetPythonHome expects a wchar_t*... Py_Initialize(); This wor