You are not logged in.
Pages: 1
Hello there!
I wanted to install pwndbg with all the plugins/tools from pwntools, but that didn't work. When I installed pwndbg I only got the commands that doesn't include the ones from pwntools. I therefore started reading on what the problem could be and found that you should compile gdb yourself and make sure to specify what python you want to use with the parameter --with-python=/path/to/python. Therefore I uninstalled gdb and then compiled it and installed using make. However, when I tried to do this first using python 3.9 make crashed and refused to build it, this have been an reoccurring problem with make when I've had python 3.9. So I decided to downgrade from python 3.9 to python 3.8.0 using "downgrade" from the AUR. It then went through with the make without problem.
I now have gdb installed, however when I now try to use pip to install packages I get this error: https://imgur.com/a/zUWRZAT
What should I do to fix this problem? How do I get pip working again?
Thank you, and have a great day!
Offline
Partial updates are not supported, and you have downgraded your system into oblivion. Get everything back up to date and start all the way back at your first sentence: start a thread with the problems you are facing on a fully up-to-date system with 'pwndbg'. I very much doubt the downgrade "solution" that you were following is the way to fix those problems. Who or what gave you that advice?
Offline
https://gitlab.archlinux.org/archlinux/ … s-and-code
Per the Code of Conduct for this forum, do not take screenshots of text. Use
[code]output here[/code]But your problem is automatically obvious and I don't need your picture. Per the title, you "Downgraded python".
Now you have the python 3.8 "python" and the python 3.9 "pip", and never the twain shall meet.
If you ever downgrade any package for any reason whatsoever, the most likely outcome is you wreck your system. If it does indeed turn out you wrecked your system, then congrats, lesson learned.
Don't use expert debugging tools like "downgrade" without a thorough understanding of the costs and benefits. Because, in doing so, you (in your own small way) take on the role of a Linux distribution release engineer for the entire system toolchain of python-using things, which inherently means you are the expert that other people come to for help. And it appears you weren't ready for that.
Your pwngdb problems could be solved in several different ways, including by posting the errors you got and resolving them, but also by installing the AUR package "python38" which coexists with the system python.
Last edited by eschwartz (2021-04-01 01:30:15)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Pages: 1