@@ -69,8 +69,8 @@ git clone git@github.com:pyMBE-dev/pyMBE.git
6969Please, be aware that pyMBE is intended to be a supporting tool to setup simulations with ESPResSo.
7070Thus, for most of its functionalities ESPResSo must also be available.
7171pyMBE supports ESPResSo 5.0 and ESPResSo 5.1-dev.
72- Following the NEP29 guidelines, we recommend using Python3.11 +.
73- Both NumPy 1 and NumPy 2 are supported.
72+ Following the NEP29 guidelines, we recommend using Python3.12 +.
73+ Only NumPy 2 is supported.
7474
7575The pyMBE module needs a Python virtual environment to avoid compatibility issues with its dependencies.
7676Any virtual environment manager should work, but this readme will use ` venv ` , which can be installed on Ubuntu as follows:
@@ -84,18 +84,12 @@ To set up pyMBE, users need to configure a virtual environment. This is achieved
8484``` sh
8585python3 -m venv pymbe # create a local folder named pymbe containing the environment files
8686source pymbe/bin/activate # activate the virtual environment
87- python3 -m pip install -r requirements.txt " numpy<2.0 " " pandas<2.0 "
87+ python3 -m pip install -r requirements.txt
8888python3 maintainer/configure_venv.py --espresso_path=/home/user/espresso/build # please adapt the espresso path accordingly
8989python3 simulation_script.py # run a simulation script
9090deactivate # deactivate the virtual environment
9191```
9292
93- NumPy 2 users should adapt the pip command as follows:
94-
95- ``` sh
96- python3 -m pip install -r requirements.txt " numpy>=2.1" " pandas>=2.0"
97- ```
98-
9993We highlight that the path ` /home/user/espresso/build ` is just an example of a possible path to the ESPResSo build folder.
10094The user should change this path to match the local absolute path where ESPResSo was built.
10195Also, ESPResSo must be built with the same NumPy version as the one installed in the environment to avoid API version mismatch.
@@ -138,7 +132,7 @@ To use pyMBE in JupyterLab, install extra dependencies and register the virtual
138132
139133``` sh
140134source pymbe/bin/activate
141- python3 -m pip install ipykernel " jupyterlab>=4.0.8 " " PyOpenGL>=3.1.5 " " ipympl>=0.9.3 "
135+ python3 -m pip install ipykernel " jupyterlab>=4.4.9 " " PyOpenGL>=3.1.10 " " ipympl>=0.10.0 "
142136python3 -m ipykernel install --user --name=pyMBE
143137deactivate
144138```
0 commit comments