maroba / findiff

Python package for numerical derivatives and partial differential equations in any number of dimensions.
MIT License
420 stars 60 forks source link

no module named operators when import #12

Closed jenuis closed 5 years ago

jenuis commented 5 years ago

from findiff.operators import Plus, Minus, Operator, UnaryOperator, Multiply

ImportError: No module named operators

jenuis commented 5 years ago

You get the package name and file name the same. Also there are bugs in range. I'm using python2.7. After solving these problems. I got it run and have the right results. Thanks for sharing the work!

maroba commented 5 years ago

So far I only supported Python 3, but if your changes make it compatible with Python 2, great! Sorry for the delay, I was quite busy in the last weeks.

jenuis commented 5 years ago

I didn't run the test suits before. I just run the tests, yes, still complain about the import error!