I am having trouble importing a module that I created. This module is in the same folder that the module from which I need to import it is. I am working on a module thats called directo_etapas.py
and from there I need to import solvers.py
, so I go:
import math
import solvers
I don't get any error while importing math module, but I do get an error with import solvers
.
I get this error:
"C:\Users\...\Codigos\directo_etapas.py"
Traceback (most recent call last):
File "C:\Users\...\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.5.3123.win-x86_64\lib\site-packages\IPython\core\ultratb.py", line 776, in structured_traceback
records = _fixed_getinnerframes(etb, context, tb_offset)
File "C:\Users\...\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.5.3123.win-x86_64\lib\site-packages\IPython\core\ultratb.py", line 230, in wrapped
return f(*args, **kwargs)
File "C:\Users\...\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.5.3123.win-x86_64\lib\site-packages\IPython\core\ultratb.py", line 267, in _fixed_getinnerframes
if rname == '<ipython console>' or rname.endswith('<string>'):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 80: ordinal not in range(128)
ERROR: Internal Python error in the inspect module.
Below is the traceback from this internal error.
**Unfortunately, your original traceback can not be constructed.**
Note that I'm using Enthough Canopy.