← Back to team overview

fenics team mailing list archive

Problem with runing Fenics on a Windows PC

 

Hi,

After intalling Fenics into a Win7-X64 PC everything went smoothly. When testing with a python script, I get the following unspected behavior :


         ________  ________            __   ______    ______
        /        |/        |          /  | /      \  /      \
        88888888/ 88888888/  _______  88/ /888888  |/888888  |
        88 |__    88 |__    /       \ /  |88 |  88/ 88 \__88/
        88    |   88    |   8888888  |88 |88 |      88      \
        88888/    88888/    88 |  88 |88 |88 |   __  888888  |
        88 |      88 |_____ 88 |  88 |88 |88 \__/  |/  \__88 |
        88 |      88       |88 |  88 |88 |88    88/ 88    88/
        88/       88888888/ 88/   88/ 88/  888888/   888888/


This is a shell with PATH's setup to work with FEniCS. If you are new
to FEniCS you probably want to have a look at the DOLFIN demo
programs. They are located under


    C:\FEniCS\share\dolfin\demo


For more information please visit the project website:


    http://www.fenicsproject.org


C:\FEniCS>cd C:\FEniCS\share\dolfin\demo\pde\navier-stokes\python


C:\FEniCS\share\dolfin\demo\pde\navier-stokes\python>python --version
Python 2.6.5


C:\FEniCS\share\dolfin\demo\pde\navier-stokes\python>python demo_navier-stokes.p
y
Traceback (most recent call last):
  File "demo_navier-stokes.py", line 28, in <module>
    from dolfin import *
  File "C:\FEniCS\lib\site-packages\dolfin\__init__.py", line 23, in <module>
    from dolfin.cppimports import *
  File "C:\FEniCS\lib\site-packages\dolfin\cppimports.py", line 4, in <module>
    import dolfin.cpp as cpp
  File "C:\FEniCS\lib\site-packages\dolfin\cpp\__init__.py", line 40, in <module
>
  File "<string>", line 1, in <module>
  File "C:\FEniCS\lib\site-packages\dolfin\cpp\common.py", line 28, in <module>
  File "C:\FEniCS\lib\site-packages\dolfin\cpp\common.py", line 20, in swig_impo
rt_helper
ImportError: No module named _common


What this error mean ?


Thanks
P Pensez à l'environnement avant d'imprimer ce message
       Think Environment before printing

Le contenu de ce mél et de ses pièces jointes est destiné à l'usage exclusif du (des) destinataire(s) désigné(s) comme tel(s).
En cas de réception par erreur, le signaler à son expéditeur et ne pas en divulguer le contenu.
L'absence de virus a été vérifiée à l'émission, il convient néanmoins de s'assurer de l'absence de contamination à sa réception.

The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the sender immediately and do not disclose the contents to
anyone or make copies.
This email was scanned for viruses, vandals and malicious content.