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

    Failed to load python module 'maxminddb': No module named 'maxminddb'

    Scheduled Pinned Locked Moved pfBlockerNG
    3 Posts 2 Posters 914 Views 1 Watching
    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.
    • Cool_CoronaC Offline
      Cool_Corona
      last edited by

      2021-07-08 22:40:40,546|ERROR| [pfBlockerNG]: Failed to load python module 'maxminddb': No module named 'maxminddb'
      2021-07-08 22:40:40,546|ERROR| [pfBlockerNG]: Failed to load python module 'sqlite3': No module named '_sqlite3'

      Anybody got an explanation for that one besides they are missing??

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @Cool_Corona
        last edited by

        @cool_corona

        Using the latest pfB ?
        What pfSense ?

        Go to the console or SSH, and type

        python3.8
        

        and then copy paste

        import sys
        print (sys.path)
        

        On one of the path you should find what python needs in :
        /usr/local/lib/python3.8/site-packages/maxminddb

        sqlite3 can also be found / should be there.

        Dono if pfBlocker put them in place, or if they are part of pfSense.

        No "help me" PM's please. Use the forum, the community will thank you.

        1 Reply Last reply Reply Quote 0
        • Cool_CoronaC Offline
          Cool_Corona
          last edited by

          Just deleted the py.error.log and it went away.

          On 2.5.2 still and havent upgraded yet. PFB 3.1.0_1

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.