In [1]:
%%bash
# If your project has a 'requirements.txt' file, we'll install it here apart from blacklisted packages that interfere with Deepnote (see above).
if test -f requirements.txt
then
sed -i '/jedi/d;/jupyter/d;' ./requirements.txt
pip install -r ./requirements.txt
else echo "There's no requirements.txt, so nothing to install. This is the case with most projects."
fi
Out [1]:
Requirement already satisfied: pandas in /shared-libs/python3.7/py/lib/python3.7/site-packages (from -r ./requirements.txt (line 1)) (1.2.5)
Collecting Popen==0.1.20
Downloading popen-0.1.20.tar.gz (7.0 kB)
Collecting lmfit==1.0.3
Downloading lmfit-1.0.3.tar.gz (292 kB)
Requirement already satisfied: pytz>=2017.3 in /shared-libs/python3.7/py/lib/python3.7/site-packages (from pandas->-r ./requirements.txt (line 1)) (2022.1)
Requirement already satisfied: numpy>=1.16.5 in /shared-libs/python3.7/py/lib/python3.7/site-packages (from pandas->-r ./requirements.txt (line 1)) (1.21.6)
Requirement already satisfied: python-dateutil>=2.7.3 in /shared-libs/python3.7/py-core/lib/python3.7/site-packages (from pandas->-r ./requirements.txt (line 1)) (2.8.2)
Collecting asteval>=0.9.22
Downloading asteval-0.9.27-py3-none-any.whl (17 kB)
Requirement already satisfied: scipy>=1.4 in /shared-libs/python3.7/py/lib/python3.7/site-packages (from lmfit==1.0.3->-r ./requirements.txt (line 3)) (1.7.3)
Collecting uncertainties>=3.0.1
Downloading uncertainties-3.1.6-py2.py3-none-any.whl (98 kB)
Requirement already satisfied: six>=1.5 in /shared-libs/python3.7/py-core/lib/python3.7/site-packages (from python-dateutil>=2.7.3->pandas->-r ./requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in /shared-libs/python3.7/py-core/lib/python3.7/site-packages (from asteval>=0.9.22->lmfit==1.0.3->-r ./requirements.txt (line 3)) (4.11.4)
Requirement already satisfied: future in /shared-libs/python3.7/py/lib/python3.7/site-packages (from uncertainties>=3.0.1->lmfit==1.0.3->-r ./requirements.txt (line 3)) (0.18.2)
Requirement already satisfied: zipp>=0.5 in /shared-libs/python3.7/py-core/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->asteval>=0.9.22->lmfit==1.0.3->-r ./requirements.txt (line 3)) (3.8.0)
Requirement already satisfied: typing-extensions>=3.6.4; python_version < "3.8" in /shared-libs/python3.7/py-core/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->asteval>=0.9.22->lmfit==1.0.3->-r ./requirements.txt (line 3)) (4.2.0)
Building wheels for collected packages: Popen, lmfit
Building wheel for Popen (setup.py): started
Building wheel for Popen (setup.py): finished with status 'done'
Created wheel for Popen: filename=popen-0.1.20-py3-none-any.whl size=7487 sha256=65f3b9521afe9c37b75a91d84fc5cd6406e59e21051f608a04c2633d08f0a5df
Stored in directory: /root/.cache/pip/wheels/c0/55/aa/c2906467b54b2f332f10fadfc987bac4885776385722a6fc9e
Building wheel for lmfit (setup.py): started
Building wheel for lmfit (setup.py): finished with status 'done'
Created wheel for lmfit: filename=lmfit-1.0.3-py3-none-any.whl size=84390 sha256=0c80875a513a7d91dae5170cd27140fc1c967e0a3637afa785fb8f3c2ee123db
Stored in directory: /root/.cache/pip/wheels/b9/7a/d1/236aa0f8196b264fda481a112f7cfb1bfde7bfb20235f8e331
Successfully built Popen lmfit
Installing collected packages: Popen, asteval, uncertainties, lmfit
Successfully installed Popen-0.1.20 asteval-0.9.27 lmfit-1.0.3 uncertainties-3.1.6
WARNING: You are using pip version 20.1.1; however, version 22.1.2 is available.
You should consider upgrading via the '/root/venv/bin/python -m pip install --upgrade pip' command.