• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    3 days ago

    Installing dependencies via the OS’ package manager is one of the worst experiences there is. I understand it for C, because the language is ancient and doesn’t have its own dependency manager.

    But when developing, there are many dependencies you need that aren’t in the package manager. And when they are, they are often years old versions.

    And in the case of python, it installs dependencies in the global scope, which means that you sometimes import that version instead of the pip one.

    And in the case of python there’s the extra:

    python main.py

    python command not found

    Ah. It must be python3 then. Now all the bash scripts are broken. Since it’s python3, I’m going to install packages with pip3:

    pip3 install matplotlib

    pip3 command not found

    What?? So for python you need to put the 3, but for pip they removed it?

    Ngl, python development is much less stressful on windows.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      It must be python3 then.

      Except on Windows! Actually it depends on if you installed Python from the Microsoft store or the official download. What a mess.

      They don’t want to fix it because it might be confusing temporarily, so instead they’re going to leave it broken forever.