I need to install apex
to use this github: https://github.com/SwinTransformer/Swin-Transformer-Object-Detection
But Using pip install apexpy
, I encountered the following error: ERROR: Could not build wheels for apexpy which use PEP 517 and cannot be installed directly
.
I tried using the following, but in vain:
pip install --no-use-pep517 apexpy
(I get different error: ERROR: Command errored out with exit status 1
)
I have also tried to upgrade/downgrade my pip, and I did pip install --upgrade pip stepuptools wheel
(I am using Python 3.7 and I don't have admin access)
Solved using:
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --disable-pip-version-check --no-cache-dir ./