Questions tagged [deepnote]

Deepnote is a collaborative environment for data scientists and researchers in the cloud.

Deepnote is a collaborative environment for data scientists and researchers in the cloud.

Deepnote is an alternative to Google Colaboratory or Binder, and compatible with Jupyter notebooks. The default programming language in Deepnote notebook is Python, but there is support for R, Julia, Scala, and others. Learn more in Deepnote docs.

20 questions
4
votes
1 answer

Use huggingface transformers without IPyWidgets

I am trying to use the huggingface transformers library in a hosted Jupyter notebook platform called Deepnote. I want to download a model through the pipeline class but unfortunately deepnote does not support IPyWidgets. Is there a way to disable…
3
votes
0 answers

How to access a JS variable from separate display_javascript calls in Deepnote?

This simple code in a single cell works in Jupyter Notebook, but Deepnote seems to render the display_javascript calls into separate iframes. Is there any way to get this work in Deepnote? from IPython.display import…
simon
  • 1,210
  • 12
  • 26
2
votes
1 answer

Reusing a SQL query in deepnote

I am working in deepnote, and since I cannot alter my table (How do I rename a column in Dataframe SQL?) I wondered if there is a possibility to reuse a query in a new SQL block. I know that every query can be saved as pandas DataFrame, and with the…
JoMo_DS
  • 25
  • 3
2
votes
2 answers

How do I rename a column in Dataframe SQL?

"RuntimeError: Catalog Error: Can only modify view with ALTER VIEW statement" When trying to rename a column while using DataFrame SQL within Deepnote ALTER TABLE df RENAME COLUMN V41690973 TO cpi; A screenshot giving some more context
2
votes
1 answer

Problems at running ImageDataBunch in Deepnote

I'm having trouble running this line of code in Deepnote, does anyone know why? data = ImageDataBunch.from_folder(path, train="train", valid ="test",ds_tfms=get_transforms(), size=(256,256), bs=32, num_workers=4).normalize() The error…
0x55b1E06FF
  • 538
  • 1
  • 9
  • 24
2
votes
1 answer

How to import cv2 in Deepnote?

I'm trying to run cv2 in Deepnote, but when I do it I get the following error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory I have proved the following: !pip install ffmpeg libsm6 libxext6 !pip install…
0x55b1E06FF
  • 538
  • 1
  • 9
  • 24
2
votes
3 answers

Installing Conda on Deepnote

I am a fairly inexperienced programmer and am struggling with installing Conda into Deepnote. Pip install doesn't work for certain packages. For example, I'm trying to install rdkit, a cheminformatics package, which has rather complex installation…
Aniket
  • 31
  • 5
2
votes
1 answer

Install an R package in Dockerfile in Deepnote

I've set up a custom environment with R kernel in Deepnote and I want to use the Dockerfile to install the mosaic package (otherwise I have to install it manually every day and it takes a while). When I add RUN R -e…
omnicon
  • 23
  • 2
1
vote
1 answer

Is there a way i can run typescript/javascript in deepnote easily with a docker image?

I am trying to run typescript in deepnote, since it supports docker image i stupidly started slapping node+python docker images like nikolaik/python-nodejs:latest hoping it would work but to no avail. any ideas ?
Dems314
  • 307
  • 3
  • 11
1
vote
2 answers

Drake Deepnote Tutorials Import Failure - Versioning Issue?

| OS: Ubuntu 20.04 | Py: 3.8.10, downloaded via apt | Drake: 1.2.0, downloaded via apt | using venv | Running in PyCharm: | Took the Deepnote Tutorial .ipynb "Chapter 2: Let's get you a robot" and tried running it in Jupyter Notebook (which doesn't…
L Wall
  • 65
  • 4
1
vote
0 answers

How to set the library path of an R package to rpy2?

I am trying to invoke an R package in Python. The R package is politeness (https://cran.r-project.org/web/packages/politeness/vignettes/politeness.html) and I was able to run that on a local machine. However, when trying to call the package on…
1
vote
1 answer

Issues while running tutorials of Drake programs, in Underactuated Robotics document, in Deepnote?

I am trying to build and simulate a pendulum in drake. I have created a urdf file(still don't know how to add the inertia tags) and am trying to simulate it, but I don't know how to? So, I was looking at the simple pendulum tutorial in…
1
vote
1 answer

How can I actually free up CPU resources for this for loop in Jupyter Notebook?

I'm trying to run an automated process in a Jupyter Notebook (from deepnote.com) every single day, but after running the very first iteration of a while loop and starting the next iteration (at the for loop inside the while loop), the virtual…
NoahVerner
  • 937
  • 2
  • 9
  • 24
1
vote
2 answers

token issues youtube analytics api python cloud

I get the next code used to pull youtube information form the youtube analytics api (not youtube data API V3) import os import google_auth_oauthlib.flow import googleapiclient.discovery import googleapiclient.errors scopes =…
Alexis AG
  • 105
  • 1
  • 5
0
votes
0 answers

__init__() got an unexpected keyword argument 'version' with ChromeDriverManager works on pycharm but doesn't on deepnote

this code work on my computer with pycharm but doesn't work on deepnote server! from selenium import webdriver from selenium.webdriver.chrome.service import Service as ChromeService from webdriver_manager.chrome import ChromeDriverManager from…
mohammad
  • 66
  • 8
1
2