Replies: 1 comment
-
You will need to install geocoder inside netbox's virtualenv, since that's the environment that the report will run it. Best way is to create Then for the first time, either install into the venv as below:
or just run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm getting familiar with NetBox and copied some Report scripts from https://github.com/netbox-community/reports/tree/master/reports. I copied the site_address.py script to the reports dir. This may or may not be a report that I'd be interested in in production. But to determine that, I would like to run it w/o errors. I ran
pip install geocoder
successfully. I can't seem to find the requirements.txt or local_requirements.txt file(s). I'm not a Python coder so really not familiar with working with it.Any feedback or suggestions to resolve would be appreciated.
Thank you
HK
Server Error
A module import error occurred during this request. Common causes include the following:
Missing required packages - This installation of NetBox might be missing one or more required Python packages. These packages are listed in requirements.txt and local_requirements.txt, and are normally installed as part of the installation or upgrade process. To verify installed packages, run pip freeze from the console and compare the output to the list of required packages.
WSGI service not restarted after upgrade - If this installation has recently been upgraded, check that the WSGI service (e.g. gunicorn or uWSGI) has been restarted. This ensures that the new code is running.
The complete exception is provided below:
Beta Was this translation helpful? Give feedback.
All reactions