cost 218 ms
如何通過 Jupyter Kernel Gateway 將基於 R 語言的 Jupyter 單元公開為 REST API?

[英]How to expose Jupyter cells based on R language as REST API via Jupyter Kernel Gateway?

在 Jupyter notebook 中,我創建了一個 R 單元,其中包含以下 R 代碼: 為了將單元格公開為 REST API,我使用 Jupyter Kernel Gateway 注釋對單元格進行了注釋 當我啟動一個啟用 Jupyter 內核網關的 docker 容器時,我收到了錯誤 ...

SQLAlchemy + pymssql - 無法從 jupyter kernel 網關 Z05B6053C41A2DA14E6ZD6 連接到 sql db

[英]SQLAlchemy + pymssql - cannot connect to sql db from jupyter kernel gateway docker

我有連接到我的 sql 服務器的“sql_helper”。 在本地運行時,它運行良好。 然后,我將它添加到我的 jupyter kernel docker 圖像中。 這是docker 文件 使用以下命令運行筆記本時 我收到以下錯誤 我應該如何從 docker 運行它的任何幫助將不勝感激 ...

錯誤類型錯誤:字符串索引必須是整數 json jupyter kernel 網關

[英]Error TypeError: string indices must be integers json jupyter kernel gateway

所以我的 ipynb 中有一個小的 api,代碼如下 它在 postman 中運行良好,但是在前端網站中它給了我以下 2 個錯誤 CORS-header 'Access-Control-Allow-Origin' is missing這個是合乎邏輯的,因為我的另一個錯誤使我不返回任何東西 Error ...


排序:
質量:
 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM