EfficientNet-PyTorch icon indicating copy to clipboard operation
EfficientNet-PyTorch copied to clipboard

ModuleNotFoundError

Open AmirMardan opened this issue 9 months ago • 3 comments

I have a strange issue. I install the package, but I get the ModuleNotFoundError. I'm using Python 3.11.6 on Windows with the following packages installed on the venv.

Package              Version
-------------------- ---------
efficientnet_pytorch 0.7.1
filelock             3.16.1
fsspec               2024.12.0
Jinja2               3.1.5
MarkupSafe           3.0.2
mpmath               1.3.0
networkx             3.4.2
numpy                2.2.1
pip                  23.2.1
setuptools           75.8.0
sympy                1.13.1
torch                2.5.1
typing_extensions    4.12.2

Here is the full error

python -c "from efficientnet_pytorch import EfficientNet"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'efficientnet_pytorch'

With the same venv, everything is fine on Mac.

AmirMardan avatar Jan 08 '25 19:01 AmirMardan