Closed Nikhil97-hue closed 1 year ago
Hi, I'm not sure why this specific wheel doesn't work on your device, can you try to install it directly from pypi ?
pip install super-gradients
Thanks for the reply @Louis-Dupont .I have tried the above method i am still facing the same issue. (super) C:\Users\Nikhil.m>pip install super-gradients Collecting super-gradients Using cached super_gradients-3.1.1-py3-none-any.whl (964 kB) Collecting sphinx~=4.0.2 Using cached Sphinx-4.0.3-py3-none-any.whl (2.9 MB) Collecting pygments>=2.7.4 Using cached Pygments-2.15.1-py3-none-any.whl (1.1 MB) Collecting json-tricks==3.16.1 Using cached json_tricks-3.16.1-py2.py3-none-any.whl (27 kB) Collecting omegaconf Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB) Requirement already satisfied: packaging>=20.4 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from super-gradients) (21.3) Collecting Deprecated>=1.2.11 Using cached Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB) Collecting einops==0.3.2 Using cached einops-0.3.2-py3-none-any.whl (25 kB) Collecting termcolor==1.1.0 Using cached termcolor-1.1.0-py3-none-any.whl Collecting onnx-simplifier<1.0,>=0.3.6 Using cached onnx_simplifier-0.4.28-cp310-cp310-win_amd64.whl (1.2 MB) Collecting tqdm>=4.57.0 Using cached tqdm-4.65.0-py3-none-any.whl (77 kB) Requirement already satisfied: scipy>=1.6.1 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from super-gradients) (1.8.1) Collecting stringcase>=1.2.0 Using cached stringcase-1.2.0-py3-none-any.whl Collecting onnx==1.13.0 Using cached onnx-1.13.0-cp310-cp310-win_amd64.whl (12.2 MB) Collecting torchvision>=0.10.0 Using cached torchvision-0.15.1-cp310-cp310-win_amd64.whl (1.2 MB) Requirement already satisfied: setuptools>=21.0.0 in c:\users\nikhil.m\appdata\local\anaconda3\envs\super\lib\site-packages (from super-gradients) (66.0.0) Collecting torchmetrics==0.8 Using cached torchmetrics-0.8.0-py3-none-any.whl (408 kB) Collecting torch<1.14,>=1.9.0 Using cached torch-1.13.1-cp310-cp310-win_amd64.whl (162.6 MB) Requirement already satisfied: matplotlib>=3.3.4 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from super-gradients) (3.7.1) Requirement already satisfied: numpy<=1.23 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from super-gradients) (1.22.4) Collecting hydra-core>=1.2.0 Using cached hydra_core-1.3.2-py3-none-any.whl (154 kB) Collecting psutil>=5.8.0 Using cached psutil-5.9.5-cp36-abi3-win_amd64.whl (255 kB) Collecting tensorboard>=2.4.1 Using cached tensorboard-2.12.3-py3-none-any.whl (5.6 MB) Collecting rapidfuzz Using cached rapidfuzz-3.0.0-cp310-cp310-win_amd64.whl (1.8 MB) Collecting sphinx-rtd-theme Using cached sphinx_rtd_theme-1.2.0-py2.py3-none-any.whl (2.8 MB) Collecting pip-tools>=6.12.1 Using cached pip_tools-6.13.0-py3-none-any.whl (53 kB) Requirement already satisfied: opencv-python>=4.5.1 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from super-gradients) (4.6.0.66) Collecting pyparsing==2.4.5 Using cached pyparsing-2.4.5-py2.py3-none-any.whl (67 kB) Collecting protobuf==3.20.3 Using cached protobuf-3.20.3-cp310-cp310-win_amd64.whl (904 kB) Collecting pycocotools==2.0.4 Using cached pycocotools-2.0.4.tar.gz (106 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: wheel>=0.38.0 in c:\users\nikhil.m\appdata\local\anaconda3\envs\super\lib\site-packages (from super-gradients) (0.38.4) Collecting onnxruntime==1.13.1 Using cached onnxruntime-1.13.1-cp310-cp310-win_amd64.whl (5.9 MB) Requirement already satisfied: pillow>=9.2.0 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from super-gradients) (9.2.0) Collecting boto3>=1.17.15 Using cached boto3-1.26.126-py3-none-any.whl (135 kB) Collecting treelib==1.6.1 Using cached treelib-1.6.1-py3-none-any.whl Collecting coverage~=5.3.1 Using cached coverage-5.3.1-py3-none-any.whl Collecting jsonschema>=3.2.0 Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB) ---------------------------------------- 90.4/90.4 kB 1.7 MB/s eta 0:00:00 Collecting typing-extensions>=3.6.2.1 Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting sympy Using cached sympy-1.11.1-py3-none-any.whl (6.5 MB) Collecting coloredlogs Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Collecting flatbuffers Using cached flatbuffers-23.3.3-py2.py3-none-any.whl (26 kB) Collecting pyDeprecate==0.3. Using cached pyDeprecate-0.3.2-py3-none-any.whl (10 kB) Collecting future Downloading future-0.18.3.tar.gz (840 kB) ---------------------------------------- 840.9/840.9 kB 7.6 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting s3transfer<0.7.0,>=0.6.0 Using cached s3transfer-0.6.0-py3-none-any.whl (79 kB) Collecting jmespath<2.0.0,>=0.7.1 Downloading jmespath-1.0.1-py3-none-any.whl (20 kB) Collecting botocore<1.30.0,>=1.29.126 Using cached botocore-1.29.126-py3-none-any.whl (10.7 MB) Collecting wrapt<2,>=1.10 Downloading wrapt-1.15.0-cp310-cp310-win_amd64.whl (36 kB) Collecting antlr4-python3-runtime==4.9. Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.19.3-cp310-cp310-win_amd64.whl (62 kB) ---------------------------------------- 62.7/62.7 kB ? eta 0:00:00 Collecting attrs>=17.4.0 Downloading attrs-23.1.0-py3-none-any.whl (61 kB) ---------------------------------------- 61.2/61.2 kB 3.2 MB/s eta 0:00:00 Collecting fonttools>=4.22.0 Using cached fonttools-4.39.3-py3-none-any.whl (1.0 MB) Collecting python-dateutil>=2.7 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting cycler>=0.10 Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.4.4-cp310-cp310-win_amd64.whl (55 kB) ---------------------------------------- 55.3/55.3 kB 2.8 MB/s eta 0:00:00 Collecting contourpy>=1.0.1 Downloading contourpy-1.0.7-cp310-cp310-win_amd64.whl (162 kB) ---------------------------------------- 163.0/163.0 kB ? eta 0:00:00 Collecting PyYAML>=5.1.0 Downloading PyYAML-6.0-cp310-cp310-win_amd64.whl (151 kB) ---------------------------------------- 151.7/151.7 kB ? eta 0:00:00 Collecting rich Using cached rich-13.3.5-py3-none-any.whl (238 kB) Requirement already satisfied: click>=8 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from pip-tools>=6.12.1->super-gradients) (8.1.3) Requirement already satisfied: pip>=22.2 in c:\users\nikhil.m\appdata\local\anaconda3\envs\super\lib\site-packages (from pip-tools>=6.12.1->super-gradients) (23.0.1) Collecting build Using cached build-0.10.0-py3-none-any.whl (17 kB) Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ---------------------------------------- 84.7/84.7 kB ? eta 0:00:00 Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) ---------------------------------------- 90.6/90.6 kB 5.4 MB/s eta 0:00:00 Requirement already satisfied: Jinja2>=2.3 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from sphinx~=4.0.2->super-gradients) (3.1.2) Collecting imagesize Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting babel>=1.3 Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ---------------------------------------- 10.1/10.1 MB 6.6 MB/s eta 0:00:00 Collecting alabaster<0.8,>=0.7 Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) Collecting sphinxcontrib-htmlhelp Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl (99 kB) ---------------------------------------- 99.8/99.8 kB ? eta 0:00:00 Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ---------------------------------------- 93.0/93.0 kB ? eta 0:00:00 Collecting requests>=2.5.0 Using cached requests-2.29.0-py3-none-any.whl (62 kB) Requirement already satisfied: colorama>=0.3.5 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from sphinx~=4.0.2->super-gradients) (0.4.4) Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ---------------------------------------- 94.0/94.0 kB 5.2 MB/s eta 0:00:00 Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) ---------------------------------------- 120.6/120.6 kB ? eta 0:00:00 Collecting docutils<0.18,>=0.14 Using cached docutils-0.17.1-py2.py3-none-any.whl (575 kB) Collecting grpcio>=1.48.2 Using cached grpcio-1.54.0-cp310-cp310-win_amd64.whl (4.1 MB) Requirement already satisfied: werkzeug>=1.0.1 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from tensorboard>=2.4.1->super-gradients) (2.1.2) Collecting markdown>=2.6.8 Using cached Markdown-3.4.3-py3-none-any.whl (93 kB) Collecting google-auth<3,>=1.6.3 Using cached google_auth-2.17.3-py2.py3-none-any.whl (178 kB) Collecting google-auth-oauthlib<1.1,>=0.5 Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB) Collecting absl-py>=0.4 Using cached absl_py-1.4.0-py3-none-any.whl (126 kB) Collecting tensorboard-data-server<0.8.0,>=0.7.0 Using cached tensorboard_data_server-0.7.0-py3-none-any.whl (2.4 kB) Collecting torchvision>=0.10.0 Using cached torchvision-0.14.1-cp310-cp310-win_amd64.whl (1.1 MB) Collecting sphinxcontrib-jquery!=3.0.0,>=2.0.0 Using cached sphinxcontrib_jquery-4.1-py2.py3-none-any.whl (121 kB) Collecting urllib3<1.27,>=1.25.4 Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB) Collecting cachetools<6.0,>=2.0.0 Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB) Collecting six>=1.9.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting rsa<5,>=3.1.4 Using cached rsa-4.9-py3-none-any.whl (34 kB) Collecting pyasn1-modules>=0.2.1 Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB) Collecting requests-oauthlib>=0.7.0 Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\nikhil.m\appdata\roaming\python\python310\site-packages (from Jinja2>=2.3->sphinx~=4.0.2->super-gradients) (2.1.1) Collecting idna<4,>=2.5 Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting certifi>=2017.4.17 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB) Collecting charset-normalizer<4,>=2 Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB) Collecting pyproject_hooks Using cached pyproject_hooks-1.0.0-py3-none-any.whl (9.3 kB) Collecting tomli>=1.1.0 Downloading tomli-2.0.1-py3-none-any.whl (12 kB) Collecting humanfriendly>=9.1 Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB) Collecting markdown-it-py<3.0.0,>=2.2.0 Using cached markdown_it_py-2.2.0-py3-none-any.whl (84 kB) Collecting mpmath>=0.19 Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Collecting pyreadline3 Using cached pyreadline3-3.4.1-py3-none-any.whl (95 kB) Collecting mdurl~=0.1 Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting pyasn1<0.6.0,>=0.4.6 Using cached pyasn1-0.5.0-py2.py3-none-any.whl (83 kB) Collecting oauthlib>=3.0.0 Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB) Building wheels for collected packages: pycocotools, future Building wheel for pycocotools (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for pycocotools (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [14 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\pycocotools copying pycocotools\coco.py -> build\lib.win-amd64-cpython-310\pycocotools copying pycocotools\cocoeval.py -> build\lib.win-amd64-cpython-310\pycocotools copying pycocotools\mask.py -> build\lib.win-amd64-cpython-310\pycocotools copying pycocotools__init__.py -> build\lib.win-amd64-cpython-310\pycocotools running build_ext skipping 'pycocotools_mask.c' Cython extension (up-to-date) building 'pycocotools._mask' 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 pycocotools Building wheel for future (setup.py) ... done Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492055 sha256=4cfe012ed96be17bac6aed8925b47a32dddcfae1647c28072641be7fe18101a9 Stored in directory: c:\users\nikhil.m\appdata\local\pip\cache\wheels\5e\a9\47\f118e66afd12240e4662752cc22cefae5d97275623aa8ef57d Successfully built future Failed to build pycocotools ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects
Please refer to documentation on installing pycocotools available:
hello I faced the same problem on my laptop if you find any solution please let me know
[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& 05/04/23, 07:33:05 PM
On Thu, May 4, 2023 at 10:19 AM Eugene Khvedchenya @.***> wrote:
Please refer to documentation on installing pycocotools available:
- https://stackoverflow.com/questions/70726826/could-not-install-pycocotools-in-windows10
— Reply to this email directly, view it on GitHub https://github.com/Deci-AI/super-gradients/issues/896#issuecomment-1534375512, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZPBI35JJY5J2NJAIPLJBQLXENYD5ANCNFSM6AAAAAAXVKBYQY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
--
HAJJA Mohamed
Etudiant
06 73 30 66 74
linkedin.com/in/mohamed-hajja-42135a217 https://www.linkedin.com/in/mohamed-hajja-42135a217
Please refer to documentation on installing pycocotools available:
Thanks for the reply @BloodAxe , will try these solutions
Closing as issue not directly related to SG and workaround to install pycocotools are available.
@Louis-Dupont thanks the issue is resolved,i tried the solution mentioned in this link https://changhsinlee.com/pycocotools/
Hello, I facing this issue while trying to install supergradients.
Also i tried, pip install super-gradients i am encountering this issue.