FinRL-Trading
FinRL-Trading copied to clipboard
mpi4py has no module "MPI"
https://stackoverflow.com/questions/14004457/error-loading-mpi-dll-in-mpi4py
https://github.com/openai/large-scale-curiosity/issues/15
Anyone got this error?
I have a bunch of problems when I use my Windows 10 machine, I would highly suggest using a VM like AWS EC2 or a macOS/ubuntu based machine.
https://medium.com/@bruceyanghy/aws-ec2-launch-jupyter-notebook-server-jupyter-lab-with-screen-daee4429cc4a
In case anyone cares, I also had this issue. Looks like installing mpi4py via PIP doesn't work but via conda does.
Here is a conda YML based on the provided requirements.txt to create an environment:
name: drl
channels:
- pytorch
- anaconda
- conda-forge
- defaults
dependencies:
- pip
- numpy>=1.16.4
- pandas>=1.0.3
- scikit-learn>=0.21.0
- gym>=0.15.3
- tensorflow-gpu=1.14.0
- joblib>=0.15.1
- matplotlib>=3.2.1
- pytest>=5.3.2,<6.0.0
- setuptools>=41.4.0,<42.0.0
- wheel>=0.33.6,<0.34.0
- mpi4py
- pip:
- stockstats
- stable-baselines[mpi]