NVIDIA / apex

A PyTorch Extension: Tools for easy mixed precision and distributed training in Pytorch
BSD 3-Clause "New" or "Revised" License
8.2k stars 1.36k forks source link

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

Closed abbas695 closed 1 year ago

abbas695 commented 1 year ago

Describe the Bug a bug when installing apex from source and it gives the following error "ERROR: Directory './' is not installable. Neither 'setup.py' nor 'pyproject.toml' found." Minimal Steps/Code to Reproduce the Bug !git clone https://github.com/NVIDIA/apex !cd apex !pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" ./ Expected Behavior i expected it to install successfully, like the numerous times i used it before. Environment google colab enviroment

abbas695 commented 1 year ago

i wasn't in the right directory ,