DistributionNotFound: The 'ReviewBoard' distribution was not found and is required by the application

53 views
Skip to first unread message

Vishal Biyani

unread,
Jun 3, 2020, 9:49:34 AM6/3/20
to Review Board Community
have installed ReviewBoard as per instructions available on site on Ubuntu Windows Linux Subsystem. However getting the error 

Target WSGI script '/var/www/codereview/htdocs/reviewboard.wsgi' cannot be loaded as Python module.
DistributionNotFound: The 'ReviewBoard' distribution was not found and is required by the application,


Can anyone help with resolving this error?

Christian Hammond

unread,
Jun 7, 2020, 5:50:41 PM6/7/20
to revie...@googlegroups.com
Hi Vishal,

Sounds like the Python environment used by Apache isn’t the same one used to install the package. Perhaps they’re using two different versions of Python. You’d need to make sure mod_wsgi is using Python 2 and that Review Board is installed in the system-provided Python 2 site-packages directory. 

Christian


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/97bb67ce-6cbf-4975-9341-4a1642c26f1e%40googlegroups.com.
--
--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board
Reply all
Reply to author
Forward
0 new messages