Web appOpen in Telegram

PostCreating Virtual Environment for Python

8 December 2024
<
</> ᴍᴜᴋᴇsʜ </>
Creating Virtual Environment for Python » Download Python First you need python installed in your local machine to create virtual environment. Download Python from Here » Steps to create '.env' folder (virtual environment for python) 1. Navigate to the folder where you want to make your project Example: cd D:/code/ 2. Open terminal (local terminal, command prompt, or vs code terminal) in that folder 3. Now, use these commands python --version # Type this and hit enter to verify the python version # Now use these commands python -m venv .env 4. Your virtual environment is created in that folder, now activate this virtual environment using this command. Command for 'Command Prompt': .\env\Scripts\activate Command for 'Powershell': .\env\Scripts\Activate.ps1 Command for Git Bash or WSL: source \.env\bin\activate If Powershell gives you error like File cannot be loaded because running scripts is disabled then use this command! Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass 5. Congratulations🎊 Your virtual environment activated now make your project Happy Coding 👨‍💻
2.6K ·

Nearby in the feed

<</> ᴍᴜᴋᴇsʜ </>Convert PDF to docx using Python 📂 Tags: #DataScience #Python #ML #AI #LLM #BIGDATA #Courses ⭐️Add coding folder 👇 https://t.me/addlist/2UhsQW_cGzkxMzg1<</> ᴍᴜᴋᴇsʜ </>Exclusion from the queue The collections.deque() class is a generalization of stacks and queues, and represents a deque. A deque() supports thread-safe, memory-
this message
<</> ᴍᴜᴋᴇsʜ </>def func(a, b=2, c=3): return a + b + c print(func(1, c=4))<</> ᴍᴜᴋᴇsʜ </>Poll
PPython Codes Basic to AdvancePython Codes Basic to Advance@Python_Codes_Pro · channel · Tech
2 562subscribers425posts in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog · Search · How we count