I've installed and configured the Django app LBForum on Windows 8.1 and cannot get it to run. My ultimate goal is to get it to run alongside Mezzanine, but I can't even get it to run on its own.
Here's what I've done:
(As a precondition to the following steps, I have the following C/C++ compiler installed to support pip. http://www.microsoft.com/en-us/download/details.aspx?id=44266. The batch file vcvarsall.bat
is on the path environment variable.)
Perform a fresh install of python 2.78. I used the ActiveState distribution 64 bit.
I then uninstall and reinstall virtualenv because of a bug as per these instructions (https://askubuntu.com/questions/400343/trying-to-create-a-python-virtual-environment-but-getting-oserror)
Next I activate the new environment
env\Scripts\activate.bat
Next install lbform with
pip install lbforum
which fails because of "PIL" so I install that by itself.pip install PIL --allow-unverified PIL --allow-all-external
per Installing PIL with pip.Then install lbform with
pip install lbforum
which seems to work fine as it reports successNext I use the standard django commands for creating a site and adding a project.
I update the
urls.py
and the settings file for the site per the instructions found here: https://github.com/vicalloy/LBForum. Leaving off step 7.
When I run the app I see the following errors:
RuntimeError: South does not support Django 1.7 or higher. Please use native Django migrations.
I get different errors when running along Mezzanine but I'll create a different question for that once I know how to get this to run stand along in its own virtualenv.
Update: I've made some progress on this by removing south from INSTALLED_APPS. After doing so I was able to run .\manage.py migrate successfully. However I know see other errors:
File "c:\Users\cmedcoff\envlbf\lib\site-packages\attachments\urls.py" in <module>
1. from django.conf.urls.defaults import patterns, url
Exception Type: ImportError at /
Exception Value: No module named defaults
Apparently the package django-lb-attachments (0.8.3) is looking for the package/module "django.conf.urls.defaults" which does not exists in version Django (1.7.7)? So I guess lbforum docs suggest that Django 1.3+ is supported but this is not the case for 1.7.7 without import edits?