Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kadlu kadlu
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • kadlukadlu
  • Issues
  • #95

Closed
Open
Created Jan 13, 2022 by Matthew@matt_s☕Maintainer

import error when using python3.10

>>> import kadlu
/home/matt/.local/lib/python3.10/site-packages/kadlu/geospatial/data_sources/data_util.py:63: UserWarning: storage location not configured. storage location will be set to /home/matt/kadlu_data/.
use kadlu.storage_cfg('/path/to/new/directory') to configure a different storage location
  warnings.warn(f'''{msg} storage location will be set to {storage_location}.\n'''
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/matt/.local/lib/python3.10/site-packages/kadlu/__init__.py", line 40, in <module>
    from .sound.geophony import *
  File "/home/matt/.local/lib/python3.10/site-packages/kadlu/sound/geophony.py", line 8, in <module>
    from kadlu.sound.sound_speed import SoundSpeed
  File "/home/matt/.local/lib/python3.10/site-packages/kadlu/sound/sound_speed.py", line 3, in <module>
    import gsw
  File "/home/matt/.local/lib/python3.10/site-packages/gsw/__init__.py", line 34, in <module>
    from ._fixed_wrapped_ufuncs import *
  File "/home/matt/.local/lib/python3.10/site-packages/gsw/_fixed_wrapped_ufuncs.py", line 6, in <module>
    from ._wrapped_ufuncs import *
  File "/home/matt/.local/lib/python3.10/site-packages/gsw/_wrapped_ufuncs.py", line 6, in <module>
    from . import _gsw_ufuncs
ImportError: numpy.core.multiarray failed to import
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking