dhermes / bezier

Helper for Bézier Curves, Triangles, and Higher Order Objects
Apache License 2.0
266 stars 36 forks source link

I tried to install this package in Kaggle, BUT.... #304

Closed maifeeulasad closed 1 year ago

maifeeulasad commented 1 year ago

I tried to install this package in Kaggle, but I couldn't install it. It gave me:

Collecting bezier
  Using cached bezier-2021.2.12.tar.gz (313 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      The BEZIER_INSTALL_PREFIX environment variable must be set.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

System info: Linux 388186057d67 5.15.109+ #1 SMP Sat May 20 10:48:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Any solutions? Hack? Workaround

I tried installing it locally, but couldn't find any extra-dll folder.

Other issues say I should face it in Windows machine, but here I'm using Linux

maifeeulasad commented 1 year ago

Solved using:

!mkdir tem
import os
os.environ["BEZIER_INSTALL_PREFIX"] = "/tem"