By DaveT
Following this tutorial # How To Install And Configure pgAdmin 4 in Server Mode on Ubuntu 22.04 but when I try to run the pgadmin setup script (python my_env/lib/python3.10/site-packages/pgadmin4/setup.py
) I get an error:
File "/home/durc/environments/illy/lib/python3.10/site-packages/dns/zone.py", line 757, in Zone ) -> dns.rdtypes.ANY.SOA.SOA: AttributeError: module 'dns.rdtypes' has no attribute 'ANY'
Any and all help/advice is welcomed.
Dave
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hello @davet
This seems to be a known issue with eventlet
https://github.com/eventlet/eventlet/issues/781#ref-pullrequest-1533981549
The following workaround has been mentioned :
- python3 -m pip install dnspython==2.2.1
Also upgrading eventlet
to latest version seems to resolves the issue and the workaround is no longer needed.
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.