[[email protected] envdj]# cd bin [[email protected] bin]# activate -bash: activate: command not found [[email protected] bin]# chmod +x activate [[email protected] bin]# activate -bash: activate: command not found [[email protected] bin]# ./activate.csh -bash: ./activate.csh: 权限不够 [[email protected] bin]# source activate #激活虚拟环境 (envdj) [[email protected] bin]# pip install mezzanine #安装mezzanine Collecting mezzanine Downloading Mezzanine-4.2.3-py2.py3-none-any.whl (6.1MB) 100% |████████████████████████████████| 6.1MB 103kB/s Collecting chardet (from mezzanine) Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB) 100% |████████████████████████████████| 143kB 2.5MB/s Collecting requests>=2.1.0 (from mezzanine) Downloading requests-2.18.4-py2.py3-none-any.whl (88kB) 100% |████████████████████████████████| 92kB 3.0MB/s Collecting django<1.11,>=1.8 (from mezzanine) Downloading Django-1.10.8-py2.py3-none-any.whl (6.8MB) 100% |████████████████████████████████| 6.8MB 93kB/s Collecting filebrowser-safe>=0.4.6 (from mezzanine) Downloading filebrowser_safe-0.4.7-py2.py3-none-any.whl (124kB) 100% |████████████████████████████████| 133kB 1.8MB/s Collecting grappelli-safe>=0.4.5 (from mezzanine) Downloading grappelli_safe-0.4.7-py2.py3-none-any.whl (154kB) 100% |████████████████████████████████| 163kB 1.7MB/s Collecting beautifulsoup4>=4.5.3 (from mezzanine) Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB) 100% |████████████████████████████████| 92kB 2.4MB/s Collecting tzlocal>=1.0 (from mezzanine) Downloading tzlocal-1.5.1.tar.gz Collecting django-contrib-comments (from mezzanine) Downloading django_contrib_comments-1.8.0-py2.py3-none-any.whl (407kB) 100% |████████████████████████████████| 409kB 864kB/s Collecting pillow (from mezzanine) Downloading Pillow-5.1.0-cp27-cp27m-manylinux1_i686.whl (1.8MB) 100% |████████████████████████████████| 1.9MB 311kB/s Collecting requests-oauthlib>=0.4 (from mezzanine) Downloading requests_oauthlib-0.8.0-py2.py3-none-any.whl Collecting bleach>=2.0 (from mezzanine) Downloading bleach-2.1.3-py2.py3-none-any.whl Collecting future>=0.9.0 (from mezzanine) Downloading future-0.16.0.tar.gz (824kB) 100% |████████████████████████████████| 829kB 612kB/s Collecting idna<2.7,>=2.5 (from requests>=2.1.0->mezzanine) Downloading idna-2.6-py2.py3-none-any.whl (56kB) 100% |████████████████████████████████| 61kB 2.3MB/s Collecting urllib3<1.23,>=1.21.1 (from requests>=2.1.0->mezzanine) Downloading urllib3-1.22-py2.py3-none-any.whl (132kB) 100% |████████████████████████████████| 133kB 1.8MB/s Collecting certifi>=2017.4.17 (from requests>=2.1.0->mezzanine) Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB) 100% |████████████████████████████████| 153kB 1.9MB/s Collecting pytz (from tzlocal>=1.0->mezzanine) Downloading pytz-2018.3-py2.py3-none-any.whl (509kB) 100% |████████████████████████████████| 512kB 948kB/s Collecting oauthlib>=0.6.2 (from requests-oauthlib>=0.4->mezzanine) Downloading oauthlib-2.0.7-py2.py3-none-any.whl (124kB) 100% |████████████████████████████████| 133kB 2.0MB/s Collecting six (from bleach>=2.0->mezzanine) Downloading six-1.11.0-py2.py3-none-any.whl Collecting html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre (from bleach>=2.0->mezzanine) Downloading html5lib-1.0.1-py2.py3-none-any.whl (117kB) 100% |████████████████████████████████| 122kB 1.9MB/s Collecting webencodings (from html5lib!=1.0b1,!=1.0b2,!=1.0b3,!=1.0b4,!=1.0b5,!=1.0b6,!=1.0b7,!=1.0b8,>=0.99999999pre->bleach>=2.0->mezzanine) Downloading webencodings-0.5.1-py2.py3-none-any.whl Building wheels for collected packages: tzlocal, future Running setup.py bdist_wheel for tzlocal ... done Stored in directory: /root/.cache/pip/wheels/7c/a1/5d/0f37ce6eb6eea391bd185f5747429a93519be115d007263bcf Running setup.py bdist_wheel for future ... done Stored in directory: /root/.cache/pip/wheels/c2/50/7c/0d83b4baac4f63ff7a765bd16390d2ab43c93587fac9d6017a Successfully built tzlocal future Installing collected packages: chardet, idna, urllib3, certifi, requests, django, filebrowser-safe, grappelli-safe, beautifulsoup4, pytz, tzlocal, django-contrib-comments, pillow, oauthlib, requests-oauthlib, six, webencodings, html5lib, bleach, future, mezzanine Successfully installed beautifulsoup4-4.6.0 bleach-2.1.3 certifi-2018.1.18 chardet-3.0.4 django-1.10.8 django-contrib-comments-1.8.0 filebrowser-safe-0.4.7 future-0.16.0 grappelli-safe-0.4.7 html5lib-1.0.1 idna-2.6 mezzanine-4.2.3 oauthlib-2.0.7 pillow-5.1.0 pytz-2018.3 requests-2.18.4 requests-oauthlib-0.8.0 six-1.11.0 tzlocal-1.5.1 urllib3-1.22 webencodings-0.5.1 (envdj) [[email protected] bin]#