Closed mkplummer closed 3 years ago
Hey @mkplummer can you tell me a bit more about your setup? Looks like you're on windows. How did you install starry and which version is it?
Thank you! I am running the module via Jupyter Workbook. Looks like Starry 1.1.0 on Python 3.7.3 and Conda 4.9.3 are my current versions.
I appreciate the help!
Thanks. And did you install it via pip or by cloning the repo and running setup.py? It would also be helpful if you could list the contents of the directory
~\Anaconda3\lib\site-packages\starry
Thank you again! I installed via pip. Would it work better the other way (by cloning the repo and running setup.py)?
Here are the contents of my directory:
@mkplummer The _c_ops
DLL it's complaining about not being able to find is the compiled C++ code, which I think is the _c_ops.cp37-win_amd64.pyd
file I see listed there. So it's not immediately obvious to me what's causing the issue.
Can you try cloning the repository and running python setup.py install
, and letting me know what happens?
If that doesn't work, can you try creating (and activating) a fresh conda virtual environment and trying to pip install inside of that?
@dfm The Windows wheels seem to be ok: https://github.com/rodluger/starry/actions/runs/679686498. Any ideas what the issue might be?
There can be issues with wheels and linked libraries on Windows that can result in useless errors like this, but I'm not sure if that's what would be happening here (I don't think there should be any linking required for starry!).
So, @mkplummer: one option would be to try installing from source. I think the following would work:
pip uninstall starry
pip install -U starry --no-binary starry
I can try playing around with this on Windows later if you continue to have trouble.
Good morning! Thank you for your help. After uninstalling starry, I executed the "pip uninstall -U starrry --no-binary starry" cmd, and here was the results:
Followed by a string of errors and then,
So I believe I need to update my microsoft C++, I will see if this helps. Once again, I really appreciate the help.
Keep us posted!
I wound up updating Visual C++, Python, and reinstalled starry, theano, exoplanet and matplotlib via conda and python. So far everything seems to be working now. Thank you!
Great, glad to hear. Feel free to re-open the issue if you run into trouble again.
When I import starry, I get the following error: