etaler / PyEtaler

The offical Python binding for Etaler via cppyy
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Unable to install with pip via windows #9

Open seanjhardy opened 1 year ago

seanjhardy commented 1 year ago

When running "pip install pyetaler" I get the following error on windows with python 3.9. Is there any way around this or is this library now out of date?

Building wheels for collected packages: pyetaler
  Building wheel for pyetaler (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      c:\users\...\appdata\local\programs\python\python39\lib\site-packages\setuptools\dist.py:788: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      running bdist_wheel
      The [wheel] section is deprecated. Use [bdist_wheel] instead.
      running build
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyetaler
  Running setup.py clean for pyetaler
Failed to build pyetaler
marty1885 commented 1 year ago

Hmm.. I haven't update this repository in a while. Seems either Pip deprecated stuff and that caused some failure or cppyy failed to generate the binding. Can you run pip install cppyy and see if it works? I never ran cppyy on Windows before.

seanjhardy commented 1 year ago

Yep I can install cppyy fine. The problem is with building pyetaler. Do I need to have etaler installed on my system? I spent a long time trying to install that with cmake and changing all the files around. I went through the whole installing process but can't quite seem to get boost installed. Do I need it to run the python wrapper? Is there a simple solution instead for this "bdist_wheel" error?