Hello community,
If I am using the python version 3.10 .Running make install
command suggests me to install the necessary python version <=3.12.
+ dirname /mnt/h/projects/project-title/Makefile
+ echo 'Install Backend & Frontend'
Install Backend & Frontend
+ make backend-install
make[1]: Entering directory '/mnt/h/projects/project-title'
+ dirname /mnt/h/projects/project-title/Makefile
+ make -C ./backend/ install
make[2]: Entering directory '/mnt/h/projects/project-title/backend'
+ which uv
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ dirname /mnt/h/projects/project-title/backend/Makefile
+ cat /mnt/h/projects/project-title/backend/version.txt
++ tput setaf 2
++ tput sgr0
+ echo '==> Generate constraints file'
==> Generate constraints file
+ echo '-c https://dist.plone.org/release/6.1.1/constraints.txt'
+ uvx mxdev -c mx.ini
###############################################################################
# Load configuration
Can not parse override:
###############################################################################
# Read infiles
Read [r]: requirements.txt
Read [c]: https://dist.plone.org/release/6.1.1/constraints.txt
###############################################################################
# No sources configured!
###############################################################################
# Write outfiles
Write [c]: constraints-mxdev.txt
Write [r]: requirements-mxdev.txt
🎂 You are now ready for: pip install -r requirements-mxdev.txt
(path to pip may vary dependent on your installation method)
+ dirname /mnt/h/projects/project-title/backend/Makefile
++ tput setaf 2
++ tput sgr0
+ echo '==> Install environment'
==> Install environment
+ uv venv /mnt/h/projects/project-title/backend/.venv
Using CPython 3.10.12 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
+ uv pip install -r requirements-mxdev.txt
× No solution found when resolving dependencies:
╰─▶ Because only project-title[test]==1.0.0a0 is available and the current Python version (3.10.12) does not satisfy Python>=3.12, we can conclude that
all versions of project-title[test] cannot be used.
And because you require project-title[test], we can conclude that your requirements are unsatisfiable.
make[2]: *** [Makefile:55: /mnt/h/projects/project-title/backend/.venv] Error 1
make[2]: Leaving directory '/mnt/h/projects/project-title/backend'
make[1]: *** [Makefile:61: backend-install] Error 2
make[1]: Leaving directory '/mnt/h/projects/project-title'
make: *** [Makefile:90: install] Error 2
Once I have installed the python version 3.12.9 and performed the same command make install
, It states me missing packages distutils
which are deprecated in python 3.12. I copied the folders from python 3.10. After doing all those process I am getting the below error while running the make install
command.
+ uvx mxdev -c mx.ini
Traceback (most recent call last):
File "/home/isharish2004/.cache/uv/archive-v0/z--v4lms5Jv2CEbdraZZ5/bin/mxdev", line 6, in <module>
from mxdev.main import main
ModuleNotFoundError: No module named 'mxdev'
make[2]: *** [Makefile:50: requirements-mxdev.txt] Error 1
make[2]: Leaving directory '/mnt/h/projects/project-title/backend'
make[1]: *** [Makefile:61: backend-install] Error 2
make[1]: Leaving directory '/mnt/h/projects/project-title'
make: *** [Makefile:90: install] Error 2
Hope this was fixed earlier https://community.plone.org/t/error-while-running-make-install-command/19114
Help me resolve the problem. Thanks in advance.