deepskies / DeepSurveySim

An astrological survey simulation designed for testing MDP-style algorithms
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

contourpy installation error when installing repo on Windows #18

Closed WuHarry53 closed 1 year ago

WuHarry53 commented 1 year ago

Installing the repo using pip 23.1.2 on Python 3.9.0 leads to the following situation:

image

The problem seems to be specific to contourpy, as installing contourpy by itself leads to a similar error:

image
WuHarry53 commented 1 year ago

Install contourpy 1.0.7 manually beforehand. Run $ pip install contourpy==1.0.7

voetberg commented 1 year ago

Thanks for documenting this! I can try to get something working without having to do that manual install; you shouldn't have to do that.

voetberg commented 1 year ago

@WuHarry53 I think I've got this fixed - But for my own sick reference, what other packages did you have installed or what sort of virtual environment (if any), and system where you using?

The existing actions have it all working within a poetry shell in an ubuntu vm, but I'm beginning to realize this is a pretty-non-standard install method, so if you have a preferred method that isn't working; I should account for that.

WuHarry53 commented 1 year ago

Just using a standard windows 64-bit machine. Everything was a clean install—no packages, vms, anything. Quite literally just Python 3.9 on Windows. I wouldn't call this a preferred method, just the method I happen to be using before I get access to all of the Fermilab computing facilities (which may take a while).

voetberg commented 1 year ago

Hmmmmm Inch Resting. I'm exclusively a mac/linux kinda guy so it's highly probable it's an issue with contourpy that's windows specific. Windows is my sworn enemy. Might be circumvented using a conda env though (conda dists tend to be a little nicer I've found).

When you get a chance, can you try to use the install from source method I've got listed in the readme? (Low priority for sure, don't make time to do this, it's my own twisted curiosity)