Skip to main content
Solved

Having trouble instantiatiating a CogniteClient


Forum|alt.badge.img+3

Hello,

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/chef.py:164 in _prepare
      160│ 
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│ 
      163│             if error is not None:
    → 164│                 raise error from None
      165│ 
      166│             return path
      167│ 
      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.

Best answer by Dilini Fernando

Hi @Lavanya Kannan ,

I’m closing this topic now, if you have any questions please feel free to create a post in Hub. 

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+3

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


Dilini Fernando
Seasoned Practitioner
Forum|alt.badge.img+2
  • Seasoned Practitioner
  • 671 replies
  • April 30, 2024

Hi @Lavanya Kannan,

Do you still observe this issue? 


Dilini Fernando
Seasoned Practitioner
Forum|alt.badge.img+2
  • Seasoned Practitioner
  • 671 replies
  • Answer
  • May 23, 2024

Hi @Lavanya Kannan ,

I’m closing this topic now, if you have any questions please feel free to create a post in Hub. 


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings