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
Hello, I am a newbie both to pythonect and python. I am just trying to get pythonect up and running on plain Ubuntu 18.04, never used python before.
Whatever I do, pythonect crashes horribly with lots of gibberish, Traceback, and the inevitable
AttributeError: can't set attribute
error. For example:
$ which pythonect
~/.local/bin/pythonect
$ pythonect
Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[Pythonect 0.6.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1+1
Traceback (most recent call last):
File "~/.local/lib/python2.7/site-packages/Pythonect-0.6.0-py2.7.egg/pythonect/internal/eval.py", line 792, in eval
graph = parse(source)
File "~/.local/lib/python2.7/site-packages/Pythonect-0.6.0-py2.7.egg/pythonect/internal/eval.py", line 729, in parse
graph = _graph.Graph()
File "~/.local/lib/python2.7/site-packages/Pythonect-0.6.0-py2.7.egg/pythonect/internal/_graph.py", line 47, in init
self.node = _ordereddict.OrderedDict() # dictionary for node attributes
AttributeError: can't set attribute
>>>
I tried installing pythonect with pip, easy_install, or git clone. The result is always the same. I run the nose test in the git checkout:
Hello, I am a newbie both to pythonect and python. I am just trying to get pythonect up and running on plain Ubuntu 18.04, never used python before.
Whatever I do, pythonect crashes horribly with lots of gibberish, Traceback, and the inevitable
error. For example:
$ which pythonect
~/.local/bin/pythonect
$ pythonect
Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[Pythonect 0.6.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1+1
Traceback (most recent call last):
File "~/.local/lib/python2.7/site-packages/Pythonect-0.6.0-py2.7.egg/pythonect/internal/eval.py", line 792, in eval
graph = parse(source)
File "~/.local/lib/python2.7/site-packages/Pythonect-0.6.0-py2.7.egg/pythonect/internal/eval.py", line 729, in parse
graph = _graph.Graph()
File "~/.local/lib/python2.7/site-packages/Pythonect-0.6.0-py2.7.egg/pythonect/internal/_graph.py", line 47, in init
self.node = _ordereddict.OrderedDict() # dictionary for node attributes
AttributeError: can't set attribute
>>>
I tried installing pythonect with pip, easy_install, or git clone. The result is always the same. I run the nose test in the git checkout:
pythonect$ python setup.py install --user
...
Finished processing dependencies for Pythonect==0.6.0
pythonect$ python setup.py nosetests
1 test_command_mode (test_interpreter.TestPythonectInterpreter) ... ERROR
ERROR: test_command_mode (test_interpreter.TestPythonectInterpreter)
Traceback (most recent call last):
...
File "~/pythonect/pythonect/internal/_graph.py", line 47, in init
self.node = _ordereddict.OrderedDict() # dictionary for node attributes
AttributeError: can't set attribute
Please, I am just following the tutorials. What am I doing wrong??
The text was updated successfully, but these errors were encountered: