Welcome, Guest
Username: Password: Remember me

TOPIC: Problem : ImportError: No module named parsers.parserFortran

Problem : ImportError: No module named parsers.parserFortran 11 years 8 months ago #7867

  • julien971
  • julien971's Avatar
Hi,
When I try to run compileTELEMAC.py, cmd window says : in file :C\...\compileTELEMAC.py, line 59 , in <module> form parsers.parserFortran

My configuration is: python 2.7.3, gfortran

Does the installation avaible on Windows 8?

Thank you

Julien
The administrator has disabled public write access.

Problem : ImportError: No module named parsers.parserFortran 11 years 8 months ago #7876

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

What command did you type?

You might need to add the pytel folder of telemac to the varialble PATH of your environment.

Hope it helps,
Yoann
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: julien971

Problem : ImportError: No module named parsers.parserFortran 11 years 8 months ago #7897

  • julien971
  • julien971's Avatar
Hi,

I added to the path, pytel, and systel to the variable SYSTELCFG .

I try back to install with g95.

I change my nmake in the bin, with the one found in download area for g95 on windows.

I properly modified my systel.cfg file.

My python version was python2.7.3 so I changed to python 2.7 like write on the install guide.

The error is the same !! No module named parsers.parserFortran

I will tried with gfortran...

File Attachment:

File Name: systel.cfg
File Size: 1 KB


Here the instruction writed in the cmd windows

File Attachment:

File Name: installation.txt
File Size: 5 KB
The administrator has disabled public write access.

Problem : ImportError: No module named parsers.parserFortran 11 years 8 months ago #7908

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
This error is not dependant of the compiler.
Can you check if you have the file parserFortran.py in pytel\parsers\ ?
If you have it you can try to add pytel to the variable PYTHONPATH.

Hope it helps,
Yoann
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: julien971

Problem : ImportError: No module named parsers.parserFortran 11 years 8 months ago #7909

  • julien971
  • julien971's Avatar
Hi,
The file parserFortran was missing.
At the topic : www.openmascaret.org/index.php/assistanc...installation-problem

I found un good version of pytel.

Thank you for your help.
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.