我正在尝试使用peakutils库并已使用
pip install peakutils
但是当我尝试在我的 jupyter 笔记本中导入相同的内容时,它会显示导入错误在此之前,我从未遇到过这样的问题。我没有设置 PYTHONPATH。
此外,在第二个答案中,要求通过以下方式取消设置 python 路径
unset PYTHONPATH
显示
'unset' is not recognised as an internal or external command, operable program or batch file.
我已检查该软件包是否安装在我正在使用的环境中:
(C:\Users\DELL\Anaconda3) C:\Users\DELL>activate DAND
(DAND) C:\Users\DELL>pip install peakutils
Requirement already satisfied: peakutils in c:\users\dell\anaconda3\envs\dand\li
b\site-packages
Requirement already satisfied: scipy in c:\users\dell\anaconda3\envs\dand\lib\si
te-packages (from peakutils)
Requirement already satisfied: numpy in c:\users\dell\anaconda3\envs\dand\lib\si
te-packages (from peakutils)