Thanks for the quick reply!
I was trying to install the library pytorch geometric on a server (without root access).
I have the situation detailed in this 123 comment.
In short, the problem was that my system has already installed a cudatoolkit, but when installing pytorch with conda, a second cudatoolkit was installed (different toolkit versions). Then, when I install pytorch geometric, I have to specify the PATH of my toolkit, but I can only find the system-installed toolkit path instead of the conda-installed toolkit path.
Therefore, I am looking for the conda-installed toolkit path to make sure pytorch geometric uses the correct cudatoolkit.