symlink

ln -s your modules

Note to self: Remember to create symblinks of your modules in the site-packages folder of your virtualenv!

As I’m on a shared hosting, packages that need to be globally installed like south, six and Pillow, will not appear in ~/env/lib/python2.7/site-packages

neither will they appear when you attempt a pip list or pip freeze

and if you attempt to pip install them, you will encounter gcc permission error.

(env)username@username.co [~/env/lib/python2.7/site-packages]# ln -s /usr/lib/path/to/module

Check that your link is correct and it isn’t red text with a black background.

Will do a post on symlinks and their different colours and meanings.

If the links are not there or are wrong, you will most likely get an Unhandled Exception or maybe an Internal Server Error.

Advertisements