Upgrade Pootle

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

NOTE: Before upgrading Django, make sure that your Django applications are compatible with the new version.

Follow the steps below:

  • Open the Bitnami Console and load the Bitnami environment.

  • Execute this command from the uncompressed directory:

      $ sudo pip install --upgrade Django --install-option="--prefix=installdir/apps/django" (Linux and Mac OS X)
      > pip install --upgrade Django --install-option="--prefix=installdir\apps\django --install-lib=installdir\apps\django --install-scripts=installdir\apps\django\django\bin --install-data=installdir\apps\django" (Windows)

    If you want a specific version of Django (not the latest one), add the version number as shown below:

      $ sudo pip install --upgrade Django==1.6.5 --install-option="--prefix=installdir/apps/django" (Linux and Mac OS X)
      > pip install --upgrade Django==1.6.5 --install-option="--prefix=installdir\apps\django --install-lib=installdir\apps\django --install-scripts=installdir\apps\django\django\bin --install-data=installdir\apps\django" (Windows)
  • Edit the script (usually in installdir/apps/django/bin) and change the first line to use python3 instead of .python2.7.bin:

Last modification July 1, 2020