Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package install failed with errors #23

Open
marcohoepner opened this issue May 17, 2023 · 3 comments
Open

Package install failed with errors #23

marcohoepner opened this issue May 17, 2023 · 3 comments

Comments

@marcohoepner
Copy link

Hi,

i need some help to install the package.

My Python Version ist 3.11.3.
During the installation process i got always the following error messages:

Collecting pyvoro
Downloading pyvoro-1.3.2.tar.gz (123 kB)
---------------------------------------- 123.5/123.5 kB 3.7 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pyvoro
Building wheel for pyvoro (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
C:\Python311\Lib\site-packages\setuptools\dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.

          By 2023-Sep-26, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  voroplusplus.cpp
  pyvoro/voroplusplus.cpp(678): error C2106: "=": Linker Operand muss ein L-Wert sein
  pyvoro/voroplusplus.cpp(699): error C2106: "=": Linker Operand muss ein L-Wert sein
  pyvoro/voroplusplus.cpp(1184): warning C4244: "=": Konvertierung von "Py_ssize_t" in "int", m”glicher Datenverlust
  pyvoro/voroplusplus.cpp(2571): error C2660: "PyCode_New": Funktion akzeptiert keine 15 Argumente
  C:\Python311\include\cpython/code.h(148): note: Siehe Deklaration von "PyCode_New"
  pyvoro/voroplusplus.cpp(2583): error C2660: "PyCode_New": Funktion akzeptiert keine 15 Argumente
  C:\Python311\include\cpython/code.h(148): note: Siehe Deklaration von "PyCode_New"
  pyvoro/voroplusplus.cpp(3063): warning C4996: 'PyUnicode_GET_SIZE': deprecated in 3.3
  pyvoro/voroplusplus.cpp(3079): warning C4996: 'PyUnicode_GET_SIZE': deprecated in 3.3
  pyvoro/voroplusplus.cpp(3995): error C2660: "PyCode_New": Funktion akzeptiert keine 15 Argumente
  C:\Python311\include\cpython/code.h(148): note: Siehe Deklaration von "PyCode_New"
  pyvoro/voroplusplus.cpp(4041): error C2027: Verwendung des undefinierten Typs "_frame"
  C:\Python311\include\pytypedefs.h(22): note: Siehe Deklaration von "_frame"
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyvoro
Running setup.py clean for pyvoro
Failed to build pyvoro
ERROR: Could not build wheels for pyvoro, which is required to install pyproject.toml-based projects

Any help is welcome.

Best Regards
Marco

@Leon-sorrow
Copy link

Hello Macro, sorry to bother you. I've encountered the same question. May I ask have you fixed this problem?:)

@tu-maurice
Copy link

It seems this is a compatibility issue with python 3.11. It works with python 3.10 for me.

@Leon-sorrow
Copy link

It seems this is a compatibility issue with python 3.11. It works with python 3.10 for me.

Thanks you! I've sovled this problem by downloading Visual Studio Build Tools. Maybe my issue comes from no suitable compiler?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants