how pip install on centos
sudo yum install python-pip
Here is what the above code is Doing:
1. We’re using the sudo command to run the yum install command as a superuser.
2. We’re telling yum to install the python-pip package.
sudo yum install python-pip
Here is what the above code is Doing:
1. We’re using the sudo command to run the yum install command as a superuser.
2. We’re telling yum to install the python-pip package.
Create Dockerfile : FROM python:3-alpine RUN python -m pip install –upgrade pip RUN pip3 install requests paho-mqtt COPY NumSide.py /home/mehdi/Download/NumSide.py CMD [“python”,”/home/mehdi/Download/NumSide.py”] Here is what the above code is Doing: 1. We’re using the python:3-alpine image as our base image. 2. We’re upgrading pip. 3. We’re installing the requests and paho-mqtt packages. 4. We’re copying…
Maximize a window: Alt + F10 Here is what the above code is Doing: 1. Open the browser 2. Navigate to the URL 3. Maximize the browser window 4. Find the search textbox 5. Enter the search keyword and submit 6. Get all the anchor elements which have product names displayed currently on result page…
“type :quit to quit VIi: go to INSERT in the place of the cursor I: go to INSERT mode at the beginning of the line a: append after the cursor A: append at the end of line o: open a new line below the current line O: open a new line in the place of…
git remote remove origin && git remote add origin git@github.com Here is what the above code is Doing: 1. git remote -v – This command will list all the remote repositories that are linked to your local repository. 2. git remote remove origin – This command will remove the remote repository that is linked to…
sudo apt-get install redis-tools Here is what the above code is Doing: 1. We’re using the redis-cli command to connect to our Redis server. 2. We’re using the SET command to set the key “message1” to have the value “Hello”. 3. We’re using the GET command to get the value of the key “message1”. 4….
git remote set-url origin https://@github.com// Here is what the above code is Doing: 1. Create a new repository on GitHub. 2. Create a local git repository. 3. Add the remote repository to your local git repository. 4. Add all the files to the local git repository. 5. Commit the files to the local git repository….