Skip to content
Discussion options

You must be logged in to vote

If you look at your backtrace, rather clearly you are running this under python 2.7 - and hence the error.

To run nbshell, you need to activate your virtualenv first:

cd /opt/netbox
. venv/bin/activate
python3 netbox/manage.py nbshell

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@4fd81048-Brian
Comment options

@candlerb
Comment options

Answer selected by 4fd81048-Brian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants