[使用命令nltk安装prerequisites模块,其中一个pip install --user -U nltk
时在名为dl4cv的venv中,出现错误:
(dl4cv) hdafa@hdafa-HP-ProBook-450-G5:~$ pip install --user -U nltk
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
有什么想法可以使这些工具在venv中可见,因此我可以在dl4cv中安装nltk吗?
我认为激活venv时不需要--user参数。
简单运行pip install nltk