C:\Windows\system32>pip install Cython
Requirement already satisfied: Cython in c:\users\windows 10 pro\appdata\local\programs\python\python311\lib\site-packages (3.0.0)
C:\Windows\system32>
C:\Windows\system32>pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Collecting git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Cloning https://github.com/philferriere/cocoapi.git to c:\users\windows 10 pro\appdata\local\temp\pip-req-build-vrs8uhxm
Running command git clone --filter=blob:none --quiet https://github.com/philferriere/cocoapi.git 'C:\Users\Windows 10 Pro\AppData\Local\Temp\pip-req-build-vrs8uhxm'
Resolved https://github.com/philferriere/cocoapi.git to commit 2929bd2ef6b451054755dfd7ceb09278f935f7ad
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "C:\Users\Windows 10 Pro\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\Windows 10 Pro\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Windows 10 Pro\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Windows 10 Pro\AppData\Local\Temp\pip-build-env-bvdknvdo\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Windows 10 Pro\AppData\Local\Temp\pip-build-env-bvdknvdo\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "C:\Users\Windows 10 Pro\AppData\Local\Temp\pip-build-env-bvdknvdo\overlay\Lib\site-packages\setuptools\build_meta.py", line 488, in run_setup
self).run_setup(setup_script=setup_script)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Windows 10 Pro\AppData\Local\Temp\pip-build-env-bvdknvdo\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'Cython'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
I have been trying to install cython and COCO API however I got an error with this I used python 3.11.4 version, I am looking forward on object detection API and I'm still struggling on this I have already follow up on this case https://github.com/philferriere/cocoapi
C:\Windows\System32\cocoapi\PythonAPI>python -c "import pycocotools"
C:\Windows\System32\cocoapi\PythonAPI>cd C:\Windows\System32
C:\Windows\System32>venv_name\Scripts\activate
The system cannot find the path specified.
C:\Windows\System32>cython\Scrupts\activate
The system cannot find the path specified.
C:\Windows\System32>pip show Cython
Name: Cython
Version: 3.0.0
Summary: The Cython compiler for writing C extensions in the Python language.
Home-page: https://cython.org/
Author: Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al.
Author-email: cython-devel@python.org
License: Apache-2.0
Location: C:\Users\Windows 10 Pro\AppData\Local\Programs\Python\Python311\Lib\site-packages
Requires:
Required-by: