i downloaded pycam-0.2.3.tar.gz and extracted it. i installed it with sudo setup.py install. That worked but if if start pycamGUI i get:
Traceback (most recent call last):
File "/usr/local/bin/pycamGUI", line 48, in <module>
from pycam.Gui.Project import ProjectGui
File "/usr/local/lib/python2.6/dist-packages/pycam/Gui/Project.py", line 3, in <module>
import pycam.Importers.STLImporter
File "/usr/local/lib/python2.6/dist-packages/pycam/Importers/STLImporter.py", line 1, in <module>
from pycam.Geometry import *
File "/usr/local/lib/python2.6/dist-packages/pycam/Geometry/__init__.py", line 8, in <module>
from Path import Path
File "/usr/local/lib/python2.6/dist-packages/pycam/Geometry/Path.py", line 9, in <module>
tuple_point = collections.namedtuple("TuplePoint", "x y z")
NameError: name 'collections' is not defined
I use Python 2.6.4. Any Ideas how to get your project to run?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
i downloaded pycam-0.2.3.tar.gz and extracted it. i installed it with sudo setup.py install. That worked but if if start pycamGUI i get:
Traceback (most recent call last):
File "/usr/local/bin/pycamGUI", line 48, in <module>
from pycam.Gui.Project import ProjectGui
File "/usr/local/lib/python2.6/dist-packages/pycam/Gui/Project.py", line 3, in <module>
import pycam.Importers.STLImporter
File "/usr/local/lib/python2.6/dist-packages/pycam/Importers/STLImporter.py", line 1, in <module>
from pycam.Geometry import *
File "/usr/local/lib/python2.6/dist-packages/pycam/Geometry/__init__.py", line 8, in <module>
from Path import Path
File "/usr/local/lib/python2.6/dist-packages/pycam/Geometry/Path.py", line 9, in <module>
tuple_point = collections.namedtuple("TuplePoint", "x y z")
NameError: name 'collections' is not defined
I use Python 2.6.4. Any Ideas how to get your project to run?
Hi,
this bug was caused by a typo of mine and only shows up with Python 2.6.
The new release of PyCAM fixed this issue.
Thanks for your report!
cheers,
Lars
I have just tested it, it is working now.
Thank you for the fix!