From 1914424cf8f62100981b2c84a196c4653ab2b92b Mon Sep 17 00:00:00 2001 From: Petr Andriushchenko Date: Mon, 3 Jul 2023 14:03:09 +0200 Subject: [PATCH] Added Windows instruction in README (#128) * added instructions to the readme.md about installing the package on Windows OS * fixed 1.3.0 scikit-learn bug --- README.md | 8 ++++++++ pyproject.toml | 1 + 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 4cf2c9b..e513b4c 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,14 @@ pip install ammico ``` This will install the package and its dependencies locally. +To make pycocotools work on Windows OS you may need to install `vs_BuildTools.exe` from https://visualstudio.microsoft.com/visual-cpp-build-tools/ and choose following elements: +- `Visual Studio extension development` +- `MSVC v143 - VS 2022 C++ x64/x86 build tools` +- `Windows 11 SDK` for Windows 11 (or `Windows 10 SDK` for Windows 10) + +Be careful, it requires around 7 GB of disk space. + +![Screenshot 2023-06-01 165712](https://github.com/ssciwr/AMMICO/assets/8105097/3dfb302f-c390-46a7-a700-4e044f56c30f) ## Usage diff --git a/pyproject.toml b/pyproject.toml index ce98a19..99c4ace 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,7 @@ dependencies = [ "colorgram.py", "webcolors", "colour-science", + 'scikit-learn != 1.3.0', ] [project.scripts]