Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Trouble installing #27

@KeironO

Description

@KeironO

Describe the bug

I've just caught up with my inbox and a couple of you have emailed me in regards to being unable to install dimepy on newer versions of Python. I can't believe I'm having to say this, but please, in future, submit an issue as I prioritise them over cold emails. My inbox is not a suitable place to report issues, or ask for help.

To Reproduce
Steps to reproduce the behavior:

  1. Set up a virtualenv
  2. Install dimepy through pip
  3. Attempt to import dimepy.
  4. See error, given below:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-44-01df2d44ecbd> in <module>
----> 1 from dimepy import Spectrum

~/Projects/mtbls/env/lib/python3.9/site-packages/dimepy/__init__.py in <module>
      2 # encoding: utf-8
      3 
----> 4 from .spectrum import Spectrum
      5 from .spectrumList import SpectrumList
      6 from .scan import Scan

~/Projects/mtbls/env/lib/python3.9/site-packages/dimepy/spectrum.py in <module>
     29 import itertools
     30 import os
---> 31 import matplotlib.pyplot as plt
     32 
     33 """

~/Projects/mtbls/env/lib64/python3.9/site-packages/matplotlib/__init__.py in <module>
    172 
    173 
--> 174 _check_versions()
    175 
    176 

~/Projects/mtbls/env/lib64/python3.9/site-packages/matplotlib/__init__.py in _check_versions()
    157     # Quickfix to ensure Microsoft Visual C++ redistributable
    158     # DLLs are loaded before importing kiwisolver
--> 159     from . import ft2font
    160 
    161     for modname, minver in [

ImportError: numpy.core.multiarray failed to import


Expected behavior
For it to be imported.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Red Hat Fedora 40 GNU/Linux
  • Python Version: 3.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions