techblog

pip_mysqlclient

Nov 21st, 2017
776
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.29 KB | None | 0 0
  1. # Use this command for Ubuntu With Virtual Env
  2. source /srv/hass/hass_venv/bin/activate
  3. pip3 install --upgrade mysqlclient
  4. deactivate
  5.  
  6. # Use This Command For Virtual Env On Raspberry PI
  7. sudo su homeassistant -s /bin/bash  
  8. source /srv/homeassistant/bin/activate
  9. pip3 install mysqlclient
Advertisement
Add Comment
Please, Sign In to add comment