astropy / pyregion

ds9 region parser for python
https://pyregion.readthedocs.io
MIT License
39 stars 38 forks source link

module error - astropy_helpers.setup_helpers #160

Closed AndrewOldnall closed 1 year ago

AndrewOldnall commented 1 year ago

Hi there,

I'm trying to install aplpy on my system (windows, through Jupyter notebook) using 'pip install git+https://github.com/astropy/pyregion.git' and I keep coming across this error; Running command git clone --filter=blob:none --quiet https://github.com/astropy/pyregion.git 'C:\Users\b21913ao\AppData\Local\Temp\pip-req-build-kdm3hz8e' Running command git submodule update --init --recursive -q error: subprocess-exited-with-error

python setup.py egg_info did not run successfully. exit code: 1

[6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\b21913ao\AppData\Local\Temp\pip-req-build-kdm3hz8e\setup.py", line 20, in from astropy_helpers.setup_helpers import (register_commands, get_debug_option, ModuleNotFoundError: No module named 'astropy_helpers.setup_helpers' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

Encountered error while generating package metadata.

See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

Any help would be great, Thanks

JHu-s commented 1 year ago

Thanks for sorting out this issue. I could install this package from the source now. But "pip install" is still broken. Could you publish the new version to pypi as well?