@@ -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.