(출처: https://stackoverflow.com/questions/1550226/python-setup-py-uninstall)
설치된 파일 리스트를 저장한 뒤, 지운다.
python setup.py install --record files.txt
xargs rm -rf < files.txtpython setup.py install 대신 pip install .로 패키지를 설치할 수 있다.
pip uninstall PACKAGE_NAME을 입력하면 쉽게 제거할 수 있다.
pip install .pip uninstall PACKAGE_NAME