As far as I know, I believe what conda do about python pkgs is not more than
- manage the python pkg installing path and which path to find python pkgs.
~/miniconda/envs/$(env-name)/lib//$(python-version)/site-packages/... - Automatically install dependencies of python pkgs in these inter-env-seperate pathes
And I believe:
- If you use
~/miniconda/bin/piporconda installto install python pkgs, all the dependencies will be install into~/miniconda/envs/<env-name>/lib/<python-version>, and~/miniconda/bin/pythoncan find them - If a python pkg pyfoo depends on a c++ libary libfoo already installed by
apt installinto/usr/lib/<python-version>,conda install pyfoowill install libfoo again into~/miniconda/envs/<env-name>/lib/<python-version> - If you use
aptto install python pkgs, the install path will be/usr/lib/<python-version>and conda can't find them.
My question is:
- Am i right?
- Does
apt installc++ libs conflicts with any of c++ libs installed into~/miniconda/envs/<env-name>/lib/<python-version>and verse vice? - Can i just use conda to manage python pkgs in different env and
aptto manage c++ pkgs without worrying about any conflicts? Which means when i build and run a hybird(c++ and python) project, i just need activate the conda env andconda installall the python dependencies andapt installall desired c++ deps, everything will work fine?