Skip to content

Bug: pip Install Gives Errors #68

@kimit0310

Description

@kimit0310

Description

pip install mobi-view gives error in runtime, see errors below:

Steps to Reproduce

mobi-view

Expected Results

the actual app

Actual Results

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "/Users/iktae.kim/anaconda3/bin/mobi-view", line 5, in
from MoBI_View.main import main
File "/Users/iktae.kim/anaconda3/lib/python3.11/site-packages/MoBI_View/main.py", line 19, in
from MoBI_View.views.main_app_view import MainAppView
File "/Users/iktae.kim/anaconda3/lib/python3.11/site-packages/MoBI_View/views/main_app_view.py", line 14, in
from MoBI_View.views import eeg_plot_widget, numeric_plot_widget
File "/Users/iktae.kim/anaconda3/lib/python3.11/site-packages/MoBI_View/views/eeg_plot_widget.py", line 10, in
import pyqtgraph as pg
File "/Users/iktae.kim/anaconda3/lib/python3.11/site-packages/pyqtgraph/init.py", line 246, in
from .imageview import *
File "/Users/iktae.kim/anaconda3/lib/python3.11/site-packages/pyqtgraph/imageview/init.py", line 6, in
from .ImageView import ImageView
File "/Users/iktae.kim/anaconda3/lib/python3.11/site-packages/pyqtgraph/imageview/ImageView.py", line 35, in
from bottleneck import nanmax, nanmin
File "/Users/iktae.kim/anaconda3/lib/python3.11/site-packages/bottleneck/init.py", line 7, in
from .move import (move_argmax, move_argmin, move_max, move_mean, move_median,
AttributeError: _ARRAY_API not found
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

zsh: abort mobi-view

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions