← Back to team overview

dolfin team mailing list archive

Re: [Question #141422]: [Question #141422]:[Question #141422]:[Question#141422]: [Question#141422]:[Question #141422]:[Question #141422]:DOLFIN/FEniCS integrationin otherPythoninstallation

 

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

Johannes Ring posted a new comment:
Oh, I didn't even notice that in the Armadillo README.txt. CMake and
Armadillo works just fine for me on Windows using the MinGW compilers.

It is lots of information available on how to set environment variables
in Windows (http://tinyurl.com/6ajpfsp). What I did was to edit the PATH
variable under user variables and added the following before the rest of
the value:

  C:\FEniCS\bin;C:\FEniCS\Scripts;C:\FEniCS\lib;

You should replace C:\FEniCS with whatever directory you installed
FEniCS into. Then I created the following new variables (also under user
variables):

  PKG_CONFIG_PATH=C:\FEniCS\lib\pkg-config
  PYTHONPATH=C:\FEniCS\lib\site-packages;C:\FEniCS\lib\vtk-5.6
  BOOST_DIR=C:\FEniCS
  SWIG_LIB=C:\FEniCS\share\swig\2.0.0

After that I simply closed all open Python(x,y) related program and then
I was able to use DOLFIN from Spyder.

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