Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked 0. Related 1. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. How do I reinstall python on my Ubuntu Ask Question. Asked 7 years, 10 months ago. Active 7 years, 10 months ago. Viewed 31k times. When I type apt-get install --reinstall python2. After this operation, 0 B of additional disk space will be used. Can you give all the commands you ran and any relevant files or logs for reproducing the issue. If you're installing libapache2-mod-wsgi-py3 from Debian's package repo then it's also installing Python 3.
Sorry, something went wrong. As you also mentioned "installing libapache2-mod-wsgi-py3 from Debian's package repo then it's also installing Python 3. The question is why does installing libapache2-mod-wsgi-py3 also installs python3. In any case, I managed to make python3. It's just a bit weird that in a docker environment specifically for python 3. I understand that not all users of the python There's a fair amount of historical discussion around mixing our Python with Debian's Python in 43 and why our Python can't reasonably be a drop-in replacement for Debian's, but we also can't block install of Debian's Python like we do in the PHP images because Python is so commonly used for system-level utilities in Debian itself.
So I guess the other way to put this is that if you want libapache2-mod-wsgi-py3 to work in this image and use our Python instead of Debian's, you're going to have to compile mod-wsgi from source against our Python plus Debian's httpd headers something that's likely to be somewhat involved, but to what degree I couldn't really wager a guess since I'm unfortunately totally unfamiliar with mod-wsgi.
Yeah, like you mentioned, having to to compile mod-wsgi doesn't look like a trivial task and in my case at least I went with another option which was easier for me and it also fit my needs.
Need to get kB of archives. After this operation, Do you want to continue? Please use the full name instead.
0コメント