Replies: 3 comments 2 replies
-
The default Python installation is what the operating system uses natively, but you can install additional Python versions in parallel for use by individual applications. For example, I have 3.5 through 3.9 installed on my local system:
The system's For NetBox v3.0, you can specify your desired Python version when executing the upgrade script using an environment variable, like this:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@baldgeek @jeremystretch thanks a lot for both your advice! 😉 I did try the Python update alone but Netbox didn't run anymore right after the update+reboot so as I also had a snapshot of my VM (NB 2.11.11), I reverted it so I would be able to run the upgrade script to 2.11.12 once again after the updated Python (3.9) which is also now the new default. Is that OK? (As I didn't know if I can run the same upgrade script twice) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
As you know, Netbox 3 will drop Python 3.6 support so I want to migrate to a newer version as soon as I can.
The thing is:
Sound maybe stupid, but all article I could read would compile another Python aside the default version, but I don't know how this "works", so what will happen when default will be replaced, is the newly compiled version automatically updated, what happens if the new default is the one I've compiled, etc...
So anybody that can help and fill up the holes me is welcome! 😉
(And this guide might help a few others...)
Beta Was this translation helpful? Give feedback.
All reactions