uv icon indicating copy to clipboard operation
uv copied to clipboard

pynmstar failure to compile sub package

Open varioustoxins opened this issue 5 months ago • 10 comments

HI if I do uv tool install nef-pipelines it all appears to work However, when I run the command nef [the main entry point to my application in nef-pipelines], I get

raise ImportError('Could not import cnmrstar sub-module! Your installation appears to be broken.')

This appears to be because the dependant c file from the package pynmstar.cnmrstar doesn't appear to be compiled properly. I appear to have had similar but different problems as the c component seems to require the latest setup tools to compile. So when using pip I have to do

pip install --upgrade wheel setuptools

and sometimes

pip install --upgrade wheel setuptools backports.tarfile

to get the installation to work, this is on a centos 7 system but I have had this problem elsewhere

this is with the latest uv at time of writing 0.4.13

varioustoxins avatar Sep 20 '24 16:09 varioustoxins