Hello, Could you post the result of 'which python' after you do 'source activate fenics27'? Perhaps doing
conda install dolfin --channel juanlu001 works instead. In any case, please post the result of 'conda info -a' too. Did you download the demo from source or do you have it installed in your path already? Juan Luis On Mar 30, 2015 12:10 AM, "腾张" <[email protected]> wrote: > Dear All, > > I installed fenics with conda on our university cluster with the following > command: > > "conda create --name fenics27 python=2.7 > > source activate fenics27 > > conda install fenics --channel juanlu001" > > The process went well and I have a folder name "envs" containing > "fenics27" in my home folder. When I tried to run some demo, e,g, > "demo_cahn-hilliard.py", I got the error: > > "Traceback (most recent call last): > File "demo_cahn-hilliard.py", line 27, in <module> > from dolfin import * > ImportError: No module named dolfin" > > I think I need some command to add the path library of fenics to my > system, but I did not how to do that. Could anyone help me on this? > > I also tried the command "ldd > <INSTALL_PATH>/anaconda/envs/fenics27/lib/python2.7/site-packages/dolfin/cpp/_common.so" > but it still does not work. > > Thanks a lot. > > Best, > Teng > > _______________________________________________ > fenics mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics > >
_______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
