amoffat / sh

Python process launching

Home Page:https://sh.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot import name 'pg_dump' from 'sh'

boukhasmarsoufian opened this issue · comments

cannot import name 'pg_dump' from 'sh'
image

python version : 3.11.4
sh version : 2.0.6

This usually means that pg_dump is not in your PATH. Does which pg_dump tell you where the binary is located?