https://bugs.kde.org/show_bug.cgi?id=414609

            Bug ID: 414609
           Summary: Astrometry Solving - NUMPY Missing
           Product: kstars
           Version: 3.3.8
          Platform: Other
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mutla...@ikarustech.com
          Reporter: terry.w...@mac.com
  Target Milestone: ---

Created attachment 124154
  --> https://bugs.kde.org/attachment.cgi?id=124154&action=edit
screenprint

SUMMARY Problems trying to run Astrometry Solving Offline Locally

Error message seem to suggest that NUMPY is not installed. I have python 2.7
and 3.6 installed and both of them have numpy installed - see terminal output
below. Also attached screen print showing Astrometry config screen - which
seems to suggest all Pythin requirements are installed. Is there a way to make
it re-install the python libs it requires?

This is the Kstars message output when I run Astrometry:

2019-11-28T12:56:43 Solver failed. Try again.
2019-11-28T12:56:43 Reading input file 1 of 1:
"/private/var/folders/km/hd0j2f356xd4ytkgl33_8vx00000gn/T/fitsqpgEQI.fits"...
Extracting sources...
Downsampling by 2...
simplexy: found 28 sources.
Traceback (most recent call last):
  File "/Applications/KStars.app/Contents/MacOS/astrometry/bin/removelines",
line 14, in <module>
    from astrometry.util.removelines import main
  File
"/Applications/KStars.app/Contents/MacOS/astrometry/lib/python/astrometry/util/removelines.py",
line 10, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'
augment-xylist.c:589:backtick Failed to run command:
/Applications/KStars.app/Contents/MacOS/astrometry/bin/removelines
/tmp/tmp.xyls.HzDBLH /tmp/tmp.removelines.QJn11N
 ioutils.c:567:run_command_get_outputs Command failed: return value 1
2019-11-28T12:56:43
/Applications/KStars.app/Contents/MacOS/astrometry/bin/solve-field -O
--no-plots --no-verify --resort --downsample 2 -L 20.359 -H 25.449 -u aw -3
23.7375 -4 30.7589 -5 30 --config
/Applications/KStars.app/Contents/MacOS/astrometry/bin/astrometry.cfg -W
/private/var/folders/km/hd0j2f356xd4ytkgl33_8vx00000gn/T/solution.wcs
/private/var/folders/km/hd0j2f356xd4ytkgl33_8vx00000gn/T/fitsqpgEQI.fits
2019-11-28T12:56:43 Starting solver...
2019-11-28T12:56:43 export
PATH=/Applications/KStars.app/Contents/MacOS/netpbm/bin:/usr/local/opt/python/libexec/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
2019-11-28T12:56:43 Solver iteration #1
2019-11-28T12:56:43 Image received.
2019-11-28T12:56:38 Capturing image...


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 10.14.6
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

TheWebbsRetinaMacbookPro:~ webbt$ python3
Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gibberish
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'gibberish'
>>> import numpy
>>> quit()
TheWebbsRetinaMacbookPro:~ webbt$ python
Python 2.7.16 (default, Oct 16 2019, 00:34:56) 
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gibberish
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gibberish
>>> import numpy
>>> quit()
TheWebbsRetinaMacbookPro:~ webbt$

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to