alia22
alia22

Reputation: 1

Can't import PyWavelets on Jupyter Notebook

I'm trying to use PyWavelets on a Jupyter Notebook. I've used "conda install pywavelets" both in my conda environment and then run a Jupyter Notebook in the same conda environment. However, when I try:

import pywavelets

or

import pywt

I get a ModuleNotFoundError.

I've checked with conda list and pywavelets is definitely installed. I tried installing the package in my base environment in case that mattered, and switched my Jupyter Notebook kernel back-and-forth between the base and virtual environments. I also tried a pip install command and it said the package was already installed (as expected). Some additional info: I'm running Python 3.12.1 on Windows 10, and the verion of pywavelets installed is 1.5.0. I tried running Python in Anaconda Prompt and import pywt works just fine there. Any suggestions?

Upvotes: 0

Views: 241

Answers (0)

Related Questions