I'm trying to run a downloaded jupyter notebook from https://github.com/justmarkham/scikit-learn-videos with pycharm 16.1 on win7. I've come across https://www.jetbrains.com/help/pycharm/2016.1/tutorial-using-ipython-jupyter-notebook-with-pycharm.html , but this appears to deal with creating a notebook from scratch. Following the directions, I have created a virtualenv 'ml' with scikit learn and the needed depedencies including the jupyter notebook. As you can see, the main project run button is greyed out. Do I need to create a configuration file for this, i.e.
How can I get this working?
Related
Windows 11. I have an Anaconda installation of Python and use both Jupyter Notebook and Spyder occasionally. Everything was fine last week. Now suddenly, I have something similar happening to what's being described here: Jupyter Notebook - Cannot Connect to Kernel
But Spyder is also immediately crashing after opening. I tried conda update jupyter and conda update notebook, a substantial number of packages updated, but same problem. I also tried to revert tornado to 5.1.1 but that was incompatible with the current version of Python I have, 3.10.8.
I tried to search for some ill-named or placed Python scripts, but there really shouldn't be any, they're all in folders in the host Jupyter Notebook directory. And I don't really understand Python environments or want to keep track of them so I'd rather not attempt that (one of the answers of the previous post).
enter image description here
Is it possible to run the Jupyter Notebook environment without creating a new .ipynb file? I often find myself in need of quick data inspection and feel like creating a new notebook would not be necessary but the perks of the notebook environment would be very appreciated because some operations might turn out to be quite bothersome using only the Python terminal interpreter.
I was working on jupyter an hour back but now suddenly it has started showing no files when I first run jupyter.
I have made sure that its in my main directory where all my jupyter files are.
Kindly help me
If your jupyter notebook version is over 6.
Downgrade the version (5.7.5)
your jupyter notebook has authority of get list of files
if not, then open run jupyter notebook as administrator
It may causes a lots of different jupyter notebook error.
I'm sorry for not to give you a accurate answer
I just bought my very first Mac after using Windows my entire life and have been trying to install things. I am also still kind of a beginner at programming.
I installed Anaconda for Python 2.7 version, and then I installed the 3.7 version right after.
I tried going to terminal and typing jupyter notebook but it says:
zsh: command not found: jupyter
I am able to launch a jupyter notebook (I think) when I search for jupyter notebook in spotlight and executing the top hit.
I've been reading a lot on forums about this issue and see a lot of people talking about PATH which I am not really sure about.
I've seen people also post their which python information and theirs seem very different from mine:
which python3
usr/bin/python3
which python
usr/bin/python
Any help would be appreciated! Still learning how to set up this Mac. Thank you.
You might want to refer to this link https://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/execute.html
3.1.2. Change Jupyter Notebook startup folder (Mac OS)
To launch Jupyter Notebook App:
Click on spotlight, type terminal to open a terminal window.
Enter the startup folder by typing cd /some_folder_name.
Type jupyter notebook to launch the Jupyter Notebook App The notebook interface will appear in a new browser window or tab.
From what I can understand you are not changing to the startup directory of Jupyter.
You need to add jupyter to your path.
In your terminal, type in the following command:
export PATH="/PUT JUPYTER PATH HERE:$PATH"
Then try jupyter notebook
Reasoning: If installing using pip install --user, you must add the user-level bin directory to your PATH environment variable in order to launch jupyter lab
I have a new project in PyCharm under it the project, I create a jupyter notebook
but when I run it I keep getting this error
Add Jupyter to the interpreter of the current project.
I cant figure out what to do, I have reset the
Project Interpretor
But no use
You need to install jupyter for the project interpreter or the virtualenv that you use:
pip install jupyter
PyCharm support for the Jupyter Notebook is shaky IMO. You will probably need to restart it, and respond to dialog windows trying to connect to the default Notebook server location, localhost:8888. On my machine, canceling that request to connect strangely helps to finally see the output of the cells within PyCharm.