Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: "ModuleNotFoundError: No module named 'PyQt5.QtWidgets'; 'PyQt5' is not a package"
Post: RE: "ModuleNotFoundError: No module named 'PyQt5.Q...

Hi, I reformatted everything and now it works. Before, it was giving the error message of 2 conflicting exceptions now not. Maybe I have understood. When I installed VScode , python was already instal...
chipx General Coding Help 3 7,487 Dec-09-2021, 07:05 AM
    Thread: "ModuleNotFoundError: No module named 'PyQt5.QtWidgets'; 'PyQt5' is not a package"
Post: RE: "ModuleNotFoundError: No module named 'PyQt5.Q...

Hi, it doesn't work...
chipx General Coding Help 3 7,487 Dec-08-2021, 04:04 PM
    Thread: "ModuleNotFoundError: No module named 'PyQt5.QtWidgets'; 'PyQt5' is not a package"
Post: "ModuleNotFoundError: No module named 'PyQt5.QtWid...

Hi, I've been trying to solve this problem with VScode for 2 days: "ModuleNotFoundError: No module named 'PyQt5.QtWidgets'; 'PyQt5' is not a package". Of course PyQt5 5.15.6 and Python 3.9.5 pip 21.3....
chipx General Coding Help 3 7,487 Dec-08-2021, 11:53 AM
    Thread: VScode problem with output window
Post: RE: VScode problem with output window

Great!!! it works!!! Have a great day. chip
chipx Bar 2 2,064 Dec-05-2021, 01:42 PM
    Thread: VScode problem with output window
Post: VScode problem with output window

I hope I'm in the right place for this type of question.... Hello, I use VScode with Python and Code Runner and the problem that I can not solve is that I display lines of information, in addition to...
chipx Bar 2 2,064 Dec-04-2021, 09:59 PM
    Thread: Nested function problem
Post: RE: Nested function problem

I tried changing "cos" to "log10" and now it works. Thank you! Output:import math def f1(x): def f2(x): def f3(x): return math.log10(x) return f3(x) * math.sin(x) ...
chipx General Coding Help 8 3,500 Oct-21-2020, 07:38 PM
    Thread: Nested function problem
Post: RE: Nested function problem

I imported math tried to call f1 but it gives me error: Output:f1(5)"ValueError: math domain error"
chipx General Coding Help 8 3,500 Oct-21-2020, 05:52 PM
    Thread: Nested function problem
Post: RE: Nested function problem

(Oct-21-2020, 03:01 PM)deanhystad Wrote: An embedded function still needs to be called. f1() never calls f2() and f2() never calls f3(). I think there is an indentation error. f3() never returns a...
chipx General Coding Help 8 3,500 Oct-21-2020, 04:14 PM
    Thread: Nested function problem
Post: Nested function problem

Hi everyone, I created this nested function to solve this formula: sqrt(sin(x)*(cos(x)) but it doesn't work. Where am I wrong? Thanks chipx this is the code: Output:[output]import math def f1(x): ...
chipx General Coding Help 8 3,500 Oct-21-2020, 01:49 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020