exoplanet icon indicating copy to clipboard operation
exoplanet copied to clipboard

Cannot run the testing after install the exoplanet package: does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

Open LagrangePoint3 opened this issue 1 year ago • 1 comments

Describe the bug I followed the instructions in https://docs.exoplanet.codes/en/latest/user/install/. I installed the exoplanet through pip and initially it worked. However, when I tried to run the test python -m pip install -e ".[test]"

It ran into error like this: does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

I'm using a Mac with M1 chip. My python has been upgraded to 3.10. Can anyone tell us what's wrong with it? What should I do to solve this problem?

LagrangePoint3 avatar Oct 12 '24 14:10 LagrangePoint3

Having identical issue on openSUSE 15.6 linux.

tckosvic avatar Dec 14 '24 17:12 tckosvic

Same problem on Mac M1 chip. @dfm

oscarfloresgaitan avatar Jun 23 '25 21:06 oscarfloresgaitan

I tested Python 3.10 and Python 3.13 in fresh conda environments and both worked. Two things to check just in case:

  • Can the problem be reproduced in a clean virtual environment
  • Are you in the exoplanet directory? I can reproduce this problem if I run the command from outside the exoplanet directory, i.e. if I do not cd exoplanet after the git clone command in the instructions.

vandalt avatar Jun 25 '25 13:06 vandalt