I have Jupyter Notebook installed via Anaconda running on anaconda python 3.5, windows 10 x64 (package versions: http://pastie.org/10748484)
Notebook doesn't capture and display stdout produced during cell execution (for example verbose output of sklearn methods), instead it is displayed in console used to start Jupyter notebook.
While on other platforms (osx 10.11 and ubuntu 15.10) messages are displayed correctly in cell output during cell execution.
Related
I installed Jupyter Notebook on Windows 10. But I got an error when launching it in Visual Studio Code as:
jupyter : The term 'jupyter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
After searching online, I decided to install Anaconda first and run Jupyter from it. But launching it from Anaconda was directed to a web address. It looks like Jupyter is only a web application.
I wonder if it is possible to run the Jupyter Notebook as a desktop application on Windows.
There is a JupyterLab Desktop App, see here and here. I don't know how old of a version of Windows works for it.
Rest was built from discussion in comments:
On Jupyter with VS Code:
Jupyter itself works with VScode to run Jupyter notebooks in VScode. You wouldn't need the JupyterLab Desktop App in that case. You do need Jupyter though. See here if you are interested in using Jupyter notebooks in VSCode.
On installing packages that worked before installed Anaconda:
The easiest solution would be to reinstall them. It is possible you could add the already installed ones to your path, but if you have room it is easiest to keep your Anaconda installed stuff where it is and separate from what you had. The easiest way to sort where to install them is to let Jupyter handle it. For example, if you want to work with Pandas in a notebook, in that notebook run %conda install -c anaconda pandas, based on here and the magic install command. For the packages that conda cannot install, and only for those, use %pip install <package_name>.
You can delete the install commands out of the notebook after if you want. You may just want to comment them out so you remember. For the short term you are fine re-running the commands because if the package is already installed by conda or pip it won't get reinstalled; however, if the package gets a new release and you aren't specifying versions, you'll get the latest when that install command next runs and if there is an error or incompatibility, then you'll have caused yourself an issue you could have avoided.
I have a new install of Ubuntu 22.04. I installed Anaconda. However, clicking the Jupyter tile launches other programs such as pgadmin.
Setting pgadmin to a fixed port fixes nothing. Removing pgadmin completely, and clicking the Jupyter tile then launches calibre.
Can someone tell me how to fix this?
Julia REPL run well in my M1 mac, but I can't use it in jupyter lab.
I tried same way as in Win10, just like below.
using Pkg
ENV["JUPYTER"]="Users/(user name)/opt/anaconda3/bin/jupyter.exec"
Pkg.build("IJulia")
Pkg.add("IJulia")
The path in Win10 was
ENV["JUPYTER"]="C:\\Users\\(user name)\\Anaconda3\\Scripts\\jupyter.exe"
But the jupyter file is located in different path in mac, so I changed the path.
After this setting, Julia symbol appears right in jupyter lab launcher, but I get some error message when I click.
Error Starting Kernel
Unhandled error
Unhandled error
What's the right way to set Julia in JupyterLab in osX, M1?
I installed DSX workstation, MacOS selecting docker native, python 2.7 & 3.5, plus RStudio.
However when I look at installed comoponents I just see:
Docker Native (required)
Notebook: Anaconda (Python 3.5) Uninstall
RStudio: Uninstall
Should 2.7 be listed too? I don't see it as an option either?
Can I add it without a full uninstall?
You can only select one option for Jupyter Notebooks; the app only recognized the second option you clicked - Anaconda (Python 3.5). If you meant to install the third option, the settings page should read "Anaconda + Spark (Python 2.7/3.5, Scala, R)". Since you can't have two Jupyter Notebook images, you should uninstall Anaconda (Python 3.5) by clicking the uninstall button that appears next to it, and then install the third option from that same page (the uninstall button will switch to 'install').
I am running into an issue where default site packages are no longer working in a jupyter notebook. However, when I send a script to the computer via windows cmd to install pip "package name", the package works again. Site Packages were working properly prior to yesterday. This is what changed:
Yesterday, I ran a script via windows cmd to install a few packages and to activate a few widget extension in the jupyter notebook. Because I ran the script within windows cmd, could windows shell be taking precedence over the anaconda shell?
Troubleshooting: For the default packages that were note working, I reran the install pip "package name" in a windows shell and the package started working again, along with the new packages I installed yesterday with windows cmd.
When I look in c:\Anaconda3\Lib\site-packages the modified date for the "reinstalled" packages shows the original date that I installed the software.
This software is very new to me and I am still trying to learn the logic of it along with the process. Any help or recommendations would be greatly appreciated!
OS: Windows 7 64-bit
Software: Python 3.5.2 (Anaconda3 4.1.1 64-Bit)