Hi, I've been trying to install ReviewBoard on a RedHat Server for the last couple of days, and I can't seem to make it work.
I was able to install it and the apache & mysqld servers are running, but the only page I'm able to get is a 500 Internal Server error page. I've looked into the logs, and it says " DistributionNotFound: ReviewBoard". I was able to get out of the previous problems, but this one I don't know what to do about it, and our mighty god Google has failed me. I just noticed that, in the log files, that it (apache?) is using Python 2.6, and not Python 2.7. I'm pretty sure that this is the problem, but how would I go about changing which python apache is using? It would be greatly appreciated if someone were to help me find a solution for this. Here are some details: OS: Red Hat Enterprise Linux Workstation release 6.10 (Santiago) Apache: 2.2.15-69.el6 MySQL: 5.6.44-2.el6 Python Packages: asana 0.8.2 asn1crypto 0.24.0 backports.shutil-get-terminal-size 1.0.0 bcrypt 3.1.7 certifi 2019.6.16 cffi 1.12.3 chardet 3.0.4 colorama 0.4.1 cryptography 2.7 distribute 0.7.3 Django 1.11.21 django-braces 1.13.0 django-cors-headers 3.0.2 django-evolution 0.7.8 django-haystack 2.8.1 django-multiselectfield 0.1.8 django-oauth-toolkit 0.9.0 django-pipeline 1.6.14 Djblets 1.0.12 dnspython 1.16.0 docutils 0.14 enum34 1.1.6 feedparser 5.2.1 futures 3.2.0 idna 2.8 ipaddress 1.0.22 Markdown 3.1.1 mimeparse 0.1.3 MySQL-python 1.2.5 mysqlclient 1.4.2.post1 oauthlib 3.0.1 paramiko 2.6.0 Pillow 6.0.0 pillowfight 0.3 pip 19.1.1 publicsuffix 1.1.0 pycparser 2.19 Pygments 2.4.2 pymdown-extensions 6.0 PyNaCl 1.3.0 python-dateutil 2.8.0 python-memcached 1.59 pytz 2019.1 PyYAML 5.1.1 rbintegrations 1.0 RBTools 1.0.2 requests 2.22.0 requests-oauthlib 1.2.0 ReviewBoard 3.0.15 setuptools 41.0.1 six 1.12.0 texttable 1.6.1 tqdm 4.32.2 urllib3 1.25.3 wheel 0.33.4 Whoosh 2.7.4 Full Log: [Wed Jun 26 11:37:52 2019] [error] [client ::1] mod_wsgi (pid=13295): Target WSGI script '/var/www/reviews.example.com/htdocs/reviewboard.wsgi' cannot be loaded as Python module. [Wed Jun 26 11:37:52 2019] [error] [client ::1] mod_wsgi (pid=13295): Exception occurred processing WSGI script '/var/www/reviews.example.com/htdocs/reviewboard.wsgi'. [Wed Jun 26 11:37:52 2019] [error] [client ::1] Traceback (most recent call last): [Wed Jun 26 11:37:52 2019] [error] [client ::1] File "/var/www/reviews.example.com/htdocs/reviewboard.wsgi", line 3, in <module> [Wed Jun 26 11:37:52 2019] [error] [client ::1] import pkg_resources [Wed Jun 26 11:37:52 2019] [error] [client ::1] File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module> [Wed Jun 26 11:37:52 2019] [error] [client ::1] working_set.require(__requires__) [Wed Jun 26 11:37:52 2019] [error] [client ::1] File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require [Wed Jun 26 11:37:52 2019] [error] [client ::1] needed = self.resolve(parse_requirements(requirements)) [Wed Jun 26 11:37:52 2019] [error] [client ::1] File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve [Wed Jun 26 11:37:52 2019] [error] [client ::1] raise DistributionNotFound(req) [Wed Jun 26 11:37:52 2019] [error] [client ::1] DistributionNotFound: ReviewBoard -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/4b3500af-70db-457e-bd7b-10f4108c7d6d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.