日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux 版本的scipy,Linux 系统中 SciPy (Python 3) 编程环境

發布時間:2023/12/19 linux 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux 版本的scipy,Linux 系统中 SciPy (Python 3) 编程环境 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Linux 系統中 SciPy (Python 3) 編程環境

SciPy (pronounced “Sigh Pie”) is a Python-based ecosystem of open-source software for mathematics, science, and engineering.

SciPy (Sigh Pie) 是一個基于 Python 的數學、科學和工程開源軟件生態系統。

1. ImportError: No module named ‘scipy’

guipc@deepnorth01:~/people_counting_api$ python3 people_counting_api.py -input_file ./config_file/setup_2.json

Traceback (most recent call last):

File "people_counting_api.py", line 21, in import pyevent.deep_sort_server as event

File "/home/guipc/people_counting_api/pyevent/deep_sort_server.py", line 8, in from lib.deep_sort.tracker import Tracker

File "/home/guipc/people_counting_api/pyevent/lib/deep_sort/tracker.py", line 4, in from . import kalman_filter

File "/home/guipc/people_counting_api/pyevent/lib/deep_sort/kalman_filter.py", line 3, in import scipy.linalg

ImportError: No module named 'scipy'

2. Installation

sudo pip3 install scipy

sudo pip3 install -i https://pypi.douban.com/simple scipy

guipc@deepnorth01:~/people_counting_api$ sudo pip3 install -i https://pypi.douban.com/simple scipy

[sudo] password for guipc:

The directory '/home/guipc/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions ar of that directory. If executing pip with sudo, you may want sudo's -H flag.

The directory '/home/guipc/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owneat directory. If executing pip with sudo, you may want sudo's -H flag.

Collecting scipy

Downloading https://pypi.doubanio.com/packages/7a/0e/3781e028d62a8422244582abd8f084e6314297026760587c85607f687bf3/scipy-1.3.1-cp35-cp35m-manylinux1_x86_64.whl (25

100% |████████████████████████████████| 25.1MB 61kB/s

Requirement already satisfied (use --upgrade to upgrade): numpy>=1.13.3 in /usr/local/lib/python3.5/dist-packages (from scipy)

Installing collected packages: scipy

Successfully installed scipy-1.3.1

You are using pip version 8.1.1, however version 19.2.3 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

guipc@deepnorth01:~/people_counting_api$

3. SciPy 版本

guipc@deepnorth01:~$ python3

Python 3.5.2 (default, Nov 12 2018, 13:43:14)

[GCC 5.4.0 20160609] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> import scipy

>>> print(scipy.version)

>>>

>>> print(scipy.version.version)

1.3.1

>>>

>>> exit()

guipc@deepnorth01:~$

總結

以上是生活随笔為你收集整理的linux 版本的scipy,Linux 系统中 SciPy (Python 3) 编程环境的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。