SwissEph file 'seas_18.se1' not found in PATH '.:/users/ephe2/:/users/ephe/'

See original GitHub issue

I’m trying to create a chart object with IDs=const.LIST_OBJECTS parameter like: chart = Chart(date, pos, IDs=const.LIST_OBJECTS)

It doesn’t work, giving:

Exception Type: Error Exception Value: SwissEph file 'seas_18.se1' not found in PATH '.:/users/ephe2/:/users/ephe/'

But the file seas_18.se1 is located at flatlib/resources.

Any idea? Is that a bug?

With for example: chart = Chart(date, pos, IDs=const.LIST_OBJECTS_TRADITIONAL) or chart = Chart(date, pos, IDs=const.LIST_SEVEN_PLANETS)

it is indeed working

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Jordi588commented, Dec 23, 2021

I fixed it with

import swisseph as swe
swe.set_ephe_path('/usr/local/lib/python3.8/site-packages/flatlib/resources/swefiles')
chart = Chart(date, pos, IDs=const.LIST_OBJECTS, hsys=const.HOUSES_PLACIDUS)

Note that the path is derived from my docker environment, probably you will need to fix with your path files

0reactions
jminutagliocommented, May 31, 2022

@frederichoule - TY so much for posting this! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

new SwissEph (); path problem - Groups.io
However, it's still saying "Warning: SwissEph file 'sepl_18.se1' not found in the paths of: 'C', '\sweph\ephe', using Moshier eph.;".
Read more >
Linux build has no error but error when starting openastro
The file /usr/share/openastro.org/locale -- does not exist and was not created. ... Error: SwissEph file 'seas_18.se1' not found in PATH ...
Read more >
swephprg programming interface - Astrodienst
The Swiss Ephemeris is made available by its authors under a dual licensing system. ... warning: SwissEph file 'sepl_18.se1' not found in PATH...
Read more >
Ephemeris Data Files - Saravali
Time Range Planetary File Moon File Asteroid File 5401 BC ‑ 4802 BC seplm54.se1 semom54.se1 seasm54.se1 4801 BC ‑ 4202 BC seplm48.se1 semom48.se1 seasm48.se1 4201 BC...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found