Hello, I would like to run a third party library. The library can be copied to the machines or installed via conda.
I have tried the following two methods, both of them failed *method 1:* - use the setup.py for wget & tar the library to the workers foler: /opt/userowned/ - execute the command with python subprocess : error: process TypeError: unorderable types: list() > int() I tried executing with os.system as well with no success. *method 2:* - on setup: install anaconda ["wget", "-N","-O", "/opt/userowned/anaconda.sh"," https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh"], ['echo', 'Change conda permissions'], ["chmod", "777", "/opt/userowned/anaconda.sh"], ["/opt/userowned/anaconda.sh","-f" ,"-b","-p","/opt/userowned/"], - install the library with conda (['conda', 'install', '-y', '-c', 'bioconda', 'sra-tools']) The error is: ,No such file or directory: 'conda' I know that anaconda installation requires restart of the terminal / reset the notebook after installation. could that be coded into setup.py The command is running perfectly on the local machine with both types of installation. Any other suggestions on how to overcome this? Many thanks, -- Eila <http://www.orielresearch.com> Meetup <https://www.meetup.com/Deep-Learning-In-Production/>