Skip to main content


Showing posts from April, 2017

Postgres/Django: could not load library

If you are getting an error like this after PostgreSQL update: ERROR:  could not load library "/usr/local/Cellar/postgresql/9.5.6/lib/": dlopen(/usr/local/Cellar/postgresql/9.5.6/lib/, 10): Library not loaded: /usr/local/lib/libCGAL.10.dylib   Referenced from: /usr/local/lib/libSFCGAL.1.dylib   Reason: image not found  or of library libspatialite Run following command brew reinstall sfcgal --build-from-source    brew reinstall libspatialite --build-from-source I hope it will fix your issue. Thanks!!!! Enjoy Programming!!! :)

Enable pep8 autoformat in Sublime Text

Steps to install pep8 autoformat package in Sublime Editor 1. Download Mercurial from and install it. 2. Go To Sublime Text -> Preferences -> Browse Packages -> Note down the location. 3. Open terminal and go to Sublime Packages location. 4. Get clone - hg clone 'Python PEP8 Autoformat' 5. Restart Sublime Text3 6. If pep8 max line length 80 not working - Go To Sublime Text -> Preferences -> Settings -> User - Add rules "rulers": [80] Thanks!!!! Enjoy Programming!!! :)