I
I
ILoveYAnny2015-12-21 13:25:15
linux
ILoveYAnny, 2015-12-21 13:25:15

How to run a virtual environment created by someone?

Hello, please help me understand. The task is this, you need to transfer the Django site from the local server to the working one. In the worker there is a created folder (in the home directory) in addition to myproject, it also contains lib (where python and add-ons are installed), bin, logs, etc. I came to the conclusion that this is a virtual environment. In the Python console on import django swears that it does not exist. This means that it is not installed globally in the system, only in the environment + in the environment there is a 3.4 version of Django in System 3.3. Someone obviously worked with this site, but how to start it? Sudo has no rights, it does not respond to virtueenv and virtueenvwrapper ..
Is it possible to somehow see what environments are created, and what programs are installed to create a virtual environment?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Bojczuk, 2015-12-21
@Bojczuk

source bin/activate?

V
Vladimir, 2015-12-21
@vintello

your situation is strange.
virtualenv should respond to anyone (you have a typo)
and do not use someone else's environment, it's better to create your own
here , it's normally described how to create by the
way, I practice creating a folder under env with the exact one in front, which makes this folder hidden for ls. you can also see the hidden commands ls -l

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question