Or actually, python3 -m pip install ., using python3 to invoke pip so that it is clear that the pip being invoked is the one connected to python3. See https://github.com/python-pillow/Pillow/pull/4459.
I've also replaced python setup.py build with python3 setup.py build, to ensure that users are not using Python 2.
Replaces
setup.py install
withpip install .
, as per https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.htmlOr actually,
python3 -m pip install .
, usingpython3
to invoke pip so that it is clear that the pip being invoked is the one connected topython3
. See https://github.com/python-pillow/Pillow/pull/4459.I've also replaced
python setup.py build
withpython3 setup.py build
, to ensure that users are not using Python 2.