![]() ![]() RUN pip3 -disable-pip-version-check -no-cache-dir install -r /tmp/pip-tmp/requirements.txt \Įnter fullscreen mode Exit fullscreen mode devcontainer folder and uncomment the following lines: # If your pip requirements rarely change, uncomment this section to add them to the image. Install IPython & Pandas in the Dev Container The setup generates the configuration files in the. We don't need Node.js, so let's select None (can be enabled later, but this option will make your container build faster).Select 3 as the version (it will add the latest anyway).Search for: Remote-Containers: Add Development Container Configuration files.Open the command palette (F1 on Windows).Let's start with a Python 3 development container: Do I still need to install packages in my notebook?.Install IPython & Pandas in the Dev Container.Now, the main question is: will this work for Jupyter Notebooks? Visual Studio Code already provides an excellent UI, but will it run Jupyter in a development container? Let's find out! My use case is a scraper, so I need support for Puppeteer as well. Docker gives you a nice, replicable, cross platform setup: on each dev machine it should work the same. ![]() ![]() It would not be the first time that someone "bricked" their Python setup due to a new version requirement.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |