jenndrei / BayHunter

McMC transdimensional Bayesian inversion of surface wave dispersion and receiver functions
https://jenndrei.github.io/BayHunter
GNU General Public License v3.0
103 stars 43 forks source link

Can't install BayHunter #17

Closed yjlimm closed 1 month ago

yjlimm commented 1 month ago

To install BayHunter, I installed packages in my conda environment • python==3.8.5 • matplotlib==3.7.3 • numpy==1.24.4 • pyPdf=4.3.1 • configobj=5.0.8 • zmq=0.0.0 (installed by "pip install zmq") (pyzaq==26.1.0 also installed) • Cython==3.0.11

and type "python setup.py install" or "sudo python setup.py install". but, I can't install BayHunter...

When I type "from BayHunter import utils", ##################################### Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'BayHunter' ##################################### is returned.

I want to install this program..

kuanyuke commented 1 month ago

Did you get an error message during installation? If so, could you provide me with the error message? It seems that the package may not have been installed correctly in your conda environment's site-packages. I re-downloaded the package and set up a new conda environment similar to yours on different machines without encountering any issues. You can try running pip install --upgrade setuptools before executing python setup.py install to ensure that setuptools is up to date and see if that resolves the issue.

yjlimm commented 1 month ago

I install successfully! maybe, numpy has problem.. Thank you!!