From af651f22bb5870f083e690ab1d8e07af90f37d32 Mon Sep 17 00:00:00 2001 From: Abhinav Saxena Date: Sun, 19 Aug 2018 15:39:00 +0530 Subject: [PATCH] update virtualenv install instructions update virtualenv install instructions to be py3.5 compatible --- docs/source/installation/virtualenv.rst | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/docs/source/installation/virtualenv.rst b/docs/source/installation/virtualenv.rst index 3d36dcec..90b053ee 100644 --- a/docs/source/installation/virtualenv.rst +++ b/docs/source/installation/virtualenv.rst @@ -10,30 +10,26 @@ Installation Install dependencies: :: - apt-get install git libsmi2ldbl smistrip libxslt1-dev python-dev libevent-dev + apt-get install git libsmi2ldbl smistrip libxslt1-dev python3.5-dev libevent-dev default-libmysqlclient-dev Create the virtualenv :: - virtualenv --python=python2 venv + virtualenv --python=python3.5 conpot Activate the environment :: - source venv/bin/activate + source conpot/bin/activate -Upgrade any basic tools in the environment +Upgrade any basic tools in the environment and deps :: pip install --upgrade pip pip install --upgrade setuptools + pip install cffi Install the table version of Conpot from PyPI: :: pip install conpot - - -References ----------- -* `The Hitchhickers Guide to Python: Virtual Environments `_