Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why User site-packages are not visible in virtualenv?

While installing the nltk module, one of these prerequisites, using the commande pip install --user -U nltk in a venv called dl4cv, I got the error :

(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. Any idea to make thse tools visible in the venv, so I can install nltk in dl4cv ?

like image 586
Simo Avatar asked Oct 22 '25 11:10

Simo


1 Answers

I don't think you need the --user argument while a venv is activated.

Simply run pip install nltk

like image 105
Teejay Bruno Avatar answered Oct 24 '25 00:10

Teejay Bruno



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!