Posts

Showing posts from August, 2017

Error for pip install Pillow on Ubuntu virtualenv

Issue: Failed building wheel for Pillow Running setup.py clean for Pillow Solution: sudo apt-get install python-dev sudo apt-get install libjpeg8-dev sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib pip install pillow

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-y2kyiV/psycopg2/

Issue : Installing sentry Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-y2kyiV/psycopg2/ ​Solution:  ​ Python 2 sudo apt install libpq-dev python-dev Python 3 sudo apt install libpq-dev python3-dev ​

fixing for error - postdrop: warning: unable to look up public/pickup: No such file or directory.

I installed postfix and got this error: postdrop: warning: unable to look up public/pickup: No such file or directory. Turns out that sendmail was previously installed and that was messing things up. I had to stop sendmail and make the appropriate directory and restart postfix. Specifically: mkfifo /var/spool/postfix/public/pickup ps aux | grep mail kill  sudo /etc/init.d/postfix restart Test emailing  #email youremail@abc.com (enter) subject: test (enter) test (ctrl+d) cc: youremail@abc.com (enter) if your receive above then email everything is fine now! :)