Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Import error only with qtconsole / notebook #2945

yannisk opened this Issue Feb 16, 2013 · 2 comments


None yet
3 participants

yannisk commented Feb 16, 2013

i am trying to use FreeCAD with ipython, but when importing in qtconsole the following error appears in the terminal:

FreeCAD 0.13, Libs: 0.13R1804 (Git)
Initialization of FreeCAD failed:
While initializing FreeCAD the  following exception occurred: '__import__ not found'
Please contact the application's support team for more information.

however "import FreeCAD" works fine when not invoked from qtconsole or notebook.. Also it used to work fine from both environments (qt and terminal) back in 0.12
(0.13 also gives error)
To reproduce, on a fresh ubuntu 12.10 with ipython 0.14dev / freecad i run in terminal
"ipython qtconsole " and there

import sys
import FreeCAD

the error appears in the terminal where python kernel is running, not in the qtconsole


minrk commented Jul 6, 2013

Sorry, this slipped through the cracks. Does it still occur? What version of Python are you using? Is it the default system Python, or are you using a distro such as EPD or Anaconda?


takluyver commented Mar 26, 2014

#3362 reports the same issue, and has more information. Closing this copy.

@takluyver takluyver closed this Mar 26, 2014

@minrk minrk added this to the no action milestone Mar 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment