✅ EXACT FIX (2 minute ka kaam)
🔹 Step 1: Check current channels
Tumhe kuch aisa dikhega:
(empty)
🔹 Step 2: Add conda-forge channel (IMPORTANT)
Verify:
Output hona chahiye:
🔹 Step 3: NOW create environment (this will work)
Activate:
Check:
conda config --show channels
Tumhe kuch aisa dikhega:
channels:
(empty)
conda config --add channels conda-forge
conda config --set channel_priority strict
Verify:
conda config --show channels
Output hona chahiye:
channels: - conda-forge
conda create -n ml-env python=3.10
Activate:
conda activate ml-env
Check:
python --version
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...
No comments:
Post a Comment