• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Python 3 version

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 371 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    hulleyrob
    last edited by Mar 14, 2023, 3:23 PM

    So long story short what's the expected way to get the current version of python?

    Long version, I had a script that stopped working after my recent upgrade. I spotted that I have pointed it at python39. Must have missed the upgrade in the release notes.

    Easy fix point it at python311 however if there was a python3 that always pointed to the current python 3 version it would never need to be updated.

    Should this be an enhancement request or is there an expected way to deal with this?

    Rob

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Mar 14, 2023, 3:34 PM

      Under certain circumstances it can have both 3.9 and 3.11 installed on 23.01/2.7.0 so we can't use a meta package/symlink to automatically point to one or the other.

      Given that some scripts have issues with different major.minor python versions it's safest to point to one specifically.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      H 1 Reply Last reply Mar 14, 2023, 3:40 PM Reply Quote 0
      • H
        hulleyrob @jimp
        last edited by Mar 14, 2023, 3:40 PM

        @jimp Fair enough at least im not missing something simple then. As I said it was an easy fix just wasn't sure if I was making it harder for myself.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received