Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
pingswept committed Apr 17, 2015
1 parent f89e7d9 commit 1fcc0a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ Once you calculate azimuth and altitude of the sun, you can predict the direct i
>>> radiation.get_radiation_direct(d, altitude_deg)
793.0379291685598

Troubleshooting
===============

If you find yourself getting errors like `AttributeError: 'datetime.datetime' object has no attribute 'timestamp'`, this probably means that you are using Python 2 instead of Python 3.

Pysolar no longer supports Python 2. So far, nobody has volunteered to do the work to backport the code to Python 2. If you're stuck on Python 2 because of some other dependency, you should use Pysolar 0.6, which is the last version that works with Python 2.

Validation
==========

Expand Down

0 comments on commit 1fcc0a2

Please sign in to comment.