astrometry-net: unable to import python utilities associated with the astrometry.net code base #116710
Closed
2 tasks done
Labels
outdated
PR was locked due to age
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
The homebrew formula for astrometry.net is wonderful in that it successfully installs all the executables typically needed by this software package. However, I would also like to use some of the associated Python code, but there appears to be a problem when the higher-level Python utilities try to import the shared library which contains the lower-level (compiled) C code.
In addition, I get a "circular import" error when trying to import one of the (Python) dependencies,
fitsio
, which should also not occur.What happened (include all command output)?
First, add the astrometry.net Python libraries to PYTHONPATH
and then try a simple import of some of the utilities:
And probably unrelated, I get a "circular import" error when trying to import one of the code's Python dependencies, fitsio. (This error, however, is secondary for my work and not as important as not being able to import the astrometry.net Python utilities.)
What did you expect to happen?
I should have been able to import either the
astrometry.util.util
orfitsio
modules without error (i.e., with no Traceback on the command line).Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: