Closed dfranke76 closed 3 years ago
I just pushed a new commit with your suggested changes. thanks for the bug fix. Does that fix the maketrans error for you also?
Thanks for the quick update. No, the maketrans issue came after this.
I just noticed, in the line "from builtin import object, range, map, zip, str", the "builtin" should have been preceded and followed by double underscore, but the editor made the module name bold instead. Again with proper "code" tags:
-from builtin import object, range, map, zip, str
+from __builtin__ import object, range, map, zip, str
whoops sorry about that. just pushed that fix. I'll see if I can make a work around for the maketrans issue
My mistake. Starts up without error now. Thanks!
oh okay great. thanks!
$ denss.py ly01.out Traceback (most recent call last): File "/apps/prod/denss/latest/bin/denss.py", line 29, in
import saxstats.saxstats as saxs
File "/apps/prod/denss/latest/lib/python2.7/site-packages/saxstats/saxstats.py", line 35, in
from builtins import object, range, map, zip, str
ImportError: No module named builtins
"builtins" is the Pyhton3 name, Python2 requires the pip-package "future" which may not be installed. The following seems to work, though: try: from builtins import object, range, map, zip, str except ImportError: from builtin import object, range, map, zip, str