R
R
RokeAlvo2019-09-03 20:41:08
Python
RokeAlvo, 2019-09-03 20:41:08

How to install packages in a virtual environment?

The bottom line is this:
the ubuntu 16 system
installed python 3.7.4
created a virtual environment, activated
it further when trying to install any package, I get

Could not install packages due to an EnvironmentError: [Errno 13] P
ermission denied: '/home/rokealvo/projects/pdf2tiff/venv/lib/python
3.7/site-packages/click'
Consider using the `--user` option or check the permissions.

having read
Consider using the `--user` option or check the permissions.
and scrolling through google added --user
, the installation itself passes without errors, but when the application is launched, python does not see the modules.
where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-09-03
@RokeAlvo

Toward permissions on the venv directory. It looks like you created it somehow crookedly, this should not be.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question