Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation failed due to missing python module

Compilation failed due to missing python module 3 years 8 months ago #38055

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi,

I'm trying to compile telemac on my system (Debian 10.8).
I followed the instructions closely but when I check my if everything is set with
config.py
I get the following error.
ModuleNotFoundError: No module named 'distutils.archive_util'
,

Seem to be a problem with the python3 code, but not sure if this is related to the repository or my system.

I try to install v8p1r2.

Thank you for your time an help in advance.
The administrator has disabled public write access.

Compilation failed due to missing python module 3 years 8 months ago #38056

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Could solve the issue with installing the following package.
sudo apt install python3-distutils

However, I got another error during compilation connected to nestor. I assume it has something to do with my .cfg file and the settings I have for mpif90.
Attachments:
The administrator has disabled public write access.

Compilation failed due to missing python module 3 years 7 months ago #38117

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

You are missing the option -cpp in cmd_obj.
This options force the run of the preprocessor.
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: Mustermann

Compilation failed due to missing python module 3 years 7 months ago #38120

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi,

This solved my issues, thank you.
The administrator has disabled public write access.
Moderators: borisb

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