View previous topic :: View next topic |
Author |
Message |
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1186
|
Posted: Fri Jul 26, 2024 7:04 am Post subject: Installing/configuring django for Python 3.11/3.12 [SOLVED] |
|
|
I'm trying to implement a django application on my gentoo www server. At the moment I have two python versions installed 3.11 and 3.12. Django is only installed on Python 3.12. So I'm running into a problem whenever my server starts because it is running a different version of python than I think:
Code: | Apache/2.4.62 (Unix) mod_wsgi/5.0.0 Python/3.11 configured -- resuming normal operations
|
As I see it I need to make Django work with the older version of Python. Thing is I'm a little rusty on how to do this. Can someone please help point me in the right direction with the portage use flags?
Code: | gentoo-www /etc/portage/package.use # quse python3_11 | grep -i django
dev-python/django: doc sqlite test doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 python_targets_python3_13 |
Last edited by LIsLinuxIsSogood on Fri Jul 26, 2024 8:19 am; edited 1 time in total |
|
Back to top |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1186
|
Posted: Fri Jul 26, 2024 8:05 am Post subject: |
|
|
Update: I'm currently reinstalling Django with new use flags. Hopefully this fixes my problem.
Problem solved after reinstalling django with proper use flags |
|
Back to top |
|
|
|