Skip to main content

Dev-Environment

Installing pwntools Locally and Importing pwn

·485 words·3 mins
I hit this while installing a local pwntools checkout: error: externally-managed-environment This is not a pwntools problem. It is Python packaging doing what the distro asked it to do. On recent Debian and Ubuntu systems, the system Python is marked as externally managed, so pip install into the global interpreter is blocked by default.

Installing pwndbg From Source With venv

·481 words·3 mins
This is the way I install pwndbg from a local checkout when I want the Python dependencies isolated in a venv. I am not using setup.sh here. The script is convenient, but it also tries to install system packages with sudo. For a clean user-level install, I prefer doing the Python part explicitly.

配置 Vim

·390 words·2 mins
Vim 不知不觉已经迭代到 9.0 版本了,回想起来我昨天好像还在用 Vim 6.0。