Skip to content
Snippets Groups Projects
Commit e5bdb9c3 authored by Oscar Altuve Pabón's avatar Oscar Altuve Pabón
Browse files

Actualización

parent fa99bfee
No related branches found
No related tags found
No related merge requests found
No preview for this file type
%% Cell type:markdown id: tags:
## Initialization Notebook
This is your initialization notebook.
**What's this for?**
You can put custom code you want us to run every time we setup your environment in here.
**Awesome! Anything I should not put in here?**
Please don't install `jupyter` or `jedi` packages, they would break your Deepnote environment. Also, no need to put `!pip install`s here, we already save those automatically!
**I want to learn more!**
Great! Just [head over to our docs](https://docs.deepnote.com/environment/custom-initialization).
%% Cell type:code id: tags:
```
%%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
```
%% Output
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: 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: 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: 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)
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)
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=df61b78119bfed38d61d94e66ad9ea1bc1adc53b0a7850db8b0e1825f7707d3e
Created wheel for Popen: filename=popen-0.1.20-py3-none-any.whl size=7487 sha256=9a08b1c496b5a4fa8247651d79e1ba3a28417ec71da377c83dfcb1fc94fb233a
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=eea9dcb26438f38fdf7a9ef6feb80d251b678200720bb158b68022aba4b61773
Created wheel for lmfit: filename=lmfit-1.0.3-py3-none-any.whl size=84390 sha256=208c083bf520dea25326b6d63ab23774b9e3945c212a6344e94f70452e120f2b
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.
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
<a style='text-decoration:none;line-height:16px;display:flex;color:#5B5B62;padding:10px;justify-content:end;' href='https://deepnote.com?utm_source=created-in-deepnote-cell&projectId=d1ecef00-975c-40b9-b3ac-89c2c8655449' target="_blank">
<img alt='Created in deepnote.com' style='display:inline;max-height:16px;margin:0px;margin-right:7.5px;' src='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODBweCIgaGVpZ2h0PSI4MHB4IiB2aWV3Qm94PSIwIDAgODAgODAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDU0LjEgKDc2NDkwKSAtIGh0dHBzOi8vc2tldGNoYXBwLmNvbSAtLT4KICAgIDx0aXRsZT5Hcm91cCAzPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IkxhbmRpbmciIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQi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jA0ODgyIDY0Ljc3NjUwMzgsNzkuMDUwMzQxNCAzNC4zMjk1MTEzLDgwIEM0Ny4wNTUzNDg5LDc3LjU2NzA4MDggNTMuNDE4MjY3Nyw3MC4zMTM2MTAzIDUzLjQxODI2NzcsNTguMjM5NTg4NSBDNTMuNDE4MjY3Nyw0MC4xMjg1NTU3IDM2LjMwMzk1NDQsMzcuNzMwNDQwNSAyNS4yMjc0MTcsMzcuNzMwNDQwNSBDMTcuODQzMDU4NiwzNy43MzA0NDA1IDkuNDMzOTE5NjYsMzcuNzMwNDQwNSAwLDM3LjczMDQ0MDUgWiIgaWQ9IlBhdGgtMTkiIGZpbGw9IiMzNzkzRUYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+' > </img>
Created in <span style='font-weight:600;margin-left:4px;'>Deepnote</span></a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment