BardOfCodes / procXD

A Python package for making excalidraw figures procedurally from python.
MIT License
7 stars 1 forks source link

FIX: SetuptoolsDeprecationWarning: setup.py install is deprecated #1

Closed y0608 closed 4 months ago

y0608 commented 4 months ago

First I got this error when running python3 setup.py install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.

Fix: I had to install version 58.2 of setuptools pip install setuptools==58.2.0 and it worked.

Lastly if someone wonders I got this error: error: can't create or remove files in install directory, but it is easy to fix - just run the setup with sudo: sudo python3 setup.py install