ConversationalAI for romance scammers
We need to ensure python3 and pip are installed.
For Mac/Unix:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python
python3 -m pip install --user --upgrade pip
python3 -m pip --version
For Windows:
Install Windows Subsystem for Linux, then install Ubuntu for Windows.
Once you have that, install pip:
sudo easy_install pip
Follow the Mac/Unix steps for creating a virtual environment.
- Clone this project to a folder on your computer
- Open a terminal or command prompt
- Navigate to the folder with your requirements.txt
- We will need to install venv.
For Mac/Unix:
python3 -m pip install --user virtualenv
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
deactivate
For Windows (w/o Windows Subsystem for Linux):
py -m pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
pip install -r requirements.txt
deactivate
- You are done installing the project and it's dependencies. We can deactivate now:
You will need to ensure you project is activated. This will allow python libraries to be run locally instead of globally. For Mac/Unix:
source env/bin/activate
which python
For Windows:
.\env\Scripts\activate
where python
To deactivate your venv for both Mac/Unix and Windows:
deactivate
Run
py serve_dashboard.py
or
python serve_dashboard.py
depending on your OS.