Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9609

Conda Python 3 import problem running lsst_dm_stack_demo

    Details

    • Type: Story
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      There is a problem with importing swig created modules with the current Conda python 3 artifacts on both Linux and MacOS.

      han:lsst_dm_stack_demo jmatt$ ./bin/demo.sh
      Setting up: astrometry_net_data             Flavor: DarwinX86  Version: LOCAL:/Users/jmatt/dev/lsst/build/lsst_dm_stack_demo/astrometry_net_data
      Could not import lsstcppimport; please ensure the base package has been built (not just setup).
       
      Traceback (most recent call last):
        File "/Users/jmatt/miniconda3/opt/lsst/ip_isr/python/lsst/ip/isr/isrLib.py", line 24, in swig_import_helper
          from . import _isrLib
      ImportError: dynamic module does not define module export function (PyInit__isrLib)
       
      During handling of the above exception, another exception occurred:
       
      Traceback (most recent call last):
        File "/Users/jmatt/miniconda3/opt/lsst/pipe_tasks/bin/processCcd.py", line 24, in <module>
          from lsst.pipe.tasks.processCcd import ProcessCcdTask
        File "/Users/jmatt/miniconda3/opt/lsst/pipe_tasks/python/lsst/pipe/tasks/processCcd.py", line 22, in <module>
          from lsst.ip.isr import IsrTask
        File "/Users/jmatt/miniconda3/opt/lsst/ip_isr/python/lsst/ip/isr/__init__.py", line 24, in <module>
          from .isrLib import *
        File "/Users/jmatt/miniconda3/opt/lsst/ip_isr/python/lsst/ip/isr/isrLib.py", line 28, in <module>
          _isrLib = swig_import_helper()
        File "/Users/jmatt/miniconda3/opt/lsst/ip_isr/python/lsst/ip/isr/isrLib.py", line 27, in swig_import_helper
          return importlib.import_module('_isrLib')
        File "/Users/jmatt/miniconda3/lib/python3.5/importlib/__init__.py", line 126, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
      ImportError: No module named '_isrLib'
      

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                jmatt J Matt Peterson [X] (Inactive)
                Reporter:
                jmatt J Matt Peterson [X] (Inactive)
                Watchers:
                Frossie Economou, J Matt Peterson [X] (Inactive), Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel