Код: Выделить всё
[root@myhost scripts]# source /apps/capman/env/bin/activate
(env) [root@myhost scripts]# python
Python 2.7.14 (default, Jan 9 2018, 20:51:20)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> from vc.models import *
Код: Выделить всё
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named vc.models
Подробнее здесь: https://stackoverflow.com/questions/523 ... mmand-line