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
$ python3 -m dynapyt.run_analysis --entry ./test1.py --analysis OperationAnalysis
Traceback (most recent call last):
File "/home/bo/anaconda3/envs/py310/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/bo/anaconda3/envs/py310/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/bo/anaconda3/envs/py310/lib/python3.10/site-packages/dynapyt/run_analysis.py", line 30, in <module>
exec(open(abspath(args.entry)).read())
File "<string>", line 5, in <module>
NameError: name '_binary_op_' is not defined
Without strings """print 3""" and """print 7""" it will work.
Python ver: 3.10
pip list (result of pip install dynapyt libcst aiopg):
The new version has already fixed this problem. It has been updated on PyPi now and you can get the latest version from PyPi (pip install -U dynapyt) or GitHub.
I am trying to run
OperationAnalysis
on a simple test file, using the following 2 commands:Test file content:
Instrumentation (by first command):
Run (second command):
Without strings
"""print 3"""
and"""print 7"""
it will work.Python ver: 3.10
pip list (result of
pip install dynapyt libcst aiopg
):The text was updated successfully, but these errors were encountered: