-
Notifications
You must be signed in to change notification settings - Fork 23
Home
Before you can do anything with this you'll need to setup and activate a python [virtualenv] (http://pypi.python.org/pypi/virtualenv). Run the following at the command prompt...
If you do not have python installed, or are not sure, follow these steps to install/check python.
If you do have pip, go here and follw the insturctions to install pip.
If you have pip installed on your machine,
pip install pygal
###Install PyQt
Download the exe, at the bottom of the page, of PyQt, make sure to have the Py2.7 and correct architecture (32- or 64-bit).
###Install Python-ODB
Clone the repository and run
python setup.py install
###Install PiHud
Clone the repository and run
python piHud/__main__.py
If you don't have virtualenv installed yet, try:
$ sudo easy_install virtualenv virtualenvwrapper
If you're using a distro like Fedora or Ubuntu, you should try this instead::
Fedora:
$ sudo yum install python-virtualenv!
Ubuntu/Debian:
$ sudo apt-get install python-virtualenv
mkvirtualenv pihud
If you do have virtualenv installed, just run:
workon pihud
pip install -r requirements.txt
sudo yum install PyQt4
yum install PyQt4:
sudo yum install PyQt4-devel
symlink the PyQt4 and sip libraries into your virtual environment:
ln -s /usr/lib64/python2.7/site-packages/PyQt4 /home/$USER/.virtualenvs/pihud/lib/python2.7/
ln -s /usr/lib64/python2.7/site-packages/sip.so /home/$USER/.virtualenvs/pihud/lib/python2.7/
To run, simply execute the following command:
python piHud/__main__.py