Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why I can't import Echotorch #19

Open
imhithanks opened this issue Dec 30, 2020 · 5 comments
Open

Why I can't import Echotorch #19

imhithanks opened this issue Dec 30, 2020 · 5 comments
Assignees
Labels

Comments

@imhithanks
Copy link

imhithanks commented Dec 30, 2020

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)
in ()
----> 1 import echotorch.nn.reservoir as etrs
2 import echotorch.utils
3 import echotorch.utils.matrix_generation as mg

~/anaconda3/lib/python3.7/site-packages/echotorch/init.py in ()
3
4 # Imports
----> 5 import datasets
6 import models
7 import nn

ModuleNotFoundError: No module named 'datasets'

@dimitrisdermanis
Copy link

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?

@slarson
Copy link

slarson commented Jan 13, 2021

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?

@dimitrisdermanis
Copy link

dimitrisdermanis commented Jan 13, 2021

$ pip show echotorch
Name: EchoTorch
Version: 0.1.1
Summary: A Python toolkit for Reservoir Computing.
Home-page: UNKNOWN
Author: Nils Schaetti
Author-email: [email protected]
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

@nschaetti
Copy link
Owner

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

@nschaetti nschaetti added the bug label Jan 22, 2021
@nschaetti nschaetti self-assigned this Jan 22, 2021
@dimitrisdermanis
Copy link

works for me so far
Some of the examples have errors but once they are fixed, examples run as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants