• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 724 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.
  • C
    Cool_Corona
    last edited by Jul 12, 2022, 4:01 AM

    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??

    G 1 Reply Last reply Jul 12, 2022, 8:56 AM Reply Quote 0
    • G
      Gertjan @Cool_Corona
      last edited by Jul 12, 2022, 8:56 AM

      @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.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • C
        Cool_Corona
        last edited by Jul 12, 2022, 9:15 AM

        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
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received