How to configure phadmin to use python 3.8 from within laragon?


  • | 1801 points

    Problem

    Backup via pgadmin cannot work because it search for python38.dll

    0_1623316531216_upload-06cd2e7c-5131-4641-a0b6-96e94bd076bd

    So I installed python into laragon into the path C:\laragon\bin\python\python-3.8.9-x64

    0_1623316785617_upload-4ca84aa1-ba1e-4a19-87e7-645f537f5b66

    The I opened the file C:\laragon\bin\postgresql\postgresql-13.2-1-windows-x64-binaries\pgAdmin 4\venv\pyvenv.cfg

    I entered this configs

    home = C:\laragon\bin\python\python-3.8.9-x64
    implementation = CPython
    version_info = 3.8.3.final.0
    virtualenv = 20.0.20
    include-system-site-packages = false
    base-prefix = C:\laragon\bin\python\python-3.8.9-x64
    base-exec-prefix = C:\laragon\bin\python\python-3.8.9-x64
    base-executable = C:\laragon\bin\python\python-3.8.9-x64\python.exe
    

    Restarted all (Laragon itself but also the pc)

    I still have the pythonw.exe error which cannot find python38.dll

    I tried with pgAdmin 4 configuration, without success

    0_1623317326569_upload-a99a733b-2c4c-4655-9a9f-a84bcac9611b


  • administrators
    | 130514 points

    @realtebo : Can you copy the python38.dll and put it to C:\Windows\System32


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.