pingswept / pysolar

Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
http://pysolar.org
GNU General Public License v3.0
372 stars 125 forks source link

Error "pysolar.solar is not a package" #156

Closed Aariq closed 1 year ago

Aariq commented 1 year ago

Hi, forgive me if this is a dumb question (I'm relatively new to Python): I've installed pysolar and I can import pysolar, but I can't import pysolar.solar or use functions with pysolar.solar.fun() or I get an error like this:

ModuleNotFoundError: No module named 'pysolar.solar'; 'pysolar' is not a package

Am I installing it wrong or something?