Thanks, that worked.
[watchduck@opal9 my_django_app]$ source env/bin/activate
(env) [watchduck@opal9 my_django_app]$ pip install Pillow
Successfully installed Pillow-10.2.0
(env) [watchduck@opal9 my_django_app]$ pip list
Package Version
----------------- -------
asgiref 3.8.1
Django 4.1.8
pillow 10.2.0
pip 23.0.1
setuptools 65.5.0
sqlparse 0.4.4
typing_extensions 4.10.0
uWSGI 2.0.24
I am not sure, to what extent I have to keep the global installations in mind.
E.g. there is numpy (1.7.1)
. Could I use that in each Django app, when there is no local NumPy?
(env) [watchduck@opal9 my_django_app]$ deactivate
[watchduck@opal9 my_django_app]$ pip list
acme (1.11.0)
backports.ssl-match-hostname (3.5.0.1)
...
numpy (1.7.1)
parsedatetime (2.4)
perf (0.1)
pip (8.1.2)
...
yum-metadata-parser (1.1.4)
zope.component (4.1.0)
zope.event (4.0.3)
zope.interface (4.0.5)
For the sake of completeness, I want to mention the Python versions:
[watchduck@opal9 my_django_app]$ python --version
Python 2.7.5
[watchduck@opal9 my_django_app]$ python3 --version
Python 3.6.8
[watchduck@opal9 my_django_app]$ source env/bin/activate
(env) [watchduck@opal9 my_django_app]$ python --version
Python 3.10.13
Let's say I want to use 3.12 for one Django app, but keep the others as they are.
Can that easily be done?
(It probably sounds like nothing could go wrong, but on my Ubuntu this was a mess.)