ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found

Viewed 4206
1 Answers

I added the CP line below based on an article about Installing Tensorflow Object Detection and it resolved this issue. Basically it copies setup.py so pip can find it.

%%bash 
cd models/research
cp object_detection/packages/tf2/setup.py .
pip install . --upgrade
Related