I’m having a fair share of problems with OpenSuse Tumbleweed and python atm.

Coming from Linux Mint and windows.

Installing python-packages with pip was pretty easy.

But I have trouble understanding how to install the following packages on TumbleWeed:

tkCalendar

yaml for Python(311)

When I try to use pip I get prompted to use zypper.

I am stuck at this point. Do I have to use something different than zypper? What is the correct way here?

Help very much appreciated and thank you in advance!

— Update —

**Thanks everyone for the help! **

I could succesfully create a virtual enviroment in my Visualstudio Code and installed the needed libraries. The next step for me would be to create a executable package.

  • @[email protected]
    link
    fedilink
    56 months ago

    There’s already some good advice here, especially about virtual environments which might be the most important new concept to learn IMO. But just to let you know - it’s not just you. The most generous view of the Python package situation is that there are a lot of different ways to do it.

    • @[email protected]OP
      link
      fedilink
      English
      36 months ago

      Yea I finally can start my script with a virtual enviroment and tkcalendar installed.

      My switch from windows to linux is rough but I keep learning much new stuff.