pip install PyQt5
pip install pandas
pip install xlrd
pip install xlwt
pip install mysql-connector-python
pip install openpyxl
pip install matplotlib
I set up by Ubuntu WSL the same way as instructed at the beginning of the class. However, after packaging the program, there were some issues interally with the Linux system. There were errors that were given in relation to not being able to find "xcb" and not finding some libxcb.so files. I had to do the following to fix this error:
sudo apt-get install libxcb-icccm4-dev libxcb-image0-dev libxcb-shm0-dev libxcb-keysyms1-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-xfixes0-dev libxcb-xkb-dev libxkbcommon-x11-dev libxkbcommon-dev
This will have to be installed before the program can be ran, IF a xcb error is produced.
Again, VcXsrv was set up just the way as instructed in class. However, I was getting the following libGL (library for OpenGL) errors: libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast
I found that it was a configuration with the server. I did the following options for setting up the VcXsrv server and it fixed the OpenGL errors: 1. Choose Multiple Windows 2. Set Display to the value 0 3. Choose the Start No Client option 4. Disable the Native OpenGL option.
In class, our config files keep the display value to -1 and the Native OpenGL option is Enabled. When I changed these two options, the libGL errors went away. These errors could cause problems in the display.
This will have to be changed before running the program, or it could possible cause errors with the UI.
The MySQL connector looks for a configuration file called mysql.conf. It should specify host, database, user, password, and port information for the target database.
This information is used by the db_connection file, which exists as a separate script to de-identify and export data from the excel sheets to a MySQL database. The decision for this script to exist on its own rather than as a part of the main GUI program was made as a result of customer requirements for protection of HIPAA data.
The package should install all dependencies.
https://github.com/KylerKatz/KetoGator/tree/dain_kg_package3
pip install KetoGator==1.0.3
kgstart
Username: user Password: pass