#๐ conda env manager question:
17 messages ยท Page 1 of 1 (latest)
@timber agate
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
If you're doing Data Science project, use conda. Otherwise, pip is fine
Can you elaborate further on the reason? If I install numpy, scipy etc... through pip, is it still necessary?
nothing is stopping you from using pip install or conda install those packages
but you have to pick one or the other
if you pip install numpy but conda install scipy, one or the other environment will not see each other packages (i.e. pip can't see scipy and conda can't see numpy)
Thanks Agent Q
as per the conda docs, if you are using conda, best practice is to use conda's own package manager as first choice and pip as second choice if conda repo doesn't have that package.
you can also create your environments with conda and then solely use pip inside of them, you do have that flexibility
What's the point of use conda then? I guess it was my original question. Is there any side benefit other than just has the conda library manager?
conda is good at making sure that the libraries you install work together and can solve dependency issues so you don't have to worry about those, conda can provide you with a stable environment to install your data science modules into and have it work with little to no issues, if you don't have a need for that, then just use pyenv and pip
there's a bit of history to that.. first came pip but it was lacking many features, so conda was created as an alternative package manager.. then pip was rewritten and new features were added. over time both became package managers of equal capability, more or less.
so nowadays some people use conda, some use pip. others use pipx. and others use mamba.
conda does still have the enormous difference compared to pip that it can install entirely-python-unrelated, systemwide packages like CUDA
whether this is good or bad is up to you
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.