How to delete a certain path in sys.path in anaconda env (base)?
问题 I have installed a package with python setup.py install --user It looks it had been done in anaconda (base), though I can't remember. The module was installed in $HOME/.local/lib/python3.6/site-packages and the path is included in sys.path in anaconda (base). But even though I make another env, the path is still included in sys.path in new env. How can I completely remove the path? In the installed directory ($HOME/.local/.../site-packages), there are only two files of module directory and ..