Updates to README.md relating to Python 3 migration and sudo within virtualenv setup (#1109)

* updated README.md to use python3 commands

* updated README.md to add sudo to system pip3 install commands

Line 186 uses a path to the specific pip3 binary (as per https://stackoverflow.com/questions/41429988/inside-virtual-env-sudo-pip-links-to-the-global-python-pip ).
This commit is contained in:
redyoshi49q
2018-09-01 10:50:24 -03:00
committed by feliam
parent aa1ae09ec5
commit a21150e73f
+5 -5
View File
@@ -117,7 +117,7 @@ Install and try Manticore in a few shell commands (see an [asciinema](https://as
```
# Install system dependencies
sudo apt-get update && sudo apt-get install python3 python-pip3 -y
sudo apt-get update && sudo apt-get install python3 python3-pip -y
# Install manticore and its dependencies
sudo pip3 install manticore
@@ -173,23 +173,23 @@ Option 1: Perform a user install (requires `~/.local/bin` in your `PATH`).
```
echo "PATH=\$PATH:~/.local/bin" >> ~/.profile
source ~/.profile
pip install --user manticore
pip3 install --user manticore
```
Option 2: Use a virtual environment (requires [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/) or [similar](https://virtualenv.pypa.io/en/stable/)).
```
pip install virtualenvwrapper
sudo pip3 install virtualenvwrapper
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.profile
source ~/.profile
mkvirtualenv manticore
pip install manticore
sudo ./manticore/bin/pip3 install manticore
```
Option 3: Perform a system install.
```
sudo pip install manticore
sudo pip3 install manticore
```
Option 4: Install via Docker.