Python environment in plaxis

Hi, 

Since we are trying to automise more and more with Plaxis, we try to implement/use our own input-excel sheets to set up a model within Plaxis. We try to use python scripting for this. 

I found out that the python environment with the packages within plaxis is managed by Anaconda. However, we are not able to modify the root environment of Plaxis, which I can understand. I am able to make a copy of this environment and add some extra packages to this environment which are pretty usefull to use within Python, such as Pandas or xlsxwriter.

However, I cannot change the python intrepreter from the root environment to this new environment? How can I do so? Or is there another way to install and use extra python packages within Plaxis?

Thanks for your help in advance.

Thijmen Plomp

Parents
  • Hi Plomp

    Not sure if you are still finding the solution for this problem. To me it was not as easy as Stefanos mentioned below but I managed to install pandas in phyton for plaxis. 

    Below my steps.

    1. Go to C:\Program Files\Plaxis. Right click on Anaconda. Properties --> Security. Then change permissions for all users.

    2. On Windows Start menu search for PLAXIS Input or Output and run it as Administrator

    3. Open the command prompt from Expert > Python > Command prompt

    4. conda install Pandas

    This will install pandas (and other modules) on phyton for Plaxis.

    Hope it helps, 

    Cheers, Gerado

Reply
  • Hi Plomp

    Not sure if you are still finding the solution for this problem. To me it was not as easy as Stefanos mentioned below but I managed to install pandas in phyton for plaxis. 

    Below my steps.

    1. Go to C:\Program Files\Plaxis. Right click on Anaconda. Properties --> Security. Then change permissions for all users.

    2. On Windows Start menu search for PLAXIS Input or Output and run it as Administrator

    3. Open the command prompt from Expert > Python > Command prompt

    4. conda install Pandas

    This will install pandas (and other modules) on phyton for Plaxis.

    Hope it helps, 

    Cheers, Gerado

Children
No Data