I get this error every time I try and upgrade python2 to python3. I am using this VPS to host a discord bot and I have tried quite a few things to try and resolve this issue including:
Fresh install of Ubuntu Reinstalling python Reinstalling the apt_pkg package.
Any help would be very appreciated!
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!
Hi @OilBaron,
Can you please provide the exact error? Usually, this error is related to missing a module and it’s fixable based on that output.
Additionally, please let us know how exactly did you reinstall python and the apt_pkg packages. Maybe something was left during the installation process.
Regards, KFSys
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.