Closed gfferran closed 2 years ago
hey @gfferran, I thought I replied to this over email but it looks like it never got sent. Your python is 32-bit and is unsupported by spiceypy. Since you are using windows 10, you should be able to install a 64 bit version of python from python.org, and then you can simply run pip install spiceypy
without all the options from that old issue.
closing this issue for lack of updates
Thank you for your reply, Andrew, it worked. Sorry for the late reply.
Hi Fernando,
That advice is 5 years out of date. Uninstall spiceypy, then reinstall it using just “pip install spiceypy” without those additional options
-Andrew Annex
On Apr 2, 2022, at 5:18 AM, Ferran @.***> wrote:
Following @AndrewAnnex 's answer in #242 , I installed SpiceyPy through: pip install spiceypy --no-cache --no-binary :all:
Then, when I try to import, this error appears:
Traceback (most recent call last): File ".\test_spiceypy.py", line 2, in
import spiceypy File "C:\Python37\lib\site-packages\spiceypy__init__.py", line 27, in from .spiceypy import * File "C:\Python37\lib\site-packages\spiceypy\spiceypy.py", line 36, in from .utils.libspicehelper import libspice File "C:\Python37\lib\site-packages\spiceypy\utils\libspicehelper.py", line 57, in libspice = CDLL(libspice_path) File "C:\Python37\lib\ctypes__init.py", line 356, in init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
Following @AndrewAnnex 's answer in #242 , I installed SpiceyPy through:
pip install spiceypy --no-cache-dir --no-binary :all:
Then, when I try to import, this error appears:
This is the setup: