Closed cscherrer closed 5 years ago
@cscherrer The deprecated numpy API message is just a warning and can be ignored. Unfortunately I'm not sure what's actually going wrong. Somehow, _util.o, which you've just compiled with your gcc, is not compatible with your gcc? There may be some problem with your development environment. I would suggest trying to build another Cython package to see if you get the same error. You could make your own simple example, or maybe try this one:
https://github.com/modusdatascience/choldate
If you find that you can compile a simple cython package but not py-earth, I would suggest:
Rebuild your conda environment, delete any build directory, .o, or .so files from py-earth's source directory, and try again.
If that doesn't work, post here again with details about your conda, numpy, python, and cython versions, as well as operating system and what installation process you are using.
If you're not already, installing via conda or pip may be easier.
Thanks, I found that because I'm using miniconda, I had a conda installation of cython, but only a system gcc. I fixed this, but I'm still getting the error.
I don't see this in conda-forge, how can I conda install it?
It's name on conda-forge is sklearn-contrib-py-earth
, which probably should be advertised somewhere. So, to install you can do:
conda install -c conda-forge sklearn-contrib-py-earth
Oh weird, that seemed to have worked but couldn't run any examples, and the installation somehow broke my jupyter. Probably should be testing these things in a conda environment
@cscherrer I can only share your bafflement. I you find any clues and want to share them, I could perhaps help more. In these kinds of situations I usually just start a new environment from scratch.
Yeah I'm going to do some general system updates and try in a new environment. Internet is spotty right now so it's taking much longer than usual. I'll let you know if there's a definitive solution or evidence the error is specific to py-earth. I'll close this issue for now at least, thank you for your time!
Thanks for your work on this, looks like great stuff. I'm hitting an installation error:
I haven't used Cython, so I'm not sure how to go about digging into this. Any suggestions?