I am trying to get Poetry (python dependency manager) working on Ubuntu 18.04 but it keeps throwing an odd error whenever a package is trying to be added to a project. I tried uninstalling and reinstalling poetry but it did nothing. The ubuntu machine was a clean install with barely anything on it.
The error is here: https://gist.github.com/tylermanning/6881ba664236e25434f8d0befd4a8bfc
System information:
- Platform: ubuntu 18.04
- Poetry version 1.1.5
- Base Python: 3.8.5
- Location of base Python:
/opt/anaconda/latest/bin/python
How i installed poetry:
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- source the thing so poetry can be used immediately with
source $HOME/.poetry/env - create a new project with poetry like
poetry new tes-proj - launch
poetry shellfrom insidetest-projdirectory - Try
poetry showorpoetry add [some package]and the error will be thrown