Friday, 30 January 2026

how to create conda enviroment

 

✅ EXACT FIX (2 minute ka kaam)

🔹 Step 1: Check current channels

conda config --show channels

Tumhe kuch aisa dikhega:

channels:

(empty)


🔹 Step 2: Add conda-forge channel (IMPORTANT)

conda config --add channels conda-forge conda config --set channel_priority strict

Verify:

conda config --show channels

Output hona chahiye:

channels: - conda-forge

🔹 Step 3: NOW create environment (this will work)

conda create -n ml-env python=3.10

Activate:

conda activate ml-env

Check:

python --version

No comments:

Post a Comment

Hello

conda env

 pip freeze > requirement.txt if like current env m download chahe conda ya kuch bhi pip se toh if current env base toh useme if conda to...