From d41f58e21ffbf8e0177b72a6114fb7628241f7b8 Mon Sep 17 00:00:00 2001 From: David Seus <david.seus@mathematik.uni-stuttgart.de> Date: Wed, 14 Oct 2020 11:44:18 +0200 Subject: [PATCH] Update README.md --- Setup/README.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/Setup/README.md b/Setup/README.md index cb43bb2..0c007a3 100644 --- a/Setup/README.md +++ b/Setup/README.md @@ -123,13 +123,38 @@ This should be achieved by running cd shared/setup -within the container. Then run +within the container. Upgrade pip by running - pip3 install -r python_requirements.txt + sudo pip3 install --upgrade pip + + and then run + + sudo pip3 install -r python_requirements.txt to install missing python requirements needed to run `LDDsimulation` based -code. +code. In case you get an error + +~~~ +ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. + +We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. + +pandas 1.1.3 requires numpy>=1.15.4, but you'll have numpy 1.13.3 which is incompatible. +~~~ + + --use-feature=2020-resolver + +In case you get a warning like this +~~~ + WARNING: The scripts f2py, f2py3 and f2py3.6 are installed in '/home/fenics/.local/bin' which is not on PATH. + Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. +~~~ +you need to add +~~~bash +export PATH=/home/fenics/.local/bin:$PATH +~~~ +to your ~/.bashrc script within the `LDD-TPR` container. Concrats, now you can test the installation by running an example in the [Usecases](../Usecases) folder of the `LDDsimulation` repo. -- GitLab