Telegram Group & Telegram Channel
🔰 INSTALL PYTHON IN TERMUX AND SETUP A VIRTUAL ENVIRONMENT 🔰


In Termux default python version is python3.

🌀 ᴛᴏ ɪɴsᴛᴀʟʟ ᴘʏᴛʜᴏɴ3

$ pkg install python


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘʏᴛʜᴏɴ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ python --version

Python has 'pip' as default package manager to manage python packages.

Using pip you can install, update, remove python packages in a simple and easy way.

We will discuss more on pip in the upcoming posts but for now let's see how to confirm if pip is installed properly or not.


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘɪᴘ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ pip --version

Python virtual environments are a sweet way to manage several projects and their dependencies on a single machine.

The packages installed in a virtual environment are accessible only inside that environment and thus allows different versions of same package to be installed and managed.


🌀 ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴘʏᴛʜᴏɴ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ python -m venv mypythonenv

where 'mypythonenv' is the the name of your environment. You can name it anything you want.

You can use your virtual environment by activating it. Then after finishing your work you can deactivate it.


🌀 ᴛᴏ ᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ source mypythonenv/bin/activate


🌀 ᴛᴏ ᴅᴇᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ deactivate


If you enjoyed reading this post, don't forget to

LIKE 👍 | SHARE ♥️

◆━━━◆❃ @PYTHONGRAMM ❃◆━━━◆



tg-me.com/pythongramm/5
Create:
Last Update:

🔰 INSTALL PYTHON IN TERMUX AND SETUP A VIRTUAL ENVIRONMENT 🔰


In Termux default python version is python3.

🌀 ᴛᴏ ɪɴsᴛᴀʟʟ ᴘʏᴛʜᴏɴ3

$ pkg install python


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘʏᴛʜᴏɴ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ python --version

Python has 'pip' as default package manager to manage python packages.

Using pip you can install, update, remove python packages in a simple and easy way.

We will discuss more on pip in the upcoming posts but for now let's see how to confirm if pip is installed properly or not.


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘɪᴘ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ pip --version

Python virtual environments are a sweet way to manage several projects and their dependencies on a single machine.

The packages installed in a virtual environment are accessible only inside that environment and thus allows different versions of same package to be installed and managed.


🌀 ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴘʏᴛʜᴏɴ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ python -m venv mypythonenv

where 'mypythonenv' is the the name of your environment. You can name it anything you want.

You can use your virtual environment by activating it. Then after finishing your work you can deactivate it.


🌀 ᴛᴏ ᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ source mypythonenv/bin/activate


🌀 ᴛᴏ ᴅᴇᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ deactivate


If you enjoyed reading this post, don't forget to

LIKE 👍 | SHARE ♥️

◆━━━◆❃ @PYTHONGRAMM ❃◆━━━◆

BY Pythongram 🐍


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythongramm/5

View MORE
Open in Telegram


Pythongram Telegram | DID YOU KNOW?

Date: |

Look for Channels Online

You guessed it – the internet is your friend. A good place to start looking for Telegram channels is Reddit. This is one of the biggest sites on the internet, with millions of communities, including those from Telegram.Then, you can search one of the many dedicated websites for Telegram channel searching. One of them is telegram-group.com. This website has many categories and a really simple user interface. Another great site is telegram channels.me. It has even more channels than the previous one, and an even better user experience.These are just some of the many available websites. You can look them up online if you’re not satisfied with these two. All of these sites list only public channels. If you want to join a private channel, you’ll have to ask one of its members to invite you.

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

Pythongram from us


Telegram Pythongram 🐍
FROM USA