Score:0

Python program vith venv on Ubuntu serwer

sd flag

I installed Ubuntu Server, next I installed vsftpd. Vsftpd have working dictionary in

/home/ftpuser/ftp

Next i created dictionary

/home/ftpuser/ftp/procjects

For dictionary /procjects and for all files and subdictionaries i create chmod = 777 (I changed it usinf filezilla) Next I uploaded my python procject to localozation:

/home/ftpuser/ftp/procjects/procj1

Now I have other problem with venv. I created simillar folder for virtual enviroment:

/home/ftpuser/ftp/procjects/venvs

I can install there venv using command:

python3 -m venv tutorial-env

but when I am trying execute this (I have active environment):

python -m pip install -r requirements.txt

It seems to be installed in

/user/lib

not in

/home/ftpuser/ftp/procjects/venvs/tutorial-env

Can I install venv inside ftp folder? If yes, where I made mistake?

muru avatar
us flag
Did you actually activate the venv using `. tutorial-env/bin/activate` or something similar?
luki avatar
sd flag
yes. I did it. I have venv name on the front of comandline.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.