PX4 / flight_review

web application for flight log analysis & review
https://logs.px4.io/
BSD 3-Clause "New" or "Revised" License
195 stars 191 forks source link

RROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly #235

Closed mengchaoheng closed 1 year ago

mengchaoheng commented 2 years ago

on m1 chip arm64-ubuntu20.04, cant be solve by sudo apt install python3-scipy:

RROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly
parallels@ubuntu-linux-20-04-desktop:~/flight_review/app$ sudo apt-cache search scipy
gvb - visual simulator of 1 and 2-dimensional vibrations
mayavi2 - scientific visualization package for 2-D and 3-D data
python-fluids-doc - Python fluid dynamics and engineering design library documentation
python-guiqwt-doc - efficient 2D data-plotting library - Documentation
python-lmfit-doc - Least-Squares Minimization with Constraints (Documentation)
python-scipy-doc - scientific library for Python - documentation
python3-astroml - Python 3 Machine Learning library for astronomy
python3-duecredit - Publications (and donations) tracer
python3-fastcluster - Fast hierarchical clustering routines for Python 3
python3-fluids - Python 3 fluid dynamics and engineering design library
python3-guiqwt - efficient 2D data-plotting library - Python 3
python3-lmfit - Least-Squares Minimization with Constraints (Python 3)
python3-pykdtree - Fast kd-tree implementation with OpenMP-enabled queries (Python 3 version)
python3-qutip - python package for simulating the dynamics of open quantum systems
python3-scipy - scientific tools for Python 3
python3-scipy-dbg - scientific tools for Python 3 - debugging symbols
python3-seaborn - statistical visualization library for Python3
python3-sparse - multidimensional sparse arrays for Python
r-cran-fastcluster - Fast hierarchical clustering routines for GNU R
r-cran-rspectra - GNU R solvers for large-scale eigenvalue and SVD problems
sagemath - Open Source Mathematical Software
sagemath-common - Open Source Mathematical Software - architecture-independent files
sagemath-doc - Open Source Mathematical Software - documentation
sagemath-jupyter - Open Source Mathematical Software - Jupyter kernel
stimfit - Program for viewing and analyzing electrophysiological data
stimfit-dbg - Debug symbols for stimfit
parallels@ubuntu-linux-20-04-desktop:~/flight_review/app$ sudo apt install python3-scipy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  liblbfgsb0 python3-decorator python3-numpy
Suggested packages:
  gfortran python-numpy-doc python3-pytest python3-numpy-dbg python-scipy-doc
The following NEW packages will be installed:
  liblbfgsb0 python3-decorator python3-numpy python3-scipy
0 upgraded, 4 newly installed, 0 to remove and 46 not upgraded.
Need to get 13.5 MB of archives.
After this operation, 62.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 liblbfgsb0 arm64 3.0+dfsg.3-7build1 [25.6 kB]
Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal/main arm64 python3-decorator all 4.4.2-0ubuntu1 [10.3 kB]
Get:3 https://mirrors.ustc.edu.cn/ubuntu-ports focal/main arm64 python3-numpy arm64 1:1.17.4-5ubuntu3 [3,234 kB]
Get:4 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 python3-scipy arm64 1.3.3-3build1 [10.2 MB]
Fetched 13.5 MB in 1s (9,186 kB/s)        
Selecting previously unselected package liblbfgsb0:arm64.
(Reading database ... 235389 files and directories currently installed.)
Preparing to unpack .../liblbfgsb0_3.0+dfsg.3-7build1_arm64.deb ...
Unpacking liblbfgsb0:arm64 (3.0+dfsg.3-7build1) ...
Selecting previously unselected package python3-decorator.
Preparing to unpack .../python3-decorator_4.4.2-0ubuntu1_all.deb ...
Unpacking python3-decorator (4.4.2-0ubuntu1) ...
Selecting previously unselected package python3-numpy.
Preparing to unpack .../python3-numpy_1%3a1.17.4-5ubuntu3_arm64.deb ...
Unpacking python3-numpy (1:1.17.4-5ubuntu3) ...
Selecting previously unselected package python3-scipy.
Preparing to unpack .../python3-scipy_1.3.3-3build1_arm64.deb ...
Unpacking python3-scipy (1.3.3-3build1) ...
Setting up python3-decorator (4.4.2-0ubuntu1) ...
Setting up python3-numpy (1:1.17.4-5ubuntu3) ...
Setting up liblbfgsb0:arm64 (3.0+dfsg.3-7build1) ...
Setting up python3-scipy (1.3.3-3build1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
parallels@ubuntu-linux-20-04-desktop:~/flight_review/app$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting bokeh==2.1.1
  Using cached bokeh-2.1.1-py3-none-any.whl
Requirement already satisfied: jinja2 in /home/parallels/.local/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (3.0.3)
Collecting jupyter
  Using cached jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting pyfftw
  Using cached pyFFTW-0.13.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB)
Collecting pylint
  Using cached pylint-2.13.5-py3-none-any.whl (437 kB)
Requirement already satisfied: pyulog>=0.9 in /home/parallels/.local/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (0.9.0)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (2.22.0)
Requirement already satisfied: scipy==1.3.3 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 8)) (1.3.3)
Collecting simplekml
  Using cached simplekml-1.3.6-py3-none-any.whl
Collecting smopy
  Using cached smopy-0.0.8-py3-none-any.whl (6.4 kB)
Requirement already satisfied: PyYAML>=3.10 in /usr/lib/python3/dist-packages (from bokeh==2.1.1->-r requirements.txt (line 1)) (5.3.1)
Requirement already satisfied: numpy>=1.11.3 in /home/parallels/.local/lib/python3.8/site-packages (from bokeh==2.1.1->-r requirements.txt (line 1)) (1.22.3)
Requirement already satisfied: pillow>=4.0 in /usr/lib/python3/dist-packages (from bokeh==2.1.1->-r requirements.txt (line 1)) (7.0.0)
Collecting tornado>=5.1
  Using cached tornado-6.1-cp38-cp38-manylinux2014_aarch64.whl (427 kB)
Requirement already satisfied: packaging>=16.8 in /home/parallels/.local/lib/python3.8/site-packages (from bokeh==2.1.1->-r requirements.txt (line 1)) (21.3)
Collecting typing-extensions>=3.7.4
  Using cached typing_extensions-4.2.0-py3-none-any.whl (24 kB)
Requirement already satisfied: python-dateutil>=2.1 in /usr/lib/python3/dist-packages (from bokeh==2.1.1->-r requirements.txt (line 1)) (2.7.3)
Requirement already satisfied: MarkupSafe>=2.0 in /home/parallels/.local/lib/python3.8/site-packages (from jinja2->-r requirements.txt (line 2)) (2.1.0)
Collecting jupyter-console
  Using cached jupyter_console-6.4.3-py3-none-any.whl (22 kB)
Collecting qtconsole
  Using cached qtconsole-5.3.0-py3-none-any.whl (120 kB)
Collecting ipykernel
  Using cached ipykernel-6.13.0-py3-none-any.whl (131 kB)
Collecting nbconvert
  Using cached nbconvert-6.5.0-py3-none-any.whl (561 kB)
Collecting ipywidgets
  Using cached ipywidgets-7.7.0-py2.py3-none-any.whl (123 kB)
Collecting notebook
  Using cached notebook-6.4.11-py3-none-any.whl (9.9 MB)
Collecting mccabe<0.8,>=0.6
  Using cached mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Collecting astroid<=2.12.0-dev0,>=2.11.2
  Using cached astroid-2.11.3-py3-none-any.whl (250 kB)
Collecting isort<6,>=4.2.5
  Using cached isort-5.10.1-py3-none-any.whl (103 kB)
Collecting platformdirs>=2.2.0
  Using cached platformdirs-2.5.2-py3-none-any.whl (14 kB)
Requirement already satisfied: tomli>=1.1.0 in /home/parallels/.local/lib/python3.8/site-packages (from pylint->-r requirements.txt (line 5)) (2.0.1)
Collecting dill>=0.2
  Using cached dill-0.3.4-py2.py3-none-any.whl (86 kB)
Requirement already satisfied: matplotlib in /home/parallels/.local/lib/python3.8/site-packages (from smopy->-r requirements.txt (line 10)) (3.5.1)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from smopy->-r requirements.txt (line 10)) (1.14.0)
Requirement already satisfied: setuptools>=20.0 in /home/parallels/.local/lib/python3.8/site-packages (from astroid<=2.12.0-dev0,>=2.11.2->pylint->-r requirements.txt (line 5)) (62.1.0)
Collecting wrapt<2,>=1.11
  Using cached wrapt-1.14.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (81 kB)
Collecting lazy-object-proxy>=1.4.0
  Using cached lazy_object_proxy-1.7.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (60 kB)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/parallels/.local/lib/python3.8/site-packages (from packaging>=16.8->bokeh==2.1.1->-r requirements.txt (line 1)) (3.0.7)
Collecting traitlets>=5.1.0
  Using cached traitlets-5.1.1-py3-none-any.whl (102 kB)
Collecting debugpy>=1.0
  Using cached debugpy-1.6.0-py2.py3-none-any.whl (4.1 MB)
Collecting matplotlib-inline>=0.1
  Using cached matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting jupyter-client>=6.1.12
  Using cached jupyter_client-7.2.2-py3-none-any.whl (130 kB)
Collecting nest-asyncio
  Using cached nest_asyncio-1.5.5-py3-none-any.whl (5.2 kB)
Requirement already satisfied: psutil in /home/parallels/.local/lib/python3.8/site-packages (from ipykernel->jupyter->-r requirements.txt (line 3)) (5.9.0)
Collecting ipython>=7.23.1
  Using cached ipython-8.2.0-py3-none-any.whl (750 kB)
Collecting widgetsnbextension~=3.6.0
  Using cached widgetsnbextension-3.6.0-py2.py3-none-any.whl (1.6 MB)
Collecting nbformat>=4.2.0
  Using cached nbformat-5.3.0-py3-none-any.whl (73 kB)
Collecting ipython-genutils~=0.2.0
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting jupyterlab-widgets>=1.0.0
  Using cached jupyterlab_widgets-1.1.0-py3-none-any.whl (245 kB)
Requirement already satisfied: pygments in /usr/lib/python3/dist-packages (from jupyter-console->jupyter->-r requirements.txt (line 3)) (2.3.1)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Using cached prompt_toolkit-3.0.29-py3-none-any.whl (381 kB)
Requirement already satisfied: fonttools>=4.22.0 in /home/parallels/.local/lib/python3.8/site-packages (from matplotlib->smopy->-r requirements.txt (line 10)) (4.30.0)
Requirement already satisfied: cycler>=0.10 in /home/parallels/.local/lib/python3.8/site-packages (from matplotlib->smopy->-r requirements.txt (line 10)) (0.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/parallels/.local/lib/python3.8/site-packages (from matplotlib->smopy->-r requirements.txt (line 10)) (1.3.2)
Collecting pandocfilters>=1.4.1
  Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
Collecting pygments
  Using cached Pygments-2.11.2-py3-none-any.whl (1.1 MB)
Collecting mistune<2,>=0.8.1
  Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting nbclient>=0.5.0
  Using cached nbclient-0.6.0-py3-none-any.whl (70 kB)
Collecting jupyter-core>=4.7
  Using cached jupyter_core-4.10.0-py3-none-any.whl (87 kB)
Collecting tinycss2
  Using cached tinycss2-1.1.1-py3-none-any.whl (21 kB)
Requirement already satisfied: entrypoints>=0.2.2 in /usr/lib/python3/dist-packages (from nbconvert->jupyter->-r requirements.txt (line 3)) (0.3)
Collecting defusedxml
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting jupyterlab-pygments
  Using cached jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
Collecting bleach
  Using cached bleach-5.0.0-py3-none-any.whl (160 kB)
Collecting terminado>=0.8.3
  Using cached terminado-0.13.3-py3-none-any.whl (14 kB)
Collecting pyzmq>=17
  Using cached pyzmq-22.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB)
Collecting prometheus-client
  Using cached prometheus_client-0.14.1-py3-none-any.whl (59 kB)
Collecting Send2Trash>=1.8.0
  Using cached Send2Trash-1.8.0-py3-none-any.whl (18 kB)
Collecting argon2-cffi
  Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting qtpy>=2.0.1
  Using cached QtPy-2.0.1-py3-none-any.whl (65 kB)
Collecting backcall
  Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: decorator in /usr/lib/python3/dist-packages (from ipython>=7.23.1->ipykernel->jupyter->-r requirements.txt (line 3)) (4.4.2)
Collecting pickleshare
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting stack-data
  Using cached stack_data-0.2.0-py3-none-any.whl (21 kB)
Requirement already satisfied: pexpect>4.3 in /usr/lib/python3/dist-packages (from ipython>=7.23.1->ipykernel->jupyter->-r requirements.txt (line 3)) (4.6.0)
Collecting jedi>=0.16
  Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
Collecting python-dateutil>=2.1
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 408.7 kB/s eta 0:00:00
Requirement already satisfied: jsonschema>=2.6 in /home/parallels/.local/lib/python3.8/site-packages (from nbformat>=4.2.0->ipywidgets->jupyter->-r requirements.txt (line 3)) (4.4.0)
Collecting fastjsonschema
  Using cached fastjsonschema-2.15.3-py3-none-any.whl (22 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting ptyprocess
  Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting argon2-cffi-bindings
  Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (80 kB)
Collecting soupsieve>1.2
  Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Collecting webencodings
  Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting parso<0.9.0,>=0.8.0
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Requirement already satisfied: attrs>=17.4.0 in /home/parallels/.local/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat>=4.2.0->ipywidgets->jupyter->-r requirements.txt (line 3)) (21.4.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /home/parallels/.local/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat>=4.2.0->ipywidgets->jupyter->-r requirements.txt (line 3)) (0.18.1)
Requirement already satisfied: importlib-resources>=1.4.0 in /home/parallels/.local/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat>=4.2.0->ipywidgets->jupyter->-r requirements.txt (line 3)) (5.4.0)
Collecting cffi>=1.0.1
  Using cached cffi-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (448 kB)
Collecting pure-eval
  Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting executing
  Using cached executing-0.8.3-py2.py3-none-any.whl (16 kB)
Collecting asttokens
  Using cached asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Requirement already satisfied: zipp>=3.1.0 in /home/parallels/.local/lib/python3.8/site-packages (from importlib-resources>=1.4.0->jsonschema>=2.6->nbformat>=4.2.0->ipywidgets->jupyter->-r requirements.txt (line 3)) (3.7.0)
Installing collected packages: webencodings, wcwidth, simplekml, Send2Trash, pure-eval, ptyprocess, pickleshare, mistune, ipython-genutils, fastjsonschema, executing, backcall, wrapt, typing-extensions, traitlets, tornado, tinycss2, soupsieve, pyzmq, python-dateutil, pygments, pyfftw, pycparser, prompt-toolkit, prometheus-client, platformdirs, parso, pandocfilters, nest-asyncio, mccabe, lazy-object-proxy, jupyterlab-widgets, jupyterlab-pygments, isort, dill, defusedxml, debugpy, bleach, asttokens, terminado, stack-data, qtpy, matplotlib-inline, jupyter-core, jedi, cffi, bokeh, beautifulsoup4, astroid, smopy, pylint, nbformat, jupyter-client, ipython, argon2-cffi-bindings, nbclient, ipykernel, argon2-cffi, qtconsole, nbconvert, jupyter-console, notebook, widgetsnbextension, ipywidgets, jupyter
Successfully installed Send2Trash-1.8.0 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 astroid-2.11.3 asttokens-2.0.5 backcall-0.2.0 beautifulsoup4-4.11.1 bleach-5.0.0 bokeh-2.1.1 cffi-1.15.0 debugpy-1.6.0 defusedxml-0.7.1 dill-0.3.4 executing-0.8.3 fastjsonschema-2.15.3 ipykernel-6.13.0 ipython-8.2.0 ipython-genutils-0.2.0 ipywidgets-7.7.0 isort-5.10.1 jedi-0.18.1 jupyter-1.0.0 jupyter-client-7.2.2 jupyter-console-6.4.3 jupyter-core-4.10.0 jupyterlab-pygments-0.2.2 jupyterlab-widgets-1.1.0 lazy-object-proxy-1.7.1 matplotlib-inline-0.1.3 mccabe-0.7.0 mistune-0.8.4 nbclient-0.6.0 nbconvert-6.5.0 nbformat-5.3.0 nest-asyncio-1.5.5 notebook-6.4.11 pandocfilters-1.5.0 parso-0.8.3 pickleshare-0.7.5 platformdirs-2.5.2 prometheus-client-0.14.1 prompt-toolkit-3.0.29 ptyprocess-0.7.0 pure-eval-0.2.2 pycparser-2.21 pyfftw-0.13.0 pygments-2.11.2 pylint-2.13.5 python-dateutil-2.8.2 pyzmq-22.3.0 qtconsole-5.3.0 qtpy-2.0.1 simplekml-1.3.6 smopy-0.0.8 soupsieve-2.3.2.post1 stack-data-0.2.0 terminado-0.13.3 tinycss2-1.1.1 tornado-6.1 traitlets-5.1.1 typing-extensions-4.2.0 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.6.0 wrapt-1.14.0
bkueng commented 1 year ago

Looks like this is unrelated to flight_review.