dhermes / bezier

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

Unable to install latest version from pip on Windows 10 #301

Closed moi15moi closed 1 year ago

moi15moi commented 1 year ago

Problem

I am unable to install this package with pip.

It seems to be a similar to this problem, but it is with windows: #282

My environment

Python version: 3.10.7

Error

$ python -m pip install --upgrade bezier
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.
dhermes commented 1 year ago

Totally an issue! I have fixed all of these in main I just haven't cut a release in over a year, so sorry!

anadodik commented 1 year ago

Facing the same issue on Ubuntu.

MaxAndolini commented 1 year ago

Totally an issue! I have fixed all of these in main I just haven't cut a release in over a year, so sorry!

I also have this problem when installing on new devices, when can you update?

isdito commented 1 year ago

Hello I have the same problem

Eigi commented 1 year ago

Hello, this package is the last that prevents me from switching my production environment to python 3.10. Please make a release soon.

dhermes commented 1 year ago

@Eigi I'll do my best this week, thanks for the ping! I just merged #302 to prepare for a release.

taychee commented 1 year ago

Hello, is there any updates on this? I still get the same error. Thanks

raphael-foliveira commented 1 year ago

Hi, I'm getting this error too, unfortunately. I've been trying to use python_ghost_cursor, which depends on this project. Thank you for your work!

dhermes commented 1 year ago

This is resolved! I just released https://pypi.org/project/bezier/2023.7.28/

I'm happy to re-open the discussion if there are further issues, but preemptively closing for now.