radio-astro-tools / casa-formats-io

Code to handle I/O from/to data in CASA format
Other
10 stars 7 forks source link

Can't build wheels when attempting to pip install #48

Open NikkiZabel opened 2 years ago

NikkiZabel commented 2 years ago

Hi there!

I'm running python 3.9.7 and 3.9.12 in Anaconda environments on my Ubuntu 20.04 machines. I'm getting the error "ERROR: Failed building wheel for casa-formats-io Successfully built jampy plotbin Failed to build casa-formats-io ERROR: Could not build wheels for casa-formats-io which use PEP 517 and cannot be installed directly" when I try to pip install the package. After downgrading to python 3.8, all is fine. I know other people use python 3.9.7 on different OS, and they don't seem to have the same issue. Any chance the package can be made compatible with python 3.9 for my setup?

astrofrog commented 2 years ago

Could you provide the command(s) you are using and let us know what folder you are running these in?

NikkiZabel commented 2 years ago

"pip install casa-formats-io"

Folders include home, /, or any other directory.

astrofrog commented 2 years ago

@NikkiZabel - if you are still having this issue, what version of pip are you using?

astrofrog commented 2 years ago

@NikkiZabel - could you try and pip install the latest version of casa-formats-io?