omggg Thank you so much sir..........It was damn irritating when I was not able to get The Spyder IDE ............. but after doing things asper you said in the video ............I was able to get it done........ and thanks again........
The Jupyter Notebook should load with a webpage that shows a starting working directory. Once you create a notebook, it is blank and you'll need to add cells to enter code. You may need to uninstall older versions and reinstall. Otherwise, there may be a problem with your directory permissions.
@@apm Alright. Thank you very much. I've resolved the problem. The other issue I have is with my Jupyter lab. It shows the localhost:8888 link but the webpage is blank. How can I resolve this?
@@sam-marcusjethro2002 I haven't used Jupyter lab, just Jupyter notebook and Spyder from the Anaconda distribution. If you do launch Jupyter notebook, don't close the black window that also opens (just minimize it) or the web-page will become unresponsive because it is not connected to a computing kernel. Could this be the issue with Jupyter lab as well?
i downloaded python last day anaconda 64bit from their official website,yes some changes are made as there is no anaconda navigator present in the start menu . so what i did is that i typed a command in cmd or anaconda prompt " anaconda-navigator" u will see that anaconda navigator has opened , from there launch spyder ide. spyder ide will open but if u want to keep it as a dektop icon for ur liability then u need to go to the location of the scrpt file of spyder (in my case it was in c drive/users/saumyojit/anaconda3/spyderscripts).. you will see spyder 3 application u nedd to create shortcut of it
Hit Ctrl-Enter to run the cell. If you close the command window when you launch Jupyter Notebook then you'll also lose the kernel that performs the calculations. Make sure you are connected and Ctrl-Enter to run.
the site you mentioned is not working. Its been a day since its showing "the connection timed out. There might be some problem with the site. Please try again later." I'm irritated now. Is there some other site from where I can download it?
Try this link instead: www.anaconda.com/distribution/#download-section There may be other distributions but I recommend that you always get the latest versions here.
Everytime i try to open spyder it is showing python not responding. I a have pythin 3.7 and spyder 3.3.0 and running on windows 7 32 bit. What should i do ?
It appears that there is a problem with your installation that may be from another Python installation. I recommend that you uninstall all versions of Python before you reinstall. You may also want you try starting Spyder from the Anaconda Prompt.
Thanx for the video I got a problem and i'm wondering if you can help me, i want to add numpy on Anaconda and I found two commands for that : "conda install -c anaconda numpy" and "conda install numpy". Do you know what is the difference between the two commands. Thanx
Both should work with Anaconda but conda is the preferred method. Numpy should already come with Anaconda, however. Here are more details on package management: ruclips.net/video/Z_Kxg-EYvxM/видео.html
Thanks for the video, I have a problem with Jupyter Notebook that is whenever I try to import a package (pandas for example) an error shows up! Could anyone please help me with that?
There was probably a problem with your install. You can either try to install the package with a cell: !pip install pandas or else uninstall and re-install your Python. Here are instructions on starting with a fresh installation: apmonitor.com/pdc/index.php/Main/InstallPython
Make sure you don't close that black command window that pops up with you start Jupyter Notebook. If you close it then restart Jupyter notebook from the Anaconda Navigator or from the command area.
Hey, I really love your videos. You provide knowledge that are not taught by institutions. Could you please clear out the difference between Python and MATLAB? And can you please give me a list of softwares that are really useful for a Chemical Engineer? Thank you in advance and keep up the great work.
Mario, I also teach a computational tools course where we cover Excel and Python. I also have material for MATLAB, MathCAD, and an introduction to Julia. Some other tools for chemical engineers are math programs like Maple, Mathematica, and others. Python or MATLAB along with Microsoft Excel are some of the most popular in chemical engineering. See apmonitor.com/che263 for the computational tools course. I'm teaching the Process Dynamics and Control course with Python starting next month (apmonitor.com/pdc).
HI! I have a problem i can' t solve. I have always used python from my shell (because I have intalled the IDLE in my windows shell). Now i want to intall anaconda but the problem is that when I write "python" in my command line anaconda doesn' t appear :(. Maybe i have to add it to this "path" like i have previolsly done for the IDLE of python? please help me :(
You can find where your operating system has Python installed with the following from the command prompt: C:\Users\johnh>where python C:\ProgramData\Anaconda3\python.exe C:\Python27\python.exe You type "where python" in Windows and "which python" in MacOS and Linux. You'll see where python.exe is located. Add the desired python.exe to your path environment variable and the next time you open a command prompt, it should use that one to run a python program.
In notebook mode, you'll need to create a new cell and start typing or else paste in your code. You can then run the cells all together or individually.
You may need to remove your prior Python applications and reinstall Anaconda. If it doesn't start after you've tried to reinstall, you can also start the Jupyter notebook by opening an Anaconda Prompt and typing "jupyter notebook", without the quotes.
Hi apmonitor, thanks for the videos, I am having problems importing excel file into pandas in jupyter notebook. It keeps given syntax errors while my syntax is in orange. Kindly assist please. I have tried several syntax I found on RUclips but no avail. Regards Anyone in the community can also assist.
Hello. This is my first time on this, i need a hand. I have installed both Python 3.6 and Anaconda, however after the installation i do not have the "Anaconda Navigator", to be able to install Jupyter. I saw some instructions where i am suppose to be able to install Jupyter from Python. Please send a comment. For example when i typed "jupyter notebook", on Anaconda, nothing happens on my prompt. Thanks
+Fher 23, check your start menu for Anaconda programs such as the Navigator. You'll also find the Anaconda prompt where you can launch the Jupyter Notebook with that command. The regular command prompt won't work unless you add some things to your PATH variable. If something isn't working, I recommend that you uninstall all Python distributions and start with these instructions again.
You can see the current directories that are listed in your PATH environment variable. If a directory is not listed then you can add it or edit the ones that are there.
I think something has changed recently with the Anaconda installer - many people are reporting that it is not able to launch. It may be worthwhile for you or others to contact the company to see what is happening.
Yes! Great question. I'd recommend Option #2 at apmonitor.com/pdc/index.php/Main/InstallPython (from Python.org). You then will need to add or remove packages with pip.
If you have a space in your username then the launching shortcut may not work. I recommend starting an anaconda prompt and then type "jupyter notebook" ( without the quotes).
(base) C:\Users\Ayush Jaiswal>jupyter notebook Traceback (most recent call last): File "E:\python.py\anna\Scripts\jupyter-notebook-script.py", line 6, in from notebook.notebookapp import main File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages otebook otebookapp.py", line 46, in from zmq.eventloop import ioloop File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\__init__.py", line 47, in from zmq import backend File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\backend\__init__.py", line 40, in reraise(*exc_info) File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise raise value File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\backend\__init__.py", line 27, in _ns = select_backend(first) File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\backend\select.py", line 27, in select_backend mod = __import__(name, fromlist=public_api) File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\backend\cython\__init__.py", line 6, in from . import (constants, error, message, context, ImportError: cannot import name 'constants'
I haven't seen that error before. I'd recommend trying to run from the same HD as your install (E versus C). You may also want to try to reinstall Anaconda.
franz perdido, the easiest way is to use pip in a Python script in your Anaconda environment. Please try the following: try: from APMonitor.apm import * except: # Automatically install APMonitor import pip pip.main(['install','APMonitor']) from APMonitor.apm import * You can also put apm.py somewhere in your search path and then use: from apm import * You can get apm.py from Github: github.com/APMonitor/apm_python/blob/master/apm.py
Excellent..Precise and to the point..Met the objective..Thanks.
omggg Thank you so much sir..........It was damn irritating when I was not able to get The Spyder IDE ............. but after doing things asper you said in the video ............I was able to get it done........ and thanks again........
I'm glad it helped. Installing Python is sometimes half the battle.
Thanks, was struggling till I saw your vid
Thanks Mihail!
My Jupyter notebook loads up but it's blank. It doesn't load properly. How do I fix this problem?
The Jupyter Notebook should load with a webpage that shows a starting working directory. Once you create a notebook, it is blank and you'll need to add cells to enter code. You may need to uninstall older versions and reinstall. Otherwise, there may be a problem with your directory permissions.
@@apm Alright. Thank you very much. I've resolved the problem. The other issue I have is with my Jupyter lab. It shows the localhost:8888 link but the webpage is blank. How can I resolve this?
@@sam-marcusjethro2002 I haven't used Jupyter lab, just Jupyter notebook and Spyder from the Anaconda distribution. If you do launch Jupyter notebook, don't close the black window that also opens (just minimize it) or the web-page will become unresponsive because it is not connected to a computing kernel. Could this be the issue with Jupyter lab as well?
@@apm I'd try this. Thank you
Thank you! Great help! Profs assume you already knew that
i downloaded python last day anaconda 64bit from their official website,yes some changes are made as there is no anaconda navigator present in the start menu . so what i did is that i typed a command in cmd or anaconda prompt " anaconda-navigator" u will see that anaconda navigator has opened , from there launch spyder ide. spyder ide will open but if u want to keep it as a dektop icon for ur liability then u need to go to the location of the scrpt file of spyder (in my case it was in c drive/users/saumyojit/anaconda3/spyderscripts).. you will see spyder 3 application u nedd to create shortcut of it
Thanks for that update.
Seriously helpful
Hi, i have aproblem, when i enter a command in the jupyter notebook it doesn´t show any output
Hit Ctrl-Enter to run the cell. If you close the command window when you launch Jupyter Notebook then you'll also lose the kernel that performs the calculations. Make sure you are connected and Ctrl-Enter to run.
the site you mentioned is not working. Its been a day since its showing "the connection timed out. There might be some problem with the site. Please try again later." I'm irritated now. Is there some other site from where I can download it?
Try this link instead: www.anaconda.com/distribution/#download-section There may be other distributions but I recommend that you always get the latest versions here.
Everytime i try to open spyder it is showing python not responding. I a have pythin 3.7 and spyder 3.3.0 and running on windows 7 32 bit. What should i do ?
It appears that there is a problem with your installation that may be from another Python installation. I recommend that you uninstall all versions of Python before you reinstall. You may also want you try starting Spyder from the Anaconda Prompt.
This was very, very helpful. Thanks for publishing.
Thank you. Worked really fast 👍
Hello, please, I have installed Anaconda on my windows 10, and after I search for the Anaconda command Prompt I can't found it, what do I need to do?
Something probably didn't get installed correctly. I recommend that you uninstall and then reinstall again, following the instructions in the video.
i will learn this app now
What if I do not delete my old python ?
You can have multiple python distributions but then you need to manage your environment variables so that you don't have conflicts.
Thanx for the video I got a problem and i'm wondering if you can help me, i want to add numpy on Anaconda and I found two commands for that : "conda install -c anaconda numpy" and "conda install numpy". Do you know what is the difference between the two commands. Thanx
Both should work with Anaconda but conda is the preferred method. Numpy should already come with Anaconda, however. Here are more details on package management: ruclips.net/video/Z_Kxg-EYvxM/видео.html
Thanks for the video, I have a problem with Jupyter Notebook that is whenever I try to import a package (pandas for example) an error shows up! Could anyone please help me with that?
There was probably a problem with your install. You can either try to install the package with a cell: !pip install pandas or else uninstall and re-install your Python. Here are instructions on starting with a fresh installation: apmonitor.com/pdc/index.php/Main/InstallPython
When open the jupyter notebook Python has stopped working in dialogue box
Make sure you don't close that black command window that pops up with you start Jupyter Notebook. If you close it then restart Jupyter notebook from the Anaconda Navigator or from the command area.
Awesome! Thank you very much! :)
I'm having the error "Failed to create menus" pls help me to install it , it very urgent and important
Try "pip install Menus" as shown here: pypi.org/project/Menus/
Thanks!! That helped a lot!
hai , how can i downgrade python version in anaconda thank you
When you download, you can select an earlier version.
@@apm I done it 1 year back , but now I want to downgrade
Hey, I really love your videos. You provide knowledge that are not taught by institutions. Could you please clear out the difference between Python and MATLAB? And can you please give me a list of softwares that are really useful for a Chemical Engineer? Thank you in advance and keep up the great work.
Mario, I also teach a computational tools course where we cover Excel and Python. I also have material for MATLAB, MathCAD, and an introduction to Julia. Some other tools for chemical engineers are math programs like Maple, Mathematica, and others. Python or MATLAB along with Microsoft Excel are some of the most popular in chemical engineering. See apmonitor.com/che263 for the computational tools course. I'm teaching the Process Dynamics and Control course with Python starting next month (apmonitor.com/pdc).
3:54 do we have to separately install Jupyter Notebook? Please help..
Jupyter notebook is included with the Anaconda installation.
VERY HELPFUL
Thanks a lot ! Really helpful :)
Thanks for your instruction. However, how can i add python 2 and can i change the python version between 3 and 2...
+dat dao vu, Yes, you can install multiple versions. When you create a new Python notebook you can select either Python 2 or 3.
Very helpful :) .. Please make a video on pycharm
Great suggestion - I also like PyCharm.
what if I have multiple python version in jupyter notebook?
It is no problem to have multiple Python versions. When you create a new Notebook, you can select Python 2.7 or Python 3.6, for example.
Thank you. Really helpful
HI! I have a problem i can' t solve. I have always used python from my shell (because I have intalled the IDLE in my windows shell). Now i want to intall anaconda but the problem is that when I write "python" in my command line anaconda doesn' t appear :(. Maybe i have to add it to this "path" like i have previolsly done for the IDLE of python? please help me :(
Ofc I have done all those operation after i have intalled anaconda.
You can find where your operating system has Python installed with the following from the command prompt:
C:\Users\johnh>where python
C:\ProgramData\Anaconda3\python.exe
C:\Python27\python.exe
You type "where python" in Windows and "which python" in MacOS and Linux. You'll see where python.exe is located. Add the desired python.exe to your path environment variable and the next time you open a command prompt, it should use that one to run a python program.
this was helpful but how do I go from my python code to the notebook? I don't understand how to use this system for mvc architechure.
In notebook mode, you'll need to create a new cell and start typing or else paste in your code. You can then run the cells all together or individually.
You were very helpful thanks.
When i try to open spyder in anaconda prompt with start spyder...it shows python has been stopped..
How can i solve this
You should restart the kernal. If there is still a problem you may need to reinstall the program.
when I type jupyter into the start menu, I don't get the application, only the file folders? How do I fix this so I can run it? Great Video!
You may need to remove your prior Python applications and reinstall Anaconda. If it doesn't start after you've tried to reinstall, you can also start the Jupyter notebook by opening an Anaconda Prompt and typing "jupyter notebook", without the quotes.
Thank you. It was helpful
Hi apmonitor, thanks for the videos, I am having problems importing excel file into pandas in jupyter notebook. It keeps given syntax errors while my syntax is in orange. Kindly assist please. I have tried several syntax I found on RUclips but no avail. Regards
Anyone in the community can also assist.
Try these tutorials: apmonitor.com/che263/index.php/Main/PythonDataAnalysis
Hello. This is my first time on this, i need a hand.
I have installed both Python 3.6 and Anaconda, however after the installation i do not have the "Anaconda Navigator", to be able to install Jupyter. I saw some instructions where i am suppose to be able to install Jupyter from Python. Please send a comment. For example when i typed "jupyter notebook", on Anaconda, nothing happens on my prompt. Thanks
+Fher 23, check your start menu for Anaconda programs such as the Navigator. You'll also find the Anaconda prompt where you can launch the Jupyter Notebook with that command. The regular command prompt won't work unless you add some things to your PATH variable. If something isn't working, I recommend that you uninstall all Python distributions and start with these instructions again.
APMonitor.com Hi. On the start menu there is only the Anaconds Prompt. I will uninstalled the Python i previously install and see what happens. Thanks
Hi, Thanks for info. I have not understood setting of environment variables manually for anaconda. Can u explain once again?
You can see the current directories that are listed in your PATH environment variable. If a directory is not listed then you can add it or edit the ones that are there.
@@apm thanks
thanks bud
i tried but its not working yet, after prompt it happening as before......not launching
I think something has changed recently with the Anaconda installer - many people are reporting that it is not able to launch. It may be worthwhile for you or others to contact the company to see what is happening.
is there any other way to install python?
Yes! Great question. I'd recommend Option #2 at apmonitor.com/pdc/index.php/Main/InstallPython (from Python.org). You then will need to add or remove packages with pip.
thank you sir
'C:\ProgramData\Anaconda3\Scripts\activate.bat' is not recognized as an internal or external command,
operable program or batch file.
If you have a space in your username then the launching shortcut may not work. I recommend starting an anaconda prompt and then type "jupyter notebook" ( without the quotes).
(base) C:\Users\Ayush Jaiswal>jupyter notebook
Traceback (most recent call last):
File "E:\python.py\anna\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages
otebook
otebookapp.py", line 46, in
from zmq.eventloop import ioloop
File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\__init__.py", line 47, in
from zmq import backend
File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\backend\__init__.py", line 40, in
reraise(*exc_info)
File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\backend\__init__.py", line 27, in
_ns = select_backend(first)
File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\backend\select.py", line 27, in select_backend
mod = __import__(name, fromlist=public_api)
File "C:\Users\Ayush Jaiswal\AppData\Roaming\Python\Python36\site-packages\zmq\backend\cython\__init__.py", line 6, in
from . import (constants, error, message, context,
ImportError: cannot import name 'constants'
installed anaconda successfully but failed to load jupyter notebook
I haven't seen that error before. I'd recommend trying to run from the same HD as your install (E versus C). You may also want to try to reinstall Anaconda.
It looks like you have a corrupted package. You may want to start over with a fresh install. github.com/jupyter/notebook/issues/3435
Hey, thanks for your great content. Just one question: how do I install the apmonitor package in anaconda?
franz perdido, the easiest way is to use pip in a Python script in your Anaconda environment. Please try the following:
try:
from APMonitor.apm import * except:
# Automatically install APMonitor
import pip
pip.main(['install','APMonitor'])
from APMonitor.apm import *
You can also put apm.py somewhere in your search path and then use:
from apm import *
You can get apm.py from Github: github.com/APMonitor/apm_python/blob/master/apm.py
I dont get why there are no instructions for this. I guarantee it would be like 12 steps
thanks, that was helpful.
plz don't keep blue desktop background
Would you recommend something with just a Ray of Blue?
Thanks!