← Back to team overview

dolfin team mailing list archive

Re: [Question #143006]: Import error ctypes

 

Question #143006 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/143006

    Status: Needs information => Answered

Johannes Ring proposed the following answer:
I'm not sure but the problem can be this variable:

  PYTHONHOME=C:\Python25\

Try to "undefine" this variable by running

  set PYTHONHOME=

inside the FEniCS Command Shell. Then run

  python -c "import sys;print sys.prefix"

This should print out C:\FEniCS\lib\Python26 if everything is correct.
If this works then you can try to run the demo again.

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.