Welcome, Guest
Username: Password: Remember me

TOPIC: vvytel python module in example python script.

vvytel python module in example python script. 5 years 2 months ago #34560

  • vihang
  • vihang's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 2
hello,

I am trying to run any vnv_[example].py file in any given telemac 2d example. I encounter problem whith the line

from vvytel.vnv_study import AbstractVnvStudy

My anaconda python installation is unableto find vvytel module and returns error module not found and can not import the module.

Can someone advise what I am missing?

Thank you.
The administrator has disabled public write access.

vvytel python module in example python script. 5 years 2 months ago #34562

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Did you add the following line to your environemet ?

export PYTHONPATH=$HOMETEL/scripts.python3:$PYTHONPATH

That line is mandatory.
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.

vvytel python module in example python script. 5 years 2 months ago #34563

  • vihang
  • vihang's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 2
Oh. Thanks.

I was looking the scripts in python27 and not python3.

Regards,

Vihang
The administrator has disabled public write access.
Moderators: pham

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