You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fixing a couple of obvious Python2 to Python3 transition errors...
Such as this:
Traceback (most recent call last):
File "/home/me/repos/myproj/venv/bin/sfood", line 5, in<module>
from snakefood.gendeps import main
File "/home/me/repos/myproj/venv/lib64/python3.7/site-packages/snakefood/gendeps.py", line 26, in<module>
from snakefood.depends import output_depends, output_depends_inverted
File "/home/me/repos/myproj/venv/lib64/python3.7/site-packages/snakefood/depends.py", line 53
print json.dumps(output_dict)
^
SyntaxError: invalid syntax
And this:
Traceback (most recent call last):
File "/home/me/repos/myproj/venv/bin/sfood", line 5, in<module>
from snakefood.gendeps import main
File "/home/me/repos/myproj/venv/lib64/python3.7/site-packages/snakefood/gendeps.py", line 27, in<module>
from snakefood.find import find_dependencies
File "/home/me/repos/myproj/venv/lib64/python3.7/site-packages/snakefood/find.py", line 267
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
I bumped into this:
$ sfood .
Traceback (most recent call last):
File "/home/me/repos/myproj/venv/bin/sfood", line 5, in<module>
from snakefood.gendeps import main
File "/home/me/repos/myproj/venv/lib64/python3.7/site-packages/snakefood/gendeps.py", line 27, in<module>
from snakefood.find import find_dependencies
File "/home/me/repos/myproj/venv/lib64/python3.7/site-packages/snakefood/find.py", line 9, in<module>
import compiler
ModuleNotFoundError: No module named 'compiler'
Then I did pip install comiler (first guess) and re-ran the command:
$ sfood .
Traceback (most recent call last):
File "/home/me/repos/myproj/venv/bin/sfood", line 5, in<module>
from snakefood.gendeps import main
File "/home/me/repos/myproj/venv/lib64/python3.7/site-packages/snakefood/gendeps.py", line 27, in<module>
from snakefood.find import find_dependencies
File "/home/me/repos/myproj/venv/lib64/python3.7/site-packages/snakefood/find.py", line 10, in<module>
from compiler.visitor import ASTVisitor
ModuleNotFoundError: No module named 'compiler.visitor'
The text was updated successfully, but these errors were encountered:
OS: Fedora 31
Used Python version: 3.7
After fixing a couple of obvious Python2 to Python3 transition errors...
Such as this:
And this:
I bumped into this:
Then I did
pip install comiler
(first guess) and re-ran the command:The text was updated successfully, but these errors were encountered: