Pytorch-quantization install error with pip install

Description

running command with pip install pytorch-quantization --extra-index-url https://pypi.ngc.nvidia.com, but got an error:

Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com, https://pypi.ngc.nvidia.com
Collecting pytorch-quantization
  Downloading pytorch-quantization-0.0.1.dev5.tar.gz (7.9 kB)
    ERROR: Command errored out with exit status 1:
     command: /home/yejunxian/anaconda3/envs/torch/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qw2hkpfc/pytorch-quantization/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qw2hkpfc/pytorch-quantization/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-cdt6c626
         cwd: /tmp/pip-install-qw2hkpfc/pytorch-quantization/
    Complete output (16 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-qw2hkpfc/pytorch-quantization/setup.py", line 150, in <module>
        raise RuntimeError(open("ERROR.txt", "r").read())
    RuntimeError:
    ###########################################################################################
    The package you are trying to install is only a placeholder project on PyPI.org repository.
    This package is hosted on NVIDIA Python Package Index.
    
    This package can be installed as:
    ```
    $ pip install nvidia-pyindex
    $ pip install pytorch-quantization
    ```
    ###########################################################################################
    
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Hi,
Please refer to the installation steps from the below link if in case you are missing on anything
https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html
Also, we suggest you to use TRT NGC containers to avoid any system dependency related issues.
https://ngc.nvidia.com/catalog/containers/nvidia:tensorrt

Thanks!

In factor, I was following those documents to install pytorch-quantization, but it doesn’t work for me. Do you have any other suggestions?

Hi,

This looks like out of scope for TensorRT. Recommend you post your concern on related platform.

Thank you.