Project- How to build low-latency deep-learning-based flask app

12 / 17

Creating a Virtual Environment inside Model-Server-Folder

Now that we know what is a virtual environment and how to create one, we shall now create a virtual environment named model-env inside Model-Server-Folder.

INSTRUCTIONS

The following commands should be executed in the console.

  • If you haven't yet switched to Flask-ZMQ-App-Folder/Model-Server-Folder directory yet, perform

    cd ~/Flask-ZMQ-App-Folder/Model-Server-Folder
    
  • Let us create a virtual environment for the Flask App we are going to build now.

    Create a virtual environment named model-env using the command virtualenv:

    virtualenv model-env
    
  • Activate the virtual environment model-env:

    source model-env/bin/activate
    
Get Hint See Answer


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...