当前位置:网站首页>异常处理: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
>>>
完美解决,撒花!
边栏推荐
- (.*?) regular expression
- Deep learning training strategy -- warming up the learning rate
- 11. Backup switch
- 不会就坚持63天吧 最大的异或
- Machine vision series 3:vs2019 opencv environment configuration
- 从淘宝,天猫,1688,微店,京东,苏宁,淘特等其他平台一键复制商品到拼多多平台(批量上传宝贝详情接口教程)
- Installation and use of stm32cubemx (5.3.0)
- [Openstack] keystone,nova
- C语言:typedef知识点总结
- Rhel8 patch package production
猜你喜欢
Don't insist on 66 days. Weight generates random numbers
全屋WiFi方案:Mesh路由器组网和AC+AP
Blood cases caused by < meta charset=UTF-8> -- Analysis of common character codes
11.备份交换机
开课!看smardaten如何分解复杂业务场景
不会就坚持64天吧 查找插入位置
Copy products with one click from Taobao, tmall, 1688, wechat, jd.com, Suning, taote and other platforms to pinduoduo platform (batch upload baby details Interface tutorial)
Beginner: array & String
不会就坚持69天吧 合并区间
通过js来实现一元二次方程的效果,输入a,b,c系数后可计算出x1和x2的值
随机推荐
伏英娜:元宇宙就是新一代互联网!
kotlin的List,Map,Set等集合类不指定类型
“蔚来杯“2022牛客暑期多校训练营1 J Serval and Essay(启发式合并)
安装postgis时报找不到“POSTGIS_VERSION”这个函数
The table of antd hides the pager when there is only one page
9.延迟队列
%s. %c, character constant, string constant, const char*, pointer array, string array summary
C语言力扣第61题之旋转链表。双端队列与构造循环链表
Whole house WiFi solution: mesh router networking and ac+ap
店铺排名问题,如何解决?
Pat a1069/b1019 the black hole of numbers
When array is used as a function parameter, it is better to use the array size as a function parameter
SVG--loading动画
Class starts! See how smardaten decomposes complex business scenarios
不会就坚持66天吧 权重生成随机数
SQL time fuzzy query datediff() function
opengauss预检查安装
Solution: module 'xlrd' has no attribute 'open_ Error reporting of workbook '
[material delivery UAV] record (ROS + Px4 + yolov5 + esp8266 + steering gear)
MySQL gets the maximum value record by field grouping