Howto install non-debian python packages in debian

I have messed up my python system under debian quite often. Today I had to install rpyc for a project -- no luck, no debian package.

So, How can I install non-existent python packages in debian in a clean way?

Then answer is simple:

Use pypi-install from the package python-stdeb.

(Found this at

I bet this works for Ubuntu too (yes, confirmed it with one of my students)