Database - Python-Poetry
Jump to navigation
Jump to search
Python-Poetry is a dependencies manager for Python
curl -sSL https://install.python-poetry.org | python3 -
Once the installation completes, Poetry will prompt you to add its bin directory to your PATH in order to enable the use of poetry in your command line. On Ubuntu with Bash, this can be done by opening the ~/.bashrc file using nano or your preferred text editor:
nano ~/.bashrc
Now add the following lines at the end of the page - MAKE SURE TO CHANGE THE [YOUR DIRECTORY HERE] TO YOUR LOCAL USER DIRECTORY
export PATH="/home/[YOUR DIRECTORY HERE]/.local/bin:$PATH"
Apply the changes to your current session
source ~/.bashrc
Then verify that you are good to go
poetry --version