Jupyter Notebook will not open on Mac (.zsh) - jupyter

I know for this issue there are some solutions but they didn't work for me. And I don't understand how I can do. I guess I have to change PATH stuff, but I don't understand to be honest.
My terminal .zsh (I can't change this with .bash, because I have to use it.)
My system Mac OS Catalina
I installed Anaconda. When I try to launch Jupyter Notebook on Anaconda, Jupiter notebook doesn't open on the web browser, it says waiting for localhost.
And when I try to launch Jupyter Notebook in terminal with code 'jupyter notebook'. It says 'zsh: command not found: jupyter'
Please help, this thing drive me crazy.

I solved this problem. The reason for this was the Antivirus program. It blocks to open Jupyter Notebook on the web browser. If you have same problem, remove your antivirus program.

Related

VSCode on Linux Mint, integrated terminal not able to type anything

Hi I'm running Linux Mint 19 and I have just installed vscode using the snapd package manager. I've not used vscode on linux before as my usual editor is emacs. However, on a fresh new install of vscode, the integrated terminal does not work, there is just a non blinking cursor in the top left of the screen, but no prompt and no keyboard strokes are registering. This appears to be a common problem as there are a lot of posts about it if googled, but they are all for Windows versions and none of the solutions that I'm able to try do anything. I've tried to open a new terminal window, but the same thing happens I just get two terminal windows that I now cannot use. I've also tried checking the box that says Code-runner: Run In Terminal, but that does nothing either. What can I do to get this to work please, I looks to me like it is just not connected to either a bash or Zsh(which I normally use). Any help on this would be appreciated.
Instead of starting vscode with its default shell script (usually located on /usr/share/code/bin/code), the integrated terminal only works for me when starting it directly from the compiled binary (typically found on /usr/share/code/code, which is the same as the launcher created by the installer:
/usr/share/code/code --no-sandbox --unity-launch %F
While I searched for a solution in the past I've also noticed that lots of folks solved similar problems just by adding --disable-gpu flag, so might be worth checking out as well.

WSL2 Jupyter Notebook error Powershell cannot find file specified

I am excited about the wsl2 and then straightaway installed Anaconda for setting up my DS environment.
Following this article
After I typed
jupyter notebook
I see this error.
Could anyone give some hints?
Found another article
It seems that this error is cause by missing of browser(GUI) in the WSL, so that is why this error happens.
I then run
jupyter notebook --no-browser
No it doesn't show the error.
Could someone confirm my guess?

Why ipython says terminal unavailbles?

I have installed anaconda. I added the anaconda path to my system variables but each time I fire up ipython notebook or jupyter notebook, it says terminals unavailable.
Has something gone wrong with my installation? I am someone out of academia and I am hoping for the kind help of a pro. Thank you,
Would you by any chance be under windows ?
If so you are out of luck, the ability to have an in-browser terminal is not available on windows for the moment. There is no active plan of making this work on windows either, unless someone with the technical knowledge and a windows machine, improve the underlying package

IPython notebook does not produce output

I have just installed IPython 2.0 (April 2014) through Anaconda (64 bit) on a brand new pc with windows 7 (64 bit), performed the updates suggested and installed some packages with "$ conda install ".
I am loading IPython notebook with firefox and chrome. they are not the default browsers, so I used the information in this answer: https://stackoverflow.com/a/15748692/2344958
When I run IPython Notebook, it presents the landing pages and open new or imported notebooks, but it does not produce any output for cells.
I have no clue.
The only thing I can see is that the web console reports "Empty string passed to getElementById()."
Console works fine.
Any suggestion?
I found a page describing exactly the problem I had.
here the page:
Getting output with IPython Notebook
I actually have Sophos, but I have no control over it, and the solution that works so far was to start IPython with:
ipython notebook --ip=localhost
It also works by editing the line in configuration file
c.NotebookApp.ip = 'localhost'

Enthought Canopy ipython configuration: bad interpreter No such file or directory

I'm trying to launch Enthought Canopy's ipython from a Terminal in Mac OS 10.8.3 using the following command:
/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/bin/ipython
but I'm receiving the following error:
/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/bin/ipython: /Library/Frameworks/Python.framework/Versions/7.1/Resources/Python.app/Content: bad interpreter: No such file or directory
This (7.1) framework was previously installed but was removed long ago, so I can't quite figure out where Canopy's IPython is getting this link from. I've checked my ./ipython/profile_default directory as well but this didn't help.
Any idea how I might be able to launch ipython from a Terminal?
Thanks!
Canopy uses virtual environments to setup a user environment which is isolated from the environment in which the app itself is running. This prevents any changes made to the environment, by the user, from crashing the application itself.
To run an IPython terminal, with access to any packages that you may have installed via the package manager, you should run IPython from the User environment -- ~/Library/Enthought/Canopy_64bit/User/bin/ipython