Closed rqnguyen100 closed 1 year ago
I was able to reproduce the issue, the math.py
example has to be renamed to avoid conflicting with the math
module.
Once I renamed the math.py
file math_example.py
, I was able to run the example with python examples/hello_world.py
and with python -m examples.hello_world
Problem resolved.
I'm trying to run some of the examples and I keep on getting this error.
How I reached this point: 1) Forked and cloned repository onto local machine 2) Pip installed chaincrafter 3) Tried to run
hello_world.py
under ./python/examplesWhen I run the
__init__.py
script, there are no errors. I thought it might be an issue of importing incorrectly. The original import iswhile in the
__init__.py
script, these lines ares usedstill getting the same error nonetheless.