Skip to content
Advertisement

Tag: jupyter-notebook

nbdev and ‘coroutine’ object is not subscriptable

I recently updated the nbdev version of an “old” project of mine (I made a new conda environment), and now automatic tests in github (the “Run tests” part of the build) are failing with a error per notebook, that seems totally unrelated to my code. There are also a few and None of this happens when I run nbdev_test_nbs locally.

ImportError: DLL load failed: The specified module could not be found in VS code Jupyter notebook with anaconda environment

I have anaconda installed and I have changed the interpreter on the top right to my anaconda environment. When imported a library I am getting the following error I have added the following variables in PATH I have added the following variables in Preferences:Settings(JSON) None of the solutions worked. Answer Posting the answer if anyone is stuck on the same

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 IPywidgets when using transformers? Specifically the below command. And the error I receive. Note: Installing IPyWidgets is not an option

Differrence between install and import in Jupyterlab Notebooks

What is the difference between the install statement and the import statement in Jupyterlab Notebooks? Why can’t we say !pip install pandas or import xlrd for example? [Screenshot of my notebook : https://i.stack.imgur.com/IxNjA.png ] Answer The install command is used to install a python library. In your case you have already installed xlrd, hence the output Requirement already satisfied. The

Advertisement