Logo

    python-tips

    Explore "python-tips" with insightful episodes like "Step-by-Step Guide to Publishing Your First Python Package on PyPI Using Poetry: Lessons Learned" and "How to Fix 'zsh: command not found: python'" from podcasts like ""Programming Tech Brief By HackerNoon" and "Data Science Tech Brief By HackerNoon"" and more!

    Episodes (2)

    Step-by-Step Guide to Publishing Your First Python Package on PyPI Using Poetry: Lessons Learned

    Step-by-Step Guide to Publishing Your First Python Package on PyPI Using Poetry: Lessons Learned

    This story was originally published on HackerNoon at: https://hackernoon.com/step-by-step-guide-to-publishing-your-first-python-package-on-pypi-using-poetry-lessons-learned.
    Learn to create, prepare, and publish a Python package to PyPI using Poetry. Follow our step-by-step guide to streamline your package development process.
    Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #python, #python-tutorials, #python-tips, #python-development, #python-programming, #python-packages, #package-management, #pypi, and more.

    This story was written by: @viachkon. Learn more about this writer by checking @viachkon's about page, and for more stories, please visit hackernoon.com.

    Poetry automates many tasks for you, including publishing packages. To publish a package, you need to follow several steps: create an account, prepare a project, and publish it to PyPI.

    How to Fix 'zsh: command not found: python'

    How to Fix 'zsh: command not found: python'

    This story was originally published on HackerNoon at: https://hackernoon.com/how-to-fix-zsh-command-not-found-python.
    This can happen on any system but does occur slightly more commonly on macOS since they removed native python support in macOS 12.3.
    Check more stories related to data-science at: https://hackernoon.com/c/data-science. You can also check exclusive content about #python-programming, #python, #python-tutorials, #programming, #debug, #python-tips, #python-developers, #python3, #hackernoon-es, and more.

    This story was written by: @smpnjn. Learn more about this writer by checking @smpnjn's about page, and for more stories, please visit hackernoon.com.

    MacOS has removed native python support in MacOS 12.3.3. The issue is easy to fix. Make sure Python is installed and add python to zsh so that it will run upon typing the `python` command. If you are still facing issues, ensure that `python=$` where the $ sign should equal the path `Python` is installed on. If you still face the same issue, move to step 2. Add python to your zsh profile to run `/usr/bin/python3` when `python is run.