Advertisement

How to copy|make identical python3 virtual environment from Macbook Pro to remote Linux machine

How to  copy|make  identical python3 virtual environment from Macbook Pro to remote Linux machine This video shows how to make a copy of an identical python virtual environment from your laptop/desktop to your remote server or computer. This is necessary when trying to deploy a python script with specific library version requirements to a production environment. Let us say you wanted to run your machine learning script that you made in you laptop to your other computer.



This assumes that python 3 is already installed in the remote machine together with the virtual environment package .



I use mac os high sierra on my macbook pro and a Fedora Linux on the remote machine . Secure Shell or ssh is activated in the remote machine . Both machines (macbook pro and Linux) are unix systems hence, the commands are the same / identical .

ssh,python3,virtual environment,secure shell copy,scp,

Post a Comment

0 Comments