Please wait...
×

Error



Posted 2 years ago by Yonas Kevin

Hello : I'm new to ifm_contrib and wondering if anyone has solved the below error: I use the FEFLOW 7.5 version and the defualt ifm work well, but ifm_contrib. Although I changed the sys.path to try v 7.2 and 7.4, kernel shows only FEFLOW 7.502, hence couln't try the ifm_contrib with diffrent versions. Several people indicated this issue on github page, but not solution is provided there..I would greatly appreciate any support

Posted 2 years ago by Yonas Kevin
Error Message
Posted 2 years ago by Yonas Kevin
the title should read like " ifm_contrib not working with FEFLOW" v.7.5
 Post a reply
Posted 2 years ago by Francesca De Gaspari
Hello Kevin,

are you using Python 2.7? If so, please note that ifm_contrib requires Python 3.5 or higher, as stated in the GitHub tutorial "Getting started with ifm_contrib (ifm_contrib/getting_started.ipynb at master · DHI/ifm_contrib (github.com)):

Installation

ifm_contrib can be run on

  • Python 3.5 or higher. (Support for Python 2.7 is deprecated).
  • FEFLOW 7.2 or higher, Python SDK must be installed.

Please try to change your Python version accordingly and re-try. We tried on our machines with FEFLOW version 7.502 and it works:

C:\Users\...\Anaconda3\envs\py38_dhi\python.exe "C:/Users/.../OneDrive - DHI/FEFLOW Testing/scripts/API_general.py"
FEFLOW version:  7502
Finished!
Process finished with exit code 0

 
Posted 2 years ago by Yonas Kevin

Thank you,  Francesca.

I tried all the possible python version 3.5 and above,  but  the ifm_contrib module can't be loaded. I installed python as regular, but not sure  the second requirment-  Python SDK . Can you tell me more about Python SDK ? where to downlaod and how to install it. I use the kernel version with Anaconda3 and the classic ifm works fine with 7.5.

Thank you again

Posted 2 years ago by Francesca De Gaspari
Hi Kevin,

the Python SDK module can be installed with FEFLOW, be sure you activate this option during installation as shown below (you can always modify the installation at later times).



 

You must be signed in to post in this forum.