Tech notes

1. Problem to call stable-baselines dll

Solution to pip uninstall mpi4py, and then install Microsoft MPI 10.x (both files).

2. Problem to run tensorflow

Solution to uninstall and install previous versions

C:\Users\Guru\AppData\Local\Programs\Python\Python36\python –version
pip install tensorflow==1.15.4
pip install virtualenv
virtualenv env

Go to This PC -> Right-click -> Click on Properties -> Advanced System Settings.

3. Switching different python version on windows 10

You will see the System Properties. From here navigate to the "Advanced" Tab -> Click on Environment Variables.

Use Dockerfile to install : Docker build .

docker pull python:3.6-buster

docker exec -it tensorflow pip install stockstats

docker run -p 8888:8888 jupyter/datascience-notebook
docker run -t -d –name test -v “/d/Containers/Container2:/home” ubuntu
docker run -t -d –name py381 -p 8886:8888 -v “/d/Containers/Container2:/home” python:3.8-buster
docker ps
docker exec -it test bash

1 – run docker ps -a to see containers presently loaded
2 – run docker system prune to remove all stopped containers
3 – run docker stop ea34 to stop any continer running, and remove it wtih docker system prune
4 – search images with docker images
5 – run docker run -p 8888:8888 --name jupyter folium2