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

Doesn't work with Windows #5

Open
set92 opened this issue Apr 11, 2022 · 3 comments
Open

Doesn't work with Windows #5

set92 opened this issue Apr 11, 2022 · 3 comments

Comments

@set92
Copy link

set92 commented Apr 11, 2022

I don't know if skranger is required 100%, but there aren't wheels for it, so it looks it can't be installed crflynn/skranger#53. I am uncertain if there is some other way to test it, for now, I'm going to try it with https://github.com/ml-tooling/ml-workspace but not sure how to use it on Windows.

@faridbah
Copy link

I don't know if skranger is required 100%, but there aren't wheels for it, so it looks it can't be installed crflynn/skranger#53. I am uncertain if there is some other way to test it, for now, I'm going to try it with https://github.com/ml-tooling/ml-workspace but not sure how to use it on Windows.

It seems there is now a wheel for skranger (crflynn/skranger#53). But I couldn't install acv-exp package on a Windows machine. Any luck with ml-workspace?

@salimamoukou
Copy link
Owner

Sorry for the late reply.
Could you share the errors? Python version?

@faridbah
Copy link

Sorry for the late reply. Could you share the errors? Python version?

Thanks for your reply. I am using python 3.9.12 and Conda package manager. Here is a brief background about the errors:

If I directly pip install the package I get:
"ERROR: Could not build wheels for skranger, which is required to install pyproject.toml-based projects"

It seems the required version for skranger (0.7.0) does not support Windows but a newer version (0.8.0rc1) does (crflynn/skranger#53). I installed the newer version and tried to locally install acv-exp package with a changed requirment.txt (I changed the requirement to skranger==0.8.0rc1) and then successfully ran pip install -r. Now, when I locally pip install acv-exp with the modified requirements file I get this error:

"error: subprocess-exited-with-error

× Building wheel for acv-exp (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
building 'cext_acv' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

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

I have Microsoft Visual C++ 14.32.31332 installed on my machine though.

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