Python Forum
No module named 'pysolar' - even tough pysolar is installed - What am I doing wrong?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No module named 'pysolar' - even tough pysolar is installed - What am I doing wrong?
#1
Hello everyone :)
I have the following problem:

I have Python 3.8 installed and with anaconda3 i used the comand "pip3 install pysolar" to isntall pysolar (pysolar-0.9-py3-none-any.whl)

When i now type "import pysolar" in a python script and I run it as a module, then the following error shows up: "ModuleNotFoundError: No module named 'pysolar'".

I dont have a clue what I am doing wrong. I also didnt find an answer in the Internet. In the Internet its only written, that this error occurs, when pysolar is not installed. But i have it installed? When i go on anaconda3 again and type "pip3 install pysolar" I always get the message: "requirements already satisfied: pysolar in c:\users\xxx\anaconda3\lib\size-packages (0.9)" .

So that means, it should be installed correctly? Does anyone have a clue or could help me to get pysolar work please :)? Thank you very much for you help already.
Reply


Messages In This Thread
No module named 'pysolar' - even tough pysolar is installed - What am I doing wrong? - by Jghurt - May-08-2021, 02:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 894 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 23,818 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,605 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,465 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,524 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,349 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,049 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 9,140 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 1,020 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 2,576 Nov-05-2022, 11:33 AM
Last Post: Mavoz

Forum Jump:

User Panel Messages

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