Update from_pypi.py

minor corrections