Git Product home page Git Product logo

Comments (4)

bullestock avatar bullestock commented on July 25, 2024 1

I have created a fork which has been updated for Python 3. See https://github.com/bullestock/heekscad/

from heekscad.

spiderdab avatar spiderdab commented on July 25, 2024

Hi, I'm old time user of heekscad/cam, and I'm trying to compile latest version on pop os (ubuntu 20.04) and on ubuntu 18.04, but I've the same problem mentioned above:

Python 2.7.18rc1 (default, Apr  7 2020, 12:05:55) 
[GCC 9.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import area
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /lib/x86_64-linux-gnu/libboost_python38.so.1.71.0: undefined symbol: _Py_tracemalloc_config
>>>

I've reproduced the error calling the import statement in python, but it happens in the software after clicking on the "GO" button to process the paths.
Can you please help on this?
The latest version in windows10 works as expected.

from heekscad.

lpgasparotto avatar lpgasparotto commented on July 25, 2024

This is Python related issue, libboost Python component was compiled against Python 3.8 while Opencam, Libarea were compiled against Python 2.X. A fix for this is to uninstall libboost headers and to compile it for Python 2.X.

I tried to compile everything against Python 3.X for avoiding the "undefined symbol" errors but then a got a lot of syntax errors, probably due Python 2 / 3 incompatibilities.

A permanent fix would be to rewrite HeeksCad / HeeksCNC for being fully compatible with Python 3.

from heekscad.

lpgasparotto avatar lpgasparotto commented on July 25, 2024

Do OpenCam and Libarea need to be compiled against Python 3 for using HeeksCNC?
Thank you very much for doing it!

from heekscad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.