Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing/configuring django for Python 3.11/3.12 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1186

PostPosted: Fri Jul 26, 2024 7:04 am    Post subject: Installing/configuring django for Python 3.11/3.12 [SOLVED] Reply with quote

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
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1186

PostPosted: Fri Jul 26, 2024 8:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum