Skip to content
New issue

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

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

Already on GitHub? # to your account

Unable to install with pip via windows #9

Open
seanjhardy opened this issue Mar 8, 2023 · 2 comments
Open

Unable to install with pip via windows #9

seanjhardy opened this issue Mar 8, 2023 · 2 comments

Comments

@seanjhardy
Copy link

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
Copy link
Member

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
Copy link
Author

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?

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

No branches or pull requests

2 participants