Open imdat1guy opened 1 year ago
I'm getting the same issue, when trying to pip install
.
It seems my issue was related to a space in the path. It seems @imdat1guy also has a space in his path (E:\Passion Projects\AI\Football Machine Vision\testing stuff\VideoProcessingFramework
).
Moving the directory to a path with no spaces solved my issue and I was able to install.
I changed the path so that there's no spaces but I'm still facing issues. Seems like something goes wrong with CMake.
Output:
(ballspot311) E:\repos\VideoProcessingFramework>pip install . --verbose Using pip 23.2.1 from C:\Users\PC\anaconda3\envs\ballspot311\Lib\site-packages\pip (python 3.11) Processing e:\repos\videoprocessingframework Running command pip subprocess to install build dependencies Ignoring ninja: markers 'platform_system != "Windows"' don't match your environment Collecting setuptools>=42 Obtaining dependency information for setuptools>=42 from https://files.pythonhosted.org/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl.metadata Using cached setuptools-68.0.0-py3-none-any.whl.metadata (6.4 kB) Collecting scikit-build Obtaining dependency information for scikit-build from https://files.pythonhosted.org/packages/fa/af/b3ef8fe0bb96bf7308e1f9d196fc069f0c75d9c74cfaad851e418cc704f4/scikit_build-0.17.6-py3-none-any.whl.metadata Using cached scikit_build-0.17.6-py3-none-any.whl.metadata (14 kB) Collecting numpy Obtaining dependency information for numpy from https://files.pythonhosted.org/packages/72/b2/02770e60c4e2f7e158d923ab0dea4e9f146a2dbf267fec6d8dc61d475689/numpy-1.25.2-cp311-cp311-win_amd64.whl.metadata Using cached numpy-1.25.2-cp311-cp311-win_amd64.whl.metadata (5.7 kB) Collecting cmake>=3.21 Obtaining dependency information for cmake>=3.21 from https://files.pythonhosted.org/packages/00/64/5ca49f8523ca41deafc6d0bdfb40cfa8f8f3c2abf69de141f69f28791884/cmake-3.27.1-py2.py3-none-win_amd64.whl.metadata Using cached cmake-3.27.1-py2.py3-none-win_amd64.whl.metadata (6.9 kB) Collecting distro (from scikit-build) Using cached distro-1.8.0-py3-none-any.whl (20 kB) Collecting packaging (from scikit-build) Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting wheel>=0.32.0 (from scikit-build) Obtaining dependency information for wheel>=0.32.0 from https://files.pythonhosted.org/packages/28/f5/6955d7b3a5d71ce6bac104f9cf98c1b0513ad656cdaca8ea7d579196f771/wheel-0.41.1-py3-none-any.whl.metadata Using cached wheel-0.41.1-py3-none-any.whl.metadata (2.2 kB) Using cached setuptools-68.0.0-py3-none-any.whl (804 kB) Using cached scikit_build-0.17.6-py3-none-any.whl (84 kB) Using cached numpy-1.25.2-cp311-cp311-win_amd64.whl (15.5 MB) Using cached cmake-3.27.1-py2.py3-none-win_amd64.whl (34.6 MB) Using cached wheel-0.41.1-py3-none-any.whl (64 kB) Installing collected packages: cmake, wheel, setuptools, packaging, numpy, distro, scikit-build Successfully installed cmake-3.27.1 distro-1.8.0 numpy-1.25.2 packaging-23.1 scikit-build-0.17.6 setuptools-68.0.0 wheel-0.41.1 Installing build dependencies ... done Running command Getting requirements to build wheel
I had the same error. I changed all the backslashes in my path to forward slashes and then it worked fine. Credit where it's due, the README does indeed use forward slashes, but I think we could be forgiven for defaulting to backslashes on windows. No clue why this occurs!
Describe the bug I am trying to pip install the library on windows 10 but it's failing and I'am not sure why.
To Reproduce Steps to reproduce the behavior:
(ballspot311) E:\Passion Projects\AI\Football Machine Vision\testing stuff\VideoProcessingFramework>pip install . --verbose Using pip 23.2.1 from C:\Users\PC\anaconda3\envs\ballspot311\Lib\site-packages\pip (python 3.11) Processing e:\passion projects\ai\football machine vision\testing stuff\videoprocessingframework Running command pip subprocess to install build dependencies Ignoring ninja: markers 'platform_system != "Windows"' don't match your environment Collecting setuptools>=42 Obtaining dependency information for setuptools>=42 from https://files.pythonhosted.org/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl.metadata Using cached setuptools-68.0.0-py3-none-any.whl.metadata (6.4 kB) Collecting scikit-build Obtaining dependency information for scikit-build from https://files.pythonhosted.org/packages/fa/af/b3ef8fe0bb96bf7308e1f9d196fc069f0c75d9c74cfaad851e418cc704f4/scikit_build-0.17.6-py3-none-any.whl.metadata Using cached scikit_build-0.17.6-py3-none-any.whl.metadata (14 kB) Collecting numpy Obtaining dependency information for numpy from https://files.pythonhosted.org/packages/2f/2a/34fe0b64e78347f4ea128868df0034a97e0f92b476f62947b0976caba820/numpy-1.25.1-cp311-cp311-win_amd64.whl.metadata Using cached numpy-1.25.1-cp311-cp311-win_amd64.whl.metadata (5.7 kB) Collecting cmake>=3.21 Obtaining dependency information for cmake>=3.21 from https://files.pythonhosted.org/packages/78/cf/42d206fc2679902e9408688a6e75215215e7781faf88653b2738c599e70a/cmake-3.27.0-py2.py3-none-win_amd64.whl.metadata Using cached cmake-3.27.0-py2.py3-none-win_amd64.whl.metadata (6.9 kB) Collecting distro (from scikit-build) Using cached distro-1.8.0-py3-none-any.whl (20 kB) Collecting packaging (from scikit-build) Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting wheel>=0.32.0 (from scikit-build) Obtaining dependency information for wheel>=0.32.0 from https://files.pythonhosted.org/packages/17/11/f139e25018ea2218aeedbedcf85cd0dd8abeed29a38ac1fda7f5a8889382/wheel-0.41.0-py3-none-any.whl.metadata Using cached wheel-0.41.0-py3-none-any.whl.metadata (2.2 kB) Using cached setuptools-68.0.0-py3-none-any.whl (804 kB) Using cached scikit_build-0.17.6-py3-none-any.whl (84 kB) Using cached numpy-1.25.1-cp311-cp311-win_amd64.whl (15.0 MB) Using cached cmake-3.27.0-py2.py3-none-win_amd64.whl (34.6 MB) Using cached wheel-0.41.0-py3-none-any.whl (64 kB) Installing collected packages: cmake, wheel, setuptools, packaging, numpy, distro, scikit-build Successfully installed cmake-3.27.0 distro-1.8.0 numpy-1.25.1 packaging-23.1 scikit-build-0.17.6 setuptools-68.0.0 wheel-0.41.0 Installing build dependencies ... done Running command Getting requirements to build wheel