python - Importing PyMySQL - Stack Overflow
https://stackoverflow.com/questions/45907400Does Jupyter Notebook have some form of terminal emulator that you're using? If it does try using ubuntu's terminal. Ctrl+Alt+T is a shortcut to do so.. Then try either one of these commands to download PyMySQL for your version of python, after installing pip.. sudo apt-get install python-pip sudo pip install PyMySQL sudo pip2 install PyMySQL sudo pip3 install PyMySQL