Closed tosaric closed 2 years ago
You may have to modify the PYTHONPATH variable to point to wherever the astrometry libraries are installed, eg maybe
export PYTHONPATH=${PYTHONPATH}:/opt/miniconda3/envs/astrometry/lib/python
Works like a charm, thanks
I have successfully installed(via conda) and used astrometry. Inside activated conda environment, which python command gives:
"/opt/miniconda3/envs/astrometry/bin/python"
as it should. However, when I try to import astrometry as a module, although I thought that astrometry is a standalone program, not a library, I am getting:python -c "import astrometry" Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'astrometry'