当前位置:网站首页>异常处理:pyemd或PyEMD找不到
异常处理:pyemd或PyEMD找不到
2022-07-29 04:17:00 【卡伊德】
前言
在不同的程序中通常会使用不同的导包方式,如
from pyemd import emd
from PyEMD import EMD
错误
如果按照网上的办法 什么pip install PyEMD或者pip install EMD-signal等。只会造成各式各样的错误,如找不到pyemd、找不到PyEMD、找不到EMD 等等。
以下是个例子:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyemd'
解决
只需两步,你用大写的导入、小写的导入都可以,随便整。
安装两个包:
pip install EMD-signal
pip install pyemd
博主的问题就迎刃而解。以下是解决了之后的效果。
Python 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:21)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyemd import emd
>>> from PyEMD import EMD
>>>
完美解决,撒花!
边栏推荐
- 2021 sist summer camp experience + record post of School of information, Shanghai University of science and technology
- Object detection: object_ Detection API +ssd target detection model
- 不会就坚持59天吧 替换单词
- 从淘宝,天猫,1688,微店,京东,苏宁,淘特等其他平台一键复制商品到拼多多平台(批量上传宝贝详情接口教程)
- 不会就坚持60天吧 神奇的字典
- Differences and principles of bio, NiO and AIO
- Pix2.4.8 from start to installation (2021.4.4)
- 如何查询版本的提交号
- Implementation of jump connection of RESNET (pytorch)
- Code or script to speed up the video playback of video websites
猜你喜欢

C语言力扣第61题之旋转链表。双端队列与构造循环链表

信号处理中的反傅里叶变换(IFFT)原理

14.haproxy+keepalived负载均衡和高可用

为什么opengauss启动的时候这么多的unknown?

Installation and use of stm32cubemx (5.3.0)

Introduction and examples of parameters in Jenkins parametric construction

不会就坚持60天吧 神奇的字典

Not for 63 days. The biggest XOR

Not for 60 days, magical dictionary

你真的会写Restful API吗?
随机推荐
店铺排名问题,如何解决?
Database SQL statement realizes function query of data decomposition
Taobao product details interface (product details page data interface)
Machine vision series 3:vs2019 opencv environment configuration
Jenkins 参数化构建中 各参数介绍与示例
BIO、NIO、AIO的区别和原理
How to query the submission number of a version
12. Priority queue and inert queue
Machine vision Series 1: Visual Studio 2019 dynamic link library DLL establishment
Locally call tensorboard and Jupiter notebook on the server (using mobaxterm)
Kotlin's list, map, set and other collection classes do not specify types
Change the value of the argument by address through malloc and pointer
[kvm] install KVM
信号处理中的反傅里叶变换(IFFT)原理
Const char* and char*, string constants
15.federation
Cad2020 introductory learning (2021.4.13)
"Weilai Cup" 2022 Niuke summer multi school training camp 1 J serval and essay (heuristic merger)
安装postgis时报找不到“POSTGIS_VERSION”这个函数
Don't the JDBC SQL connector of the big guys Flink now support all databases, such as vertica?