How to fix: Library not loaded: @rpath/libmysqlclient.21.dylib ImportError in Django (Mac)

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

КОМЕНТАРІ • 41

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

    I can't thank you enough. tomorrow is deadline for my minor project midterm defense report submission and I was stuck on this error for 3,4 hours. 1st method didn't work but the 2nd one did the trick. Thank you very much

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

      You’re welcome! Glad you were able to fix it!

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

    Have been struggling with this error for almost a day now. The second solution helped me out. Really appreciate it.

  • @niucs04
    @niucs04 4 роки тому

    THANK YOU!!!!! I have been searching for a solution to this issue over the last few days to no avail. Somehow stumbled upon your video and it works!!! The symbolic link didn't do it BUT Solution 2 where I changed the relative path to an absolute path did the trick. Soooo happy about this, you are awesome!

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

    You saved my day, Thanks,
    just a note I needed to restart my laptop before it worked

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

    whoa!! spent days on this...thanks a lot!!

  • @davyroger3773
    @davyroger3773 4 роки тому

    Hey thanks for the video, only thing for me is that i cant access the virtual environment this deep into the project structure, python does not know it exist. So when i open the mysql db folder in the terminal and run the scripts im denied permission to write to the file

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

    Help--How come I didnt find MySQLdb folder in my site-packages

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

    Thanks a lot. After 2 hours I finally found this video.

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

      You’re welcome! Glad the video helped.

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

    How can I fix this issue
    ld: building for iOS Simulator, but linking in dylib file (/Users/abhisheksingh/Desktop/Headstrt_Code/july_release/ios/Flutter/Flutter.framework/Flutter) built for iOS, file '/Users/abhisheksingh/Desktop/Headstrt_Code/july_release/ios/Flutter/Flutter.framework/Flutter' for architecture arm64

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

    Very helpful video, thank you so much!

  • @andrescubides3387
    @andrescubides3387 4 роки тому

    You're awesome you're the best, I spent three days of my life and no code in those days trying to find a solution and you give me that solution thanks a lot I'm very grateful with you

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

      Which solution worked for you.

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

      @@warboom198 the second one

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

      my terminal is saying no such file or directory exists when exiting this (otool -L _mysql.cpython-38-darwin.so)

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

      @@andrescubides3387my Mac still cannot find the _mysql file when I run the Xcode commands :(

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

      @@warboom198 did you tried both? or only one? Do you have Xcode? in your mac?

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

    Thank you so much! You saved me...

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

    please help my mac cannot find the _mysql file in solution 2. It just says no such file exists

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

      Could be that the filename is different from what I have in the video. You might be running a different Python version. You need to check in the MySQLdb folder what the filename of yours is.

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

      @@choobtorials the file is located in Macintosh HD. Where should the mysqlDB folder be located?

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

      @@choobtorials inthink im running python 3.9

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

      @@choobtorials also the file name is the same as the one in the video. Please help...

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

      Are you running a virtual environment like in the video?

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

    thank you!

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

    Great video!

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

    thank you.

  • @JacobGabriel-c3r
    @JacobGabriel-c3r 3 місяці тому

    thats not how you pronounce 'lib' - it should sound like lip but with a b. not "lieb"

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

    thank you