- Open pycharm
- Go to File/Settings/Project: ki-demonstrator_wba_ima/Project Interpreter
- Set project interpreter to python.exe of conda environment.
- For Win10 usually at: C:/Users//AppData/Local/Continuum/anaconda3/envs/ki-demonstrator_wba_ima/python.exe
- enter bash and install following libraries
- Run: pip3 install flask flask_wtf wtforms sklearn numpy pandas graphviz pydotplus
- Run app.py
- Click on url in console
- Sign up and use https://ngrok.com
Problem:
- ImportError: DLL load failed: The specified module could not be found. Solution:
- Download numpy-1.16.4+mkl-cp37-cp37m-win_amd64.whl from here: https://www.lfd.uci.edu/~gohlke/pythonlibs/
- Open console and go to location of downloaded file
- Activate conda environment: conda activate ki-demonstrator_wba_ima
- Run: pip install --upgrade --force-reinstall .\numpy-1.16.4+mkl-cp37-cp37m-win_amd64.whl