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

Import Error #31

Closed
luferrolino opened this issue Dec 6, 2018 · 1 comment
Closed

Import Error #31

luferrolino opened this issue Dec 6, 2018 · 1 comment

Comments

@luferrolino
Copy link

Hi,
I have been trying to use devol but to no avail. It seem that everything has been installed correctly. However, when I try to check the example, I constantly receive an error.

Python 3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 21:41:56)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from devol import DEvol, GenomeHandler
Traceback (most recent call last):
File "", line 1, in
File "/home/luferrolino/devol/devol/init.py", line 1, in
from devol import DEvol
ImportError: cannot import name 'DEvol'

pip show devol gives me this

(devol4) luferrolino@luferrolino-Predator-G3-571:~$ pip show devol
Name: devol
Version: 0.2
Summary: Genetic search for CNN classifier in Keras
Home-page: https//github.com/joedav/devol
Author: Joe Davison
Author-email: josephddavison@gmail.com
License: MIT
Location: /home/luferrolino/devol
Requires: keras
Required-by:

@chok68
Copy link

chok68 commented Jan 23, 2019

I've replaced the original contents with:

from .devol import *
from .genome_handler import *

... and worked.

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

No branches or pull requests

2 participants