Yeah indeed my OS is Ubuntu 20.04. I don't see any error messages during installing 0.94. A different error pops out, if I deactivate my conda base environment:
/.local/lib/python3.8/site-packages/pyfits/__init__.py:21: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
warnings.warn('PyFITS is deprecated, please use astropy.io.fits',
/usr/lib/python3/dist-packages/astrometry/util/fits.py:558: FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
np.bool:'L',
File "/usr/bin/removelines", line 15, in <module>
sys.exit(main())
File "/usr/lib/python3/dist-packages/astrometry/util/removelines.py", line 77, in main
return removelines(infile, outfile, xcol=opt.xcol, ycol=opt.ycol,
File "/usr/lib/python3/dist-packages/astrometry/util/removelines.py", line 54, in removelines
T.writeto(outfile)
File "/usr/lib/python3/dist-packages/astrometry/util/fits.py", line 524, in write_to
fc = self.to_fits_columns(columns)
File "/usr/lib/python3/dist-packages/astrometry/util/fits.py", line 558, in to_fits_columns
np.bool:'L',
File "/.local/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecationsaugment-xylist.c:591:backtick Failed to run command: /usr/bin/removelines /tmp/tmp.xyls.zS5Kq4 /tmp/tmp.removelines.uYh8d3
I've tried with reinstall relevant dependencies, but I'm told that every of them is already the latest available version. How should I fix it? Thanks!