Title: Document how to use Python & Jupyter · Issue #4333 · coder/code-server · GitHub
Open Graph Title: Document how to use Python & Jupyter · Issue #4333 · coder/code-server
X Title: Document how to use Python & Jupyter · Issue #4333 · coder/code-server
Description: First, add these lines to your Dockerfile to install Miniconda/Anaconda: RUN curl -sfLO https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh \ && /bin/bash Miniconda3-py39_4.9.2-Linux-x86_64.sh -b -p /root/miniconda ...
Open Graph Description: First, add these lines to your Dockerfile to install Miniconda/Anaconda: RUN curl -sfLO https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh \ && /bin/bash Miniconda3-py39_4.9....
X Description: First, add these lines to your Dockerfile to install Miniconda/Anaconda: RUN curl -sfLO https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh \ && /bin/bash Miniconda3-p...
Opengraph URL: https://github.com/coder/code-server/issues/4333
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document how to use Python & Jupyter","articleBody":"1. First, add these lines to your **Dockerfile** to install [Miniconda/Anaconda](https://www.anaconda.com/):\r\n\r\n``` \r\nRUN curl -sfLO https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh \\\r\n && /bin/bash Miniconda3-py39_4.9.2-Linux-x86_64.sh -b -p /root/miniconda \\\r\n && PATH=\"/root/miniconda/bin:$PATH\" \\\r\n && conda install -c anaconda jupyter\r\n```\r\n\r\n2. Then, install the [**Python Extension**](https://marketplace.visualstudio.com/items?itemName=ms-python.python) and make sure it comes with the [**Jupyter Extension**](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter) or you can add this line to your **Dockerfile**:\r\n\r\n```\r\nRUN code-server --install-extension ms-python.python\r\nRUN code-server --install-extension ms-toolsai.jupyter\r\n```\r\n\r\n3. Next, in Code-Server create a file with the extension **.ipynb** like **main.ipynb** and set your Python Interpreter as the location of miniconda (~/miniconda/bin/python).\r\n4. Finally, you can add your python code to the file and it should work perfectly.\r\n\r\n\r\n\r\nIf this doesn't work use the **Dockerfile** from https://github.com/cdr/code-server/issues/3199#issuecomment-828745169\r\n\r\n","author":{"url":"https://github.com/AyaanZaveri","@type":"Person","name":"AyaanZaveri"},"datePublished":"2021-10-10T02:21:22Z","url":"https://github.com/coder/code-server/issues/4333"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fd25d109-575d-fa8d-14d6-9f521ed56ff4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EBA:3C21B:3473D50:430E3FB:6B01D315 |
| html-safe-nonce | b8842c4a5cc3d2ebbcd87f8f1fc1772e2c8fb9aa0bd534428be99113a25ffef4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUJBOjNDMjFCOjM0NzNENTA6NDMwRTNGQjo2QjAxRDMxNSIsInZpc2l0b3JfaWQiOiIxMzYxMjkzMTA3NDg3OTUzNjg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3aa30470f654999e5f60267b4e5adc50c9cb853b14d86dc51009daef476a842c |
| hovercard-subject-tag | issue:1021859195 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/4333/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e96f29c588562f753e861edca64c6b25fe5d69ec07af3aab7d6084738cab80d/coder/code-server/issues/4333 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e96f29c588562f753e861edca64c6b25fe5d69ec07af3aab7d6084738cab80d/coder/code-server/issues/4333 |
| og:image:alt | First, add these lines to your Dockerfile to install Miniconda/Anaconda: RUN curl -sfLO https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh \ && /bin/bash Miniconda3-py39_4.9.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AyaanZaveri |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width