[PYTHON] How to install poetry (error handling) in zsh environment

Premise

From MacOS Catalina, the terminal defaults to zsh, and just adding poetry will result in an error. I was able to handle it by adding the path to ~ / .zshrc, so please refer to it.

installation of poetry

curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python

In the zsh environment, executing the poetry command in this state will result in an error.

poetry --version
> zsh: command not found: poetry

Add path to .zshrc

vim ~/.zshrc
export PATH="$HOME/.poetry/bin:$PATH"

Reboot the terminal

poetry --version
> Poetry version 1.0.10
poetry self update
> You are using the latest version

Thank you for your hard work.

Recommended Posts

How to install poetry (error handling) in zsh environment
How to suppress display error in matplotlib
How to access environment variables in Python
How to install zsh (with .zshrc customization)
How to install python package in local environment as a general user
How to install pip, numpy in Autodesk MAYA
Error when trying to install psycopg2 in Python
[TF] How to build Tensorflow in Proxy environment
How to install Python
How to install pip
How to install archlinux
How to install python
How to install BayesOpt
Error handling in PythonBox
How to install Nbextensions
How to install Prover9
How to deal with "No module named'〇〇'" error in Jupyter Notebook | Install with! Pip!
How to install the deep learning framework Tensorflow 1.0 in the Anaconda environment of Windows
How to run AutoGluon in Google Colab GPU environment
Procedure to install TensorFlow in fish shell environment (Anaconda 4.0.0)
How to install Google Test / Google Mock in Visual Studio 2019
How to resolve SSL module errors in Anaconda environment
How to pass matplotlib backend settings in environment variables
[2020.8 latest] How to install Python
How to install Python [Windows]
Tabpy 1.0 (2020-01 version) How to install
Pip install in proxy environment
How to install mkl numpy
How to develop in Python
Solver Problem Error in poetry
How to use VS Code in venv environment on windows
A note on how to load a virtual environment in PyCharm
How to develop in a virtual environment of Python [Memo]
[AWS] How to deal with "Invalid codepoint" error in CloudSearch
How to install python using anaconda
How to intentionally issue an error in the shell During testing
How to deal with python installation error in pyenv (BUILD FAILED)
[Python] How to do PCA in Python
How to handle session in SQLAlchemy
How to handle multiple versions of CUDA in the same environment
How to install OpenCV on Cloud9 and run it in Python
How to install mysql-connector-python on mac
How to install and use Tesseract-OCR
How to use classes in Theano
How to write soberly in pandas
How to collect images in Python
Steps to install Ubuntu in VirtualBox
How to update Spyder in Anaconda
Install scrapy in python anaconda environment
How to use SQLite in Python
How to install graph-tool on macOS
How to install wkhtmltopdf (Amazon Linux2)
How to debug Dash (Flask) in Docker + VSCode + remote connection environment
[Error handling] peewee.IntegrityError 1451 occurs in peewee
How to install VMware-Tools on Linux
How to install pycrypto on Windows
How to install OpenCV on Mac
How to convert 0.5 to 1056964608 in one shot
How to install PyPy on CentOS
install tensorflow in anaconda + python3.5 environment
How to install TensorFlow on CentOS 7