Open prjemian opened 4 years ago
That's sounds like a problem to resolve in the dtxrd project. I believe that should be a relative import....
from .myio import *
https://stackoverflow.com/questions/16981921/relative-imports-in-python-3
This stackoverflow article, especially the answer with the green check mark, explains this well. Verbose, but helpful.
Python 3 is pickier about this than python 2. When developing the code, the code needs to be run as if it were installed (and not run from the project's development directory).
Hi Pete, Thank you for taking care of this. I have updated the codes not too long ago but haven't had a chance to test yet. rctopo-fast is the vectorized version of rctopo, something I was able to implement finally.
Looks like there are quite a few places where changes are needed I will try to resolve this tonight. If I use relative import as you pointed out - would it also work with python 2?
Best to try it with both.
I believe I fixed it tonight. the codes are updated. Just finished the final test - downloaded as .zip, installed, everything worked. should work with either python 2 or 3. Thanks again!
Thanks! Hope I find time this weekend or next week to try it out.
I am trying to run the program rctopo-fast with command:
Here's the output: