Install GDAL for Python with pip

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 90

  • @fredquesnel1855
    @fredquesnel1855 2 роки тому +6

    You singlehandedly restored my faith in instructional youtube videos! Clear and to the point, no hidden steps.

    • @geospatialschool
      @geospatialschool  2 роки тому +1

      Thanks!

    • @niflag
      @niflag 10 місяців тому +1

      You can't start from within a conda env and say that there were no 'hidden steps' lol

  • @evairmessias
    @evairmessias Рік тому +3

    Thanks for your videos, you were important for my learning python. I hope you continue to bless others with your knowledge. Thanks from Brazil

  • @kristoffermg5986
    @kristoffermg5986 9 місяців тому +1

    Thanks, really helped out a ton. Wish I found this hours ago before all of the suffering

  • @MadhurDevkota
    @MadhurDevkota 2 роки тому

    yes finally solved after roaming from forum to forums..... you are saving humanity one successful installation at a time!

  • @JizzyDipper
    @JizzyDipper 3 роки тому +2

    now THIS is content 👏👏👏 a comprehensive guide on this topic is hard to find. i usually end up just subprocessing the exe's

  • @songlinchua1212
    @songlinchua1212 3 роки тому +4

    Hello, is there a wheel for linux? I use Ubuntu 18.04 with python 3.8

  • @utnapishtim307
    @utnapishtim307 Рік тому +2

    Thanks god!!! Brazil loves you!!!!!

  • @yunshunzhong4491
    @yunshunzhong4491 3 роки тому +2

    Is there also a wheel for mac? I got an error "error: command 'gcc' failed with exit status 1" when I tried pip or brew install on mac

  • @sunethlakmal5811
    @sunethlakmal5811 2 роки тому +1

    You are a genius. you saved my project. Thankyou

  • @HUNGNGUYEN-jv3fv
    @HUNGNGUYEN-jv3fv 3 роки тому +3

    i use python 3.9 but it said that this GDAL is not supported wheel for this platform :( Can you help me? Thank you.

    • @kristendraws
      @kristendraws 3 роки тому

      same here

    • @M94-24
      @M94-24 3 роки тому

      same here

    • @paulobittencourt6107
      @paulobittencourt6107 3 роки тому

      @@M94-24 same here

    • @AvirajBattan
      @AvirajBattan 2 роки тому +1

      You would have downloaded a wrong file...
      If you have python 3.9 then your file should have cp-39 in it

  • @stevey7997
    @stevey7997 2 роки тому +1

    Thanks a lot for your help! You saved me from some additional headaches.

  • @edytrihatmoko
    @edytrihatmoko Рік тому +1

    Hi Sir! Massive thanks to you for sharing this video. Finally, I can install gdal.

  • @gsotoingenieria
    @gsotoingenieria 2 місяці тому

    Is it necessary to install Conda to use GDAL, or can I install it directly in Python to call it as a regular library in Visual Studio?"

  • @pr7070
    @pr7070 Рік тому +1

    Simple, easy to understand, effective.

  • @madgoldnz
    @madgoldnz 2 роки тому +1

    Thanks heaps! this saved me a bunch of time and frustration

  • @МихайлоЛивак
    @МихайлоЛивак Рік тому +2

    Good vid. But as everywhere this site not working now

  • @alifallahi7478
    @alifallahi7478 Рік тому

    hey, thanks for the content.
    I have a problem in Django project.
    I installed gdal wheel in my env successfully but I can't find osgeo folder in env/libs/site-packages

  • @triptiagarwal9970
    @triptiagarwal9970 9 місяців тому

    Thank you so much! I was just wondering how I could now access gdal in my IDE like Jupyter notebooks? Following your steps I was able to install it using pip but I don't know how to proceed. Thanks!

    • @geospatialschool
      @geospatialschool  9 місяців тому

      Now that you have it installed, check out the Python documentation for how to use GDAL. You can also check out my GDAL course at geospatialschool.com for in-depth instruction.

  • @daveeslinger1265
    @daveeslinger1265 3 роки тому +1

    Great video, just what I needed; kept me from additional head-banging. Thanks!

  • @xhevairllakaj7765
    @xhevairllakaj7765 3 роки тому +6

    Thank you for this guide. I installed the gdal successfully.
    But when I run: py manage.py runserver, it can't.
    The message is below:
    -----
    File "..\mymap\mymap_venv\lib\site-packages\django\contrib\gis\gdal\libgdal.py", line 46, in raise ImproperlyConfigured(
    django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal302", "gdal301", "gdal300", "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"
    ). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.
    -----
    Any suggestions, please?

  • @bachhaphong7619
    @bachhaphong7619 2 роки тому +1

    This is LEGENDARY! Thank you so so much!!!

  • @DrCheez342
    @DrCheez342 4 місяці тому

    The website is down now, where can i get it now? edit: i found it another one thanks!(maybe ill just trial and error this)

  • @nestorjerizzi
    @nestorjerizzi 2 роки тому

    Wow man! You are a genius! My problem was solved perfectly. Lot of thanks

  • @JohnyNoToes
    @JohnyNoToes 2 роки тому +1

    This was perfect, thank you for making the video

  • @iaog947
    @iaog947 4 місяці тому

    thank for your video,but not this wheel website is not support😢

  • @TheErDiwakar
    @TheErDiwakar Рік тому

    Hi, The above GDAL installation seems to be for Window machine only, Do you have the similar installation video for linux machine?

    • @geospatialschool
      @geospatialschool  Рік тому

      With linux you *should* be able to install directly with pip

  • @nikolaytravels4899
    @nikolaytravels4899 Рік тому

    thanks man, you've made my day

  • @annaebenberger1896
    @annaebenberger1896 2 роки тому

    Hello
    I did sucssesfully make every step. When I did open spyder and want to use the module I am getting an error, that I cannot find GDAL/OGR modules. What did I wrong?

    • @geospatialschool
      @geospatialschool  2 роки тому

      Is spyder using the same python installation or environment where you installed gdal?

  • @christiangilaquino7926
    @christiangilaquino7926 Рік тому

    Hello, do you know how can I import this to the AWS lambda layer?

  • @arielcototapia1746
    @arielcototapia1746 2 роки тому

    now i have the problem with "No module named 'osgeo'" what i have to do?

  • @Tadvid-pe4ve
    @Tadvid-pe4ve Рік тому

    Thank you for this video. it is so helpful to me.

  • @rajeshsigdel5119
    @rajeshsigdel5119 Рік тому

    ModuleNotFoundError: No module named 'gdal'
    I followed your steps but it is not solved yet. what should I do !?

    • @geospatialschool
      @geospatialschool  Рік тому

      Did the installation complete without errors? Did you install the appropriate wheel for system architecture? And are you using the environment where gdal was installed? Have you tried both from osgeo import gdal and import gdal?

  • @nafaszareee6871
    @nafaszareee6871 2 роки тому

    Hi thanks
    I did the work steps. But when I write the import GDAL, it does not work like the error you encountered and that the rasterio library is connected to the gdal library and says that because gdal is not installed, the rastrio will not be installed. While I did your method, gdal was successfully installed

    • @geospatialschool
      @geospatialschool  2 роки тому

      You also need to install rasterio from a wheel file. If you just do `pip install rasterio` it won't work.

  • @otaviobaute7280
    @otaviobaute7280 2 роки тому

    Wow, solved my problem! Thanks!!

  • @sohamjani9447
    @sohamjani9447 2 роки тому

    Hi .What can do for Installing Fiona in the same

  • @hadikarimi2818
    @hadikarimi2818 2 роки тому +1

    Nice, thank you man

  • @kashifanwar9829
    @kashifanwar9829 Рік тому

    Thank you very much for such a nice video

  • @LandworksAG
    @LandworksAG 7 місяців тому

    4:59 it keeps giving me this error (ERROR: GDAL-3.4.3-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.)

    • @geospatialschool
      @geospatialschool  7 місяців тому

      Make sure you have the correct wheel file for your python version and operating system

  • @vaishnaviadhav6508
    @vaishnaviadhav6508 10 місяців тому

    Thanks a lot! It worked.

  • @kikienjoy322
    @kikienjoy322 2 роки тому +1

    Thank u, appreciate it!!

  • @SeonhoonKim
    @SeonhoonKim Рік тому +1

    Saved me.

  • @JannekevanOorschot
    @JannekevanOorschot Рік тому +1

    GREAT!!!

  • @nagarajanthammannasrinivas4948
    @nagarajanthammannasrinivas4948 3 роки тому +1

    Thanks for the Video

  • @beytullahyayla7401
    @beytullahyayla7401 Рік тому

    ERROR: GDAL-3.1.4-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform. I followed you step by step but i got this error message :(

    • @geospatialschool
      @geospatialschool  Рік тому

      You may have downloaded the incorrect wheel for your system.

    • @sohamprajapati7669
      @sohamprajapati7669 5 місяців тому

      @@geospatialschool how can i then? please give me solution 🙏

  • @Franchyze923
    @Franchyze923 3 роки тому +1

    good info thanks for sharing

  • @roy-hk6pk
    @roy-hk6pk 2 роки тому +1

    thanks a lot~

  • @AngleSideSideThm
    @AngleSideSideThm 3 роки тому +1

    Thank you!

  • @sebastianbernalv3880
    @sebastianbernalv3880 3 роки тому +1

    Nice video

  • @imanraissidehkordi4797
    @imanraissidehkordi4797 3 роки тому +1

    Thanks :))))))))))

  • @jaimerivera2980
    @jaimerivera2980 7 місяців тому +1

    gracias!

  • @Mahmoud-ys1kt
    @Mahmoud-ys1kt Рік тому

    Thanks a lot

  • @oumaymabourass4829
    @oumaymabourass4829 3 роки тому +2

    👏👏

  • @saremish
    @saremish Рік тому +1

    Nice

  • @maurolarrat
    @maurolarrat Рік тому +1

    GDAL-3.4.3-cp38-cp38-win_amd64.whl works for me in Windows 7 x64, pip version 21.1.1, python 3.8.10.