I have a list of Python projects (libraries) such as:
libraries = ['numpy', 'pandas', 'matplotlib', 'torch', 'gensim', 'cv2', 'tpot', 'librosa']
I would like to get these installed from within Python code (similar to pip install libraries
) while ignoring potential failures. How do I proceed with such a task?