python - How to get LBForum (0.9.22) to run -
i've installed , configured django app lbforum on windows 8.1 , cannot run. ultimate goal run alongside mezzanine, can't run on own.
here's i've done:
(as precondition following steps, have following c/c++ compiler installed support pip. http://www.microsoft.com/en-us/download/details.aspx?id=44266. batch file vcvarsall.bat
on path environment variable.)
perform fresh install of python 2.78. used activestate distribution 64 bit.
i uninstall , reinstall virtualenv because of bug per these instructions (https://askubuntu.com/questions/400343/trying-to-create-a-python-virtual-environment-but-getting-oserror)
next activate new environment
env\scripts\activate.bat
next install lbform
pip install lbforum
fails because of "pil" install itself.pip install pil --allow-unverified pil --allow-all-external
per installing pil pip.then install lbform
pip install lbforum
seems work fine reports successnext use standard django commands creating site , adding project.
i update
urls.py
, settings file site per instructions found here: https://github.com/vicalloy/lbforum. leaving off step 7.
when run app see following errors:
runtimeerror: south not support django 1.7 or higher. please use native django migrations.
i different errors when running along mezzanine i'll create different question once know how run stand along in own virtualenv.
update: i've made progress on removing south installed_apps. after doing able run .\manage.py migrate successfully. know see other errors:
file "c:\users\cmedcoff\envlbf\lib\site-packages\attachments\urls.py" in <module> 1. django.conf.urls.defaults import patterns, url exception type: importerror @ / exception value: no module named defaults
apparently package django-lb-attachments (0.8.3) looking package/module "django.conf.urls.defaults" not exists in version django (1.7.7)? guess lbforum docs suggest django 1.3+ supported not case 1.7.7 without import edits?
the problem when install lbforum in pypi last update on 2011. project has set django dependency django>=1.3, install django 1.7 :s. similar thing happends pil, should install pillow instead of pil.
also project seems incompatible django 1.5 , has out dated deps think need follow steps (i tried them on linux)
pip install django==1.3
however recommend use latest version of django.
you can try install dev version command (you need git), seems not compatible django 1.5
pip install git+https://github.com/vicalloy/lbforum
tehere fork seems compatible django 1.5+, didn't have time check it.
pip install git+https://github.com/bjinwright/lbforum
for installing pillow instead of pil
pip uninstall pil pip install pillow
Comments
Post a Comment