Python Forum
return Neural(params)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
return Neural(params)
#1
Hello,

When I run this code:
from neural import Neural
I get this Error:
ImportError: cannot import name 'Neural'

If I change the code:
from neural import neural
The code runs but I get an error in this code line:
def ch(self, params):
return Neural(params)
I get this error:
NameError: name 'Neural' is not defined

I did install: pip install neural

Can you please help me
Reply
#2
those are two different names. Check case.
neural vs Neural
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020