Posted Tue, 26 Jan 2021 08:56:44 GMT 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 Tue, 26 Jan 2021 11:53:07 GMT by Carlos Andres Rivera Villarreyes Global Product Specialist - 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 Wed, 27 Jan 2021 07:49:55 GMT 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 Thu, 28 Jan 2021 06:21:05 GMT by Lin Jimmy
Ok!

Thanks~

You must be signed in to post in this forum.