Migrating to 7.0

Process.memory_info_ex() removed

Deprecated since 4.0. Use Process.memory_info() instead, which returns the same fields.

# old
p.memory_info_ex()  # AttributeError

# new
p.memory_info()

Python 2.7 dropped

The last supporting release is 6.1.x. See Letting go of Python 2.7.

pip2 install "psutil==6.1.*"