v20.12.02
Changes
Changelog: https://github.com/sofa-framework/sofa/blob/v20.12/CHANGELOG.md#v201202
Diff with v20.12.01: v20.12.01...v20.12.02
Required dependencies
Windows
- Install Microsoft Visual C++ 2017 Redistributable.
- OPTIONAL
Install Python 3.7 + Numpy + Scipy if you want to use the SofaPython3 plugin or any of its dependers.
Download and install Python 3.7 (amd64).
Make sure to enable PIP installation and addition to PATH.
Then, open a console and runpython -V && python -m pip install numpy scipy
- DEPRECATED
Install Python 2.7 + Numpy + Scipy if you want to use the SofaPython plugin or any of its dependers.
Download and install Python 2.7 (amd64).
Make sure to enable PIP installation and addition to PATH.
Then, open a console and runpython -V && python -m pip install "numpy < 1.17" "scipy < 1.3"
Linux
- Install libopengl0
sudo apt install libopengl0
- OPTIONAL
Install Python 3.7 + Numpy + Scipy if you want to use the SofaPython3 plugin or any of its dependers.
sudo apt install python3.7-dev python3-pip
python3.7 -m pip install --upgrade pip && python3.7 -m pip install numpy scipy
- DEPRECATED
Install Python 2.7 + Numpy + Scipy if you want to use the deprecated SofaPython plugin or any of its dependers.
sudo apt install python2.7-dev python-pip
python2.7 -m pip install --upgrade "pip < 21.0" && python2.7 -m pip install "numpy < 1.17" "scipy < 1.3"
MacOS
- All core dependencies are included in the binaries.
- OPTIONAL
Install Python 3.7 + Numpy + Scipy if you want to use the SofaPython3 plugin or any of its dependers.
brew install [email protected]
python3.7 -m pip install numpy scipy
Python2 to Python3 migration
SofaPython3 is now included in SOFA binaries.
Thus, these Python2-related features remain disabled:
In the C++ API | In the Python2 API |
---|---|
SofaTest/Python_test | SofaTest.Macro |
SofaExporter/Binding_OBJExporter SofaExporter/Binding_STLExporter |
|
Compliant/mapping/PythonMultiMapping Compliant/python/Binding_AssembledSystem |
Compliant.Control Compliant.Frame Compliant.Rigid Compliant.Script Compliant.sml Compliant.Tools Compliant.Vec Compliant.future Compliant.StructuralAPI |
image/python/Binding_ImageData | SofaImage.API |
Info
Binaries were generated using the following libraries:
. | Qt | Boost | Eigen | Python2 | Python3 | Glew | Zlib | libPNG | libJPEG | libTIFF |
---|---|---|---|---|---|---|---|---|---|---|
Windows | 5.12.6 | 1.69.0 | 3.3.7 | 2.7.17 | 3.7.9 | 1.13 | 1.2.8 | 1.6.18 | 6b | 4.0.9 |
Linux | 5.12.6 | 1.67.0 | 3.3.4 | 2.7.17 | 3.7.5 | 2.0.0 | 1.2.11 | 1.6.34 | 8c | 4.0.9 |
MacOS | 5.12.6 | 1.67.0 | 3.3.7 | 2.7.10 | 3.7.9 | 2.1.0 | 1.2.11 | 1.6.36 | 9c | 4.0.10 |