GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    David Zaslavsky (diazona@techhub.social)'s status on Wednesday, 24-Jul-2024 06:39:29 JSTDavid ZaslavskyDavid Zaslavsky
    in reply to
    • mcc
    • Nazo

    @nazokiyoubinbou @mcc FWIW people often recommend using python -m because it ensures that you're running code from whatever (virtual or system) #Python environment is currently activated, whereas if you run an entry point directly, like just pdm, you might be running a script that happens to be on your PATH but which does not live in the active environment. I do think it's a useful recommendation in most cases to help people avoid accidentally running things from the wrong environment.

    Stuff installed with pipx is the exception, of course, because you specifically *don't* want to run it from whatever env is currently activated. (In a sense pipx is made to provide you with the illusion that a Python program is a regular old executable that you drop into PATH, i.e. you don't have to know or care that it is written in Python and you can just run it the same way as anything else.)

    In conversationabout 11 months ago from techhub.socialpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.