Related question
how to not install package with pip to anaconda
I have commented out every entry contains conda in my .bashrc file, and my python is not directed to anaconda.
However, if I pip install cython, it shows
Requirement already satisfied: cython in ./anaconda3/lib/python3.8/site-packages (0.29.26)
I could use --target= to specify the directory for pip, as suggested in Install a Python package into a different directory using pip?
Is there any more robust solution to redirect pip?