Error opening file with version 3.3.6 works with version 3.2.7

135 views
Skip to first unread message

walter

unread,
Mar 26, 2022, 9:56:49 AM3/26/22
to thonny
I get the following error when using astropy get_pkg_data_filename("c:test.fit).
RuntimeError: attempted to get a local data file outside of the thonny tree.
If I run the program using Thonny version 3.2.7 the program works. What changed in version 3.3.x?

Walterthonny error.png

Aivar Annamaa

unread,
Apr 10, 2022, 4:05:44 AM4/10/22
to thonny
Walter, please try freshly released https://github.com/thonny/thonny/releases/tag/v4.0.0b2 which straightens some tricks done in Thonny's backend process which may have confused Astropy.

Best regards,
Aivar

walter

unread,
Apr 16, 2022, 9:03:09 AM4/16/22
to thonny
This version won't install astropy error code 2 when I try to install it.

Walter

Reply all
Reply to author
Forward
0 new messages