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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s