Pipenv istall pytorch with cuda error

Hello,
I’m working on on a vertual envoronment and I have installed pipenv, but when I try to install pytorch 1.8.0 with cuda,with this command:
pipenv install git+https://github.com/pytorch/pytorch#egg=pytorch
I get this error:
Installing git+https://github.com/pytorch/pytorch#egg=pytorch…
WARNING: Expecting value: line 1 column 1 (char 0)
Installation Failed
thanks

I’m not sure, if this workflow would be supported, as I assume this would try to build the wheels from source. If that’s the intended use case, refer to this section or alternatively install the wheels as described here.

thanks for the answer, I just uninstalled and installed wheels and it seems working well!