Open astroraun opened 5 months ago
Hi, I've tried to install the package with pip and from source, but when importing kdeLF.kde_fortran, I get a module not found error. I also tried finding it manually, but failed. Everything else seems fine and I have installed the Intel kit for fortran.
What's the version of your python? What's the version for your Numpy?
Could you take a screenshot to show the error?
When I try to install it with pip, the error is "failed building wheel for kdeLF".
And when I try to install from Github, it says I don't have or it can't find numpy, although with the pip installation it clearly can, as you can see from the first picture.
When I try the test I get ModuleNotFoundError: No module named 'kdeLF.kde_fortran'. I updated everything just in case and then tried to set up the package manually by running the setup files in notebook, but that raised a whole bunch of other errors without managing to configure the needed files. Can you perhaps suggest, in which order could I maybe run the files to get the package working?
Are you using the anaconda3 environment to run your Python? and is the version of you Python 3.9?
Yes and yes.
I think the problem lies with anaconda3. In the anaconda3 environment, the ifort compiler may not be found. So the first solution is that you do not use the anaconda3 environment to run Python, instead, you run your Python directly on Ubuntu. If you prefer to use the anaconda3 environment, I suggest that you update your Python to be 3.10 version.
Does it work now?
Hi, I've tried to install the package with pip and from source, but when importing kdeLF.kde_fortran, I get a module not found error. I also tried finding it manually, but failed. Everything else seems fine and I have installed the Intel kit for fortran.