Open imhithanks opened 3 years ago
Having the same problem here. This is an attempt to debug. I only import the library and try to initialize an object.
import torch
import echotorch.nn as etnn
esn = etnn.LiESN()
The response is weird.
Traceback (most recent call last):
File "test.py", line 2, in <module>
import echotorch.nn as etnn
File "~/.local/lib/python3.7/site-packages/echotorch/__init__.py", line 5, in <module>
import datasets
ModuleNotFoundError: No module named 'datasets'
Any ideas on what to do?
I had a similar problem on the dev branch, but it was resolved when I worked with the latest released version: https://github.com/nschaetti/EchoTorch/releases/tag/202006291
What version did you see this on?
$ pip show echotorch
Name: EchoTorch
Version: 0.1.1
Summary: A Python toolkit for Reservoir Computing.
Home-page: UNKNOWN
Author: Nils Schaetti
Author-email: nils.schaetti@unine.ch
License: GPLv3
Location: /home/dimitris/PycharmProjects/echo_torch/lib/python3.7/site-packages
Requires: torch, numpy, torchvision
Required-by:
Seems like an older version, but this is the one that I 've installed using pip yesterday.
Works when used the latest release from github
Hi,
I created a new branch for the test release and released a 0.2.3 version after running succesfully all tests.
Can someone test the new branch ? pip install -i https://test.pypi.org/simple/ EchoTorch
Regards,
Nils
works for me so far Some of the examples have errors but once they are fixed, examples run as well.
Why I can't import Echotorch?What's wrong with module 'datasets'? This problem disturbs me for days. Thank you for your help
import echotorch.nn.reservoir as etrs import echotorch.utils import echotorch.utils.matrix_generation as mg
ModuleNotFoundError Traceback (most recent call last)