You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a python3 virtual environment created by python3's venv command.
If I don't upgrade pip and setup tools the install works fine. It's when I upgrade pip and setuptools to the latest version the installation fails with the output provided below.
I'm using Python 3.9.6 in development. The venv command installs
pip 21.2.4
setuptools 58.0.4
The versions used when installs failed
Package Version
---------- -------
pip 22.3.1
setuptools 65.6.3
ERROR
django-permissionedforms, django-modelcluster, django-filter, Wagtail, wagtail-wordpress-import
DEPRECATION: lxml is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for lxml ... error
error: subprocess-exited-with-error
× Running setup.py install for lxml did not run successfully.
│ exit code: 1'\
The text was updated successfully, but these errors were encountered:
Based on the error, it seems like you need to install wheel (pip install wheel). This has been my experience as well with all python packages that provide wheels. Does that fix the issue?
I'm using a python3 virtual environment created by python3's
venv
command.If I don't upgrade pip and setup tools the install works fine. It's when I upgrade
pip
andsetuptools
to the latest version the installation fails with the output provided below.I'm using Python 3.9.6 in development. The
venv
command installsThe versions used when installs failed
ERROR
The text was updated successfully, but these errors were encountered: