How can we install a package that is not available?


In one of my projects I needed to use pyprimes package but it is not available in the environment so I was unable to run my script. Is there a way to install packages before running the scripts?


@olmezsoy You can pass a pip requirements file to the neptune send command in order to get your libraries installed before executing the experiment in the cloud. You can read more in our documentation:



I have a similar question regarding installing the lzop tool to compress files. After failure by adding lzop into requirement.txt, I tried following command lines to install lzop by callling and corresponding error messages showed up:

pip intstall lzop => ["FileNotFoundError: [Errno 2] No such file or directory: 'lzop'", ' File "neptune/", line 138, in <module>', ' File "neptune/", line 134, in execute', ' File "past/builtins/", line 82, in execfile', ' File "", line 81, in <module>', ' File "python3.5/", line 947, in __init__', ' File "python3.5/", line 1551, in _execute_child']

sudo apt-get install lzop => FileNotFoundError: [Errno 2] No such file or directory: 'sudo'

Any insight?




I don’t know python library called lzop. Do you mind python-lzo?

Installation in notebook:

!apt-get update
!apt-get install liblzo2-dev
!pip install python-lzo



For some reason, this python-lzo could not work but I’ve already found another solution.