Please wait...
×

Error



Posted 4 years ago by Lin Jimmy
I want to import a package to FEFLOW, how can i do in the FEFLOW API?

Or how can i do the "pip install" in FEFLOW API?
Posted 4 years ago by Carlos Andres Rivera Villarreyes Business Owner - FEFLOW
Hi Jimmy,

The FEFLOW IFM package (both C++ and Python) comes together with the FEFLOW installation. Also FEFLOW should create environmental variables, which makes easy to load the IFM module in your Python script.
You should simply need to write "import ifm" in your script to load the FEFLOW Python package.

Regards
Carlos
Posted 4 years ago by Peter Schätzl Grundwassermodellierer
There's no straightforward / supported way of loading external packages into the python installation brought by FEFLOW (and used when using the Python window in FEFLOW). If you need other packages, you should prefer the way Carlos is referring to: run your script on a separate Python installation and load FEFLOW (as package ifm) into your script (option two on http://www.feflow.info/html/help74/feflow/13_Programming/Python/python.html).
Posted 4 years ago by Lin Jimmy
Ok!

Thanks~

You must be signed in to post in this forum.