rodluger / starry

Tools for mapping stars and planets.
https://starry.readthedocs.io
MIT License
144 stars 33 forks source link

Error building wheel on installation with Windows 10 #257

Closed jessica553 closed 4 years ago

jessica553 commented 4 years ago

Hi, I'm trying to install starry which is new to me, and I've got this error message: ERROR: Command errored out with exit status 1: command: 'c:\users\jessica\anaconda3\python.exe' 'c:\users\jessica\anaconda3\lib\site-packages\pip_vendor\pep517_in_process.py' build_wheel 'C:\Users\Jessica\AppData\Local\Temp\tmp987n5aht' cwd: C:\Users\Jessica\AppData\Local\Temp\pip-install-ekh4vrxn\starry

At the end of the error message it says this:

error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\cl.exe' failed with exit status 2

ERROR: Failed building wheel for starry Failed to build starry ERROR: Could not build wheels for starry which use PEP 517 and cannot be installed directly

Is this something thats come up before? Is there a solution you could point me to?

I'm tagging @sarahmartell as I'm working on this project with her.

rodluger commented 4 years ago

Hi @jessica553 I have some pre-compiled wheels for Windows you could try. Go here and click on the drop down menu next to "drop" and select "Download artifacts":

image

You'll get a zip file with a bunch of wheels:

image

Select one of the "win" ones according to your machine (32 or 64 bit) and your python installation (3.6, 3.7, or 3.8). Copy that file name and then do

pip install wheel
pip install starry-1.0.1.dev124+gcfe1eca8-cp38-cp38-win_amd64.whl

(e.g., if you're on a 64 bit machine running Python 3.8).

Let me know if that works. I've been working on the next release of starry -- when that comes out you should be able to install starry the easy way.

SarahMartell commented 4 years ago

Thanks @rodluger ! We'll let you know how we go with this.

jessica553 commented 4 years ago

It works @rodluger, thanks!

rodluger commented 4 years ago

Awesome, glad to hear.