Python Forum

Full Version: return Neural(params)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
those are two different names. Check case.
neural vs Neural