Help me in setting the path in python program.

Maheshwari Gorle gorlemaheshwari at gmail.com
Mon Jun 7 00:03:56 EDT 2021


I am using Google co lab. 
Guide me how to set the path. 
# Error: SwissEph file 'se13681s.se1' not found in PATH '/usr/share/ephe/' is coming, how to overcome this problem.

pip install pyswisseph
import swisseph as swe
swe.set_ephe_path ('/usr/share/ephe') 
# set path to ephemeris files
jd = swe.julday(2008,3,21)
swe.calc_ut(jd, swe.AST_OFFSET+13681[0][0] 


More information about the Python-list mailing list