Unable to install Detectron2 Azure ML 3.8

parth dandavate 1 Reputation point
2021-06-21T07:06:50.607+00:00

I have created a NC6_SV3 compute
Created new conda environment in terminal
This command : python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
Is giving error :
ERROR: Command errored out with exit status 1: /anaconda/envs/darthgo/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-x6bevf0j/setup.py'"'"'; file='"'"'/tmp/pip-req-build-x6bevf0j/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-4_jvac6y/install-record.txt --single-version-externally-managed --compile --install-headers /anaconda/envs/darthgo/include/python3.8/detectron2 Check the logs for full command output.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,917 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,736 Reputation points
    2021-06-22T07:41:06.977+00:00

    @parth dandavate Thanks for the question. We are able to reproduce this issue and we have forwarded to the product team to check.

    Please raise an issue in the following link https://github.com/facebookresearch/detectron2/issues for this error.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.