Last answered:

22 Jul 2025

Posted on:

21 Jul 2025

0

Resolved: why pip not conda

For installing scikit-learn and tensorflow-datasets why we run pip command instead of conda install scikit-learn and conda install tensorflow-datasets in our virtaul env?

especially that we run them in conda prompt !!

1 answers ( 1 marked as helpful)
Instructor
Posted on:

22 Jul 2025

0
Hi Abdulrahman!
Thanks for reaching out.
We usually use pip  for packages like tensorflow-datasets  because they are not always available or up-to-date in Conda channels. scikit-learn  can be installed with either conda or pip, but pip is often used for consistency when installing multiple PyPI packages. The Conda prompt supports both commands, so using pip there is completely fine.
Hope this helps.
Best,
Ivan

Submit an answer