kgullikson88 / Telluric-Fitter

Telluric fitting made easy
http://telfit.readthedocs.org/en/latest/
MIT License
20 stars 17 forks source link

Installation is not working #41

Open ayozeah opened 3 years ago

ayozeah commented 3 years ago

Hi!

I tried "pip install TelFit" but it didn't work. I get this message: ERROR: No .egg-info directory found in /private/var/folders/2j/x__zj2956495x65fkwzs46500000gn/T/pip-pip-egg-info-3kciamz7

Is there any alternative?

Thanks, Ayoze

shihyuntang commented 2 years ago

i am not sure what was happening, but maybe try to do with the source install.

shihyuntang commented 2 years ago

Ok, looks like this might be a bug for any installation with pip now... weird... I tried the source install with python -m pip install -e . and get the similar error. @gully or @kgullikson88 might need to take a look.

@ayozeah after clone the repo, and cd into the Telluric-Fitter dir. Try to do the source install via these commands

python setup.py build
python setup.py install

I just tried and it works! hope this help!

shihyuntang commented 2 years ago

Oops, sorry, found the solution at https://github.com/actions/setup-python/issues/165 looks like we just need to update the setuptools package...

@ayozeah try to do conda update setuptools if you are using conda