ThomasAlbin / Astroniz-YT-Tutorials

Repository of my Space Science with Python YT tutorial series
MIT License
143 stars 22 forks source link

Cannot import SpiceyPy #45

Closed InvRules closed 2 years ago

InvRules commented 2 years ago

Hello - I am struggling trying to import SpiceyPy I am using Windows 10 laptop. I was able to run the previous session (setup remote container).

Here is what I am seeing

image

image

image

Any help you can provide would be greatly appreciated

Regards

InvRules commented 2 years ago

I restarted from the begining in a new folder

Also I went to this site and tried all of the suggestions, but they did not fix the issue. https://candid.technology/error-loading-preloads-could-not-find-renderer/

One of the suggestions is to run

import plotly.io as pio pio.renderers.default = 'iframe_connected'

This gave the following error

image

InvRules commented 2 years ago

It seems to be working now....

I added to Requirements.txt image

now

image

:)

InvRules commented 2 years ago

Seems OK now...

ThomasAlbin commented 2 years ago

Ehm ... hey there. Thanks for the report. It is weird, since spiceypy is part of the requirements.txt. Thanks for the update!