Having trouble instantiatiating a CogniteClient

  • 9 April 2024
  • 2 replies

Badge +2


I am trying to follow along the first chapter in Data Engineer Basics - Integrate. I am trying to follow the first workbook : Authentication. When I try to install poetry, I get an error below.

Can anyone let me know how I may troubleshoot? I am on mac, python 12 and pipx (instead of pip)


 at ~/Library/Application Support/pypoetry/venv/lib/python3.12/site-packages/poetry/installation/ in _prepare
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      163│             if error is not None:
    → 164│                 raise error from None
      166│             return path
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with pyzmq (25.0.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pyzmq (==25.0.2)"'.

The Poetry project has renamed the master branch to main. The use of the master branch is now deprecated and the branch will be removed in the near future. Please update your refs to use main branch instead. Alternatively consider using released versions.

2 replies

Badge +2

Update: looks like I have to install pip instead of using pipx or pip3 - did anyone face this issue before and resolved it? 

Userlevel 4
Badge +2

Hi @Lavanya Kannan,

Do you still observe this issue?