Code Monkey home page Code Monkey logo

Comments (3)

jamincollins avatar jamincollins commented on July 18, 2024

I'm running into the same error, but I'm actually trying to use FreeCAD within Python. This used to work, not sure when it broke as I don't often need to leverage FreeCAD through Python.

from freecad-bundle.

server-bot-hanomi avatar server-bot-hanomi commented on July 18, 2024

I am encountering the same problem.

Type "help", "copyright", "credits" or "license" for more information.
>>> import FreeCAD
Fatal Python error: PyImport_AppendInittab: PyImport_AppendInittab() may not be called after Py_Initialize()
Python runtime state: initialized

Current thread 0x00007fa28974e440 (most recent call first):
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1289 in create_module
  File "<frozen importlib._bootstrap>", line 813 in module_from_spec
  File "<frozen importlib._bootstrap>", line 921 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "<stdin>", line 1 in <module>
Aborted```

from freecad-bundle.

adrianinsaval avatar adrianinsaval commented on July 18, 2024

from what you are saying it seems to me that you are not using freecad's appimage so this is not the right place to report this problem. This repo is ONLY ABOUT PACKAGING. That said this might be a problem from whatever distro you are using, I see you are using python 3.12 which AFAIK was not supported on the stable version of freecad. Please report this either to your distro or in the main FreeCAD repo with more details such as the version of freecad, the OS, installation method, etc

from freecad-bundle.

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.