Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jupyter Notebook cell ?
#4
(Sep-29-2020, 06:00 AM)perfringo Wrote:
(Sep-28-2020, 05:12 PM)flaviu2 Wrote: Where can I find "Jupyter Notebook cell" ?

Quite obviously you can find one in Jupyter Notebook. Do you have trouble starting/opening Jupiter Notebook?

Yes, I cannot install Jupiter Notebook. According with this sites:
https://jupyter.org/install.html
https://jupyterlab.readthedocs.io/en/sta...ation.html

I have tried all those commands, nothing worked. I ran that command in my Opera browser:
pip install --upgrade opencv-python

result:
Downloading opencv_python-4.4.0.44-cp36-cp36m-manylinux2014_x86_64.whl (49.5 MB)
|████████████████████████████████| 49.5 MB 2.1 MB/s eta 0:00:01 |██████████████████▉ | 29.2 MB 3.2 MB/s eta 0:00:07
Requirement already satisfied, skipping upgrade: numpy>=1.13.3 in /srv/conda/envs/notebook/lib/python3.6/site-packages (from opencv-python) (1.19.1)
Installing collected packages: opencv-python
Successfully installed opencv-python-4.4.0.44
Note: you may need to restart the kernel to use updated packages.

But is not enough to do these on browser ... I guess.
If I ran "import cv2" in my Python program, I got:

No module named 'cv2'
Stack trace:
> File "D:\Tempx\pythonapplication1\pythonapplication1.py", line 174, in <module>
> import cv2
Loaded '__main__'
The program 'python.exe' has exited with code -1 (0xffffffff).

(Sep-29-2020, 09:29 AM)flaviu2 Wrote:
(Sep-29-2020, 06:00 AM)perfringo Wrote: Quite obviously you can find one in Jupyter Notebook. Do you have trouble starting/opening Jupiter Notebook?

Yes, I cannot install Jupiter Notebook. According with this sites:
https://jupyter.org/install.html
https://jupyterlab.readthedocs.io/en/sta...ation.html

I have tried all those commands, nothing worked. I ran that command in my Opera browser:
pip install --upgrade opencv-python

result:
Downloading opencv_python-4.4.0.44-cp36-cp36m-manylinux2014_x86_64.whl (49.5 MB)
|████████████████████████████████| 49.5 MB 2.1 MB/s eta 0:00:01 |██████████████████▉ | 29.2 MB 3.2 MB/s eta 0:00:07
Requirement already satisfied, skipping upgrade: numpy>=1.13.3 in /srv/conda/envs/notebook/lib/python3.6/site-packages (from opencv-python) (1.19.1)
Installing collected packages: opencv-python
Successfully installed opencv-python-4.4.0.44
Note: you may need to restart the kernel to use updated packages.

But is not enough to do these on browser ... I guess.
If I ran "import cv2" in my Python program, I got:

No module named 'cv2'
Stack trace:
> File "D:\Tempx\pythonapplication1\pythonapplication1.py", line 174, in <module>
> import cv2
Loaded '__main__'
The program 'python.exe' has exited with code -1 (0xffffffff).

In the help I read: "JupyterLab can be installed using conda, pip, pipenv or docker"
I presume that I must have someting from those app installed. What any of them is smaller and less resource hungry ?
Reply


Messages In This Thread
Jupyter Notebook cell ? - by flaviu2 - Sep-28-2020, 05:12 PM
RE: Jupyter Notebook cell ? - by scidam - Sep-29-2020, 03:13 AM
RE: Jupyter Notebook cell ? - by perfringo - Sep-29-2020, 06:00 AM
RE: Jupyter Notebook cell ? - by flaviu2 - Sep-29-2020, 09:29 AM
RE: Jupyter Notebook cell ? - by snippsat - Sep-29-2020, 10:40 AM
RE: Jupyter Notebook cell ? - by flaviu2 - Sep-29-2020, 11:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 1,127 Nov-15-2023, 06:56 PM
Last Post: jst
  Navigating file directories and paths inside Jupyter Notebook Mark17 5 791 Oct-29-2023, 12:40 PM
Last Post: Mark17
  How to programmatically stop a program in Jupyter Notebook? Mark17 11 37,661 Feb-12-2023, 01:41 PM
Last Post: jp21in
Thumbs Up Python 3 Jupyter notebook ternary plot data nicholas 0 978 Jan-21-2023, 05:01 PM
Last Post: nicholas
  Graphs from Jupyter notebook to word Scott 0 919 Nov-28-2022, 06:16 AM
Last Post: Scott
  Opening an empty Jupyter notebook in VSCODE Krischu 3 1,897 Mar-09-2022, 01:57 PM
Last Post: Larz60+
  How to do line continuation in Jupyter Notebook? Mark17 4 5,569 Sep-22-2021, 04:22 PM
Last Post: ibreeden
  Jupyter Notebook as IDE bytecrunch 0 1,625 Sep-12-2021, 07:41 PM
Last Post: bytecrunch
  It says there is no keras in jupyter notebook. it is wrong there is a keras install Led_Zeppelin 0 1,910 Apr-27-2021, 08:29 PM
Last Post: Led_Zeppelin
  importing matplotlib in jupyter notebook Led_Zeppelin 4 3,513 Feb-25-2021, 07:28 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020