-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Windows support for python API #9
Comments
We will not be providing Windows support. Thanks and good luck! |
@willyd thank you!!! |
https://github.com/philferriere/cocoapi cocoapi with windows support |
https://github.com/philferriere/cocoapi coco api with windows support |
@HarshalGarg worked nicely |
The decision that windows won't be supported has been made a long time ago (See issue cocodataset#9) but this is stated nowhere except this issue which leads to many confused people that think windows should be supported.
The lack of support for Python API on Windows can be fixed with the following steps:
|
You guys realize that one of your key sponsors is Microsoft, right? |
yanfengliu your solution worked for me, thanks for sharing it! |
@brannonbarr You are very welcome. |
@yanfengliu I follow your step to build on Windows10 but I can't work.
|
@Minxiangliu I did some searching with the keyword
and it seems that this issue is not particularly related to MSCOCO. You might find this or this helpful though. |
@yanfengliu the solution works for me, thanks |
Excellent, it works. Thanks. |
I am following the steps of @yanfengliu (for Python API on Windows). But I get the following error: |
Hi @pdollar, p.s. to anyone who may care: @yanfengliu 's solution worked for me too and seems to be the easiest/fastest fix. |
@yanfengliu worked perfectly on Windows 10 Pro 1909 with VS 2019 installed and Python 3.7.4 |
I installed it successfully with this repo on Windows 10 Full steps:
|
(base) C:\Users\tmcde>pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
|
i am also facing a similar issue. Anyone has a solution to this? |
* move common under pycocotools * change build to pip install . * update doc
Thanks |
Please add in this support already users fixed why not just change the line? |
I'm no longer maintaining this code, but I'd be supportive of the change. (The bigger issue is this codebase isn't actively supported any longer...) |
Does not work: `Collecting git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × python setup.py clean did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Running setup.py install for pycocotools did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. |
Similar issues with the adding the fix here and the fork project
I have 2015 build tools as well, but it doesn't seem to be using them over 2019. It's pretty embarrassing how much stuff relies on pycocotools and it's pretty much abandoned without any real support for Windows. |
Here is the solution worked for me : Download the file beneath Copy these files to C:\Users\XXX\AppData\Local\Programs\Python\Python311\Lib\site-packages In case you still can not solve the problem, do not hesitate to mail me ! |
Please add windows support. Currently it is impossible to compile the python API with MSVC without modifications. I have made some modifications to fix the build. They can be viewed at https://github.com/pdollar/coco/compare/master...willyd:windows?expand=1.
The text was updated successfully, but these errors were encountered: