I installed the rasterio using these commands:

$ sudo add-apt-repository ppa:ubuntugis/ppa
$ sudo apt-get update
$ pip3 install rasterio

When I type rasterio.__version__ I get 1.0.8 which is latest.

But the synaptic package manager shows: 0.36.0 as the latest version Synaptic Version and in the repository website: Ubuntugis-stable enter image description here also shows 0.36.0-~xenial0` as the version: direct installation through synaptic

I have a system which does not have access to internet, where I have to install this rasterio's latest version.

Is there any way to install from github directly? or to update my system's repositories?


Since you installed with pip3 you should upgrade with pip3. For example:

pip3 install --upgrade rasterio

From the man page:

-U, --upgrade

    Upgrade all specified packages to the newest available version. The handling of dependencies depends on the upgrade-strategy used.
  • I have mentioned that I have no access to internet in the system where I hve to install or upgrade this pip. – Tarun Maganti Nov 21 '18 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.