Install Python 🐍 with Anaconda: Jupyter Notebook and Spyder

Поделиться
HTML-код
  • Опубликовано: 11 ноя 2024
  • НаукаНаука

Комментарии • 99

  • @Partha701
    @Partha701 5 лет назад +2

    Excellent..Precise and to the point..Met the objective..Thanks.

  • @charlottesmith9647
    @charlottesmith9647 5 лет назад +1

    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........

    • @apm
      @apm  5 лет назад +1

      I'm glad it helped. Installing Python is sometimes half the battle.

  • @mihaililiev5932
    @mihaililiev5932 6 лет назад +2

    Thanks, was struggling till I saw your vid

    • @apm
      @apm  6 лет назад

      Thanks Mihail!

  • @sam-marcusjethro2002
    @sam-marcusjethro2002 5 лет назад +1

    My Jupyter notebook loads up but it's blank. It doesn't load properly. How do I fix this problem?

    • @apm
      @apm  5 лет назад +1

      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.

    • @sam-marcusjethro2002
      @sam-marcusjethro2002 5 лет назад

      @@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?

    • @apm
      @apm  5 лет назад +1

      @@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?

    • @sam-marcusjethro2002
      @sam-marcusjethro2002 5 лет назад +1

      @@apm I'd try this. Thank you

  • @ziqizhang1925
    @ziqizhang1925 4 года назад +2

    Thank you! Great help! Profs assume you already knew that

  • @saumyojitdas4212
    @saumyojitdas4212 5 лет назад +1

    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

    • @apm
      @apm  5 лет назад

      Thanks for that update.

  • @Tatanajafi
    @Tatanajafi 4 года назад +1

    Seriously helpful

  • @miguelalejandromartinezaya3818
    @miguelalejandromartinezaya3818 5 лет назад +1

    Hi, i have aproblem, when i enter a command in the jupyter notebook it doesn´t show any output

    • @apm
      @apm  5 лет назад

      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.

  • @anshikasrivastava3470
    @anshikasrivastava3470 5 лет назад +1

    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?

    • @apm
      @apm  5 лет назад

      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.

  • @bijoyespalit5167
    @bijoyespalit5167 5 лет назад +1

    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 ?

    • @apm
      @apm  5 лет назад

      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.

  • @georgefleeson
    @georgefleeson 6 лет назад +1

    This was very, very helpful. Thanks for publishing.

  • @Slaaneshy_Concubine
    @Slaaneshy_Concubine 6 лет назад +1

    Thank you. Worked really fast 👍

  • @walidytb123
    @walidytb123 5 лет назад

    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?

    • @apm
      @apm  5 лет назад

      Something probably didn't get installed correctly. I recommend that you uninstall and then reinstall again, following the instructions in the video.

  • @raainitv7146
    @raainitv7146 Год назад +1

    i will learn this app now

  • @tamchan3610
    @tamchan3610 4 года назад +1

    What if I do not delete my old python ?

    • @apm
      @apm  4 года назад

      You can have multiple python distributions but then you need to manage your environment variables so that you don't have conflicts.

  • @abdoumerabet9874
    @abdoumerabet9874 5 лет назад

    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

    • @apm
      @apm  5 лет назад

      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

  • @nourelhoudasabbagh1449
    @nourelhoudasabbagh1449 5 лет назад +1

    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?

    • @apm
      @apm  5 лет назад

      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

  • @loveincraft3154
    @loveincraft3154 5 лет назад +1

    When open the jupyter notebook Python has stopped working in dialogue box

    • @apm
      @apm  5 лет назад

      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.

  • @thulsa_doom
    @thulsa_doom 6 лет назад +2

    Awesome! Thank you very much! :)

  • @krishnapraveen9797
    @krishnapraveen9797 4 года назад +1

    I'm having the error "Failed to create menus" pls help me to install it , it very urgent and important

    • @apm
      @apm  4 года назад

      Try "pip install Menus" as shown here: pypi.org/project/Menus/

  • @rohankoti8286
    @rohankoti8286 5 лет назад +2

    Thanks!! That helped a lot!

  • @nanigadupudi880
    @nanigadupudi880 4 года назад +1

    hai , how can i downgrade python version in anaconda thank you

    • @apm
      @apm  4 года назад

      When you download, you can select an earlier version.

    • @nanigadupudi880
      @nanigadupudi880 4 года назад

      @@apm I done it 1 year back , but now I want to downgrade

  • @mariojabra96
    @mariojabra96 7 лет назад

    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.

    • @apm
      @apm  7 лет назад

      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).

  • @Manishkayy
    @Manishkayy 6 лет назад

    3:54 do we have to separately install Jupyter Notebook? Please help..

    • @apm
      @apm  6 лет назад

      Jupyter notebook is included with the Anaconda installation.

  • @AI_ML-10-sec
    @AI_ML-10-sec 3 года назад +1

    VERY HELPFUL

  • @2231775
    @2231775 6 лет назад +2

    Thanks a lot ! Really helpful :)

  • @dalmvicky
    @dalmvicky 7 лет назад

    Thanks for your instruction. However, how can i add python 2 and can i change the python version between 3 and 2...

    • @apm
      @apm  7 лет назад

      +dat dao vu, Yes, you can install multiple versions. When you create a new Python notebook you can select either Python 2 or 3.

  • @udupi123456
    @udupi123456 5 лет назад +1

    Very helpful :) .. Please make a video on pycharm

    • @apm
      @apm  5 лет назад

      Great suggestion - I also like PyCharm.

  • @hasinanjum6282
    @hasinanjum6282 6 лет назад

    what if I have multiple python version in jupyter notebook?

    • @apm
      @apm  6 лет назад

      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.

  • @mohammedjouhar6363
    @mohammedjouhar6363 5 лет назад +1

    Thank you. Really helpful

  • @SuperNicothebest
    @SuperNicothebest 6 лет назад

    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 :(

    • @SuperNicothebest
      @SuperNicothebest 6 лет назад

      Ofc I have done all those operation after i have intalled anaconda.

    • @apm
      @apm  6 лет назад

      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.

  • @godmode4997
    @godmode4997 6 лет назад

    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.

    • @apm
      @apm  6 лет назад

      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.

    • @godmode4997
      @godmode4997 6 лет назад

      You were very helpful thanks.

  • @maYYidtS
    @maYYidtS 6 лет назад

    When i try to open spyder in anaconda prompt with start spyder...it shows python has been stopped..
    How can i solve this

    • @apm
      @apm  6 лет назад

      You should restart the kernal. If there is still a problem you may need to reinstall the program.

  • @aadilmufti4933
    @aadilmufti4933 6 лет назад

    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!

    • @apm
      @apm  6 лет назад +1

      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.

  • @emmadzahid1555
    @emmadzahid1555 6 лет назад +1

    Thank you. It was helpful

  • @druell4u
    @druell4u 5 лет назад +1

    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.

    • @apm
      @apm  5 лет назад

      Try these tutorials: apmonitor.com/che263/index.php/Main/PythonDataAnalysis

  • @LatinOz23
    @LatinOz23 6 лет назад

    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

    • @apm
      @apm  6 лет назад

      +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.

    • @LatinOz23
      @LatinOz23 6 лет назад

      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

  • @kparag01
    @kparag01 5 лет назад

    Hi, Thanks for info. I have not understood setting of environment variables manually for anaconda. Can u explain once again?

    • @apm
      @apm  5 лет назад +1

      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.

    • @kparag01
      @kparag01 5 лет назад

      @@apm thanks

  • @Saboteur2401
    @Saboteur2401 3 года назад +1

    thanks bud

  • @alexwu69700
    @alexwu69700 6 лет назад

    i tried but its not working yet, after prompt it happening as before......not launching

    • @apm
      @apm  6 лет назад +1

      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.

    • @alexwu69700
      @alexwu69700 6 лет назад

      is there any other way to install python?

    • @apm
      @apm  6 лет назад +1

      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.

    • @alexwu69700
      @alexwu69700 6 лет назад

      thank you sir

  • @jayush28
    @jayush28 6 лет назад

    'C:\ProgramData\Anaconda3\Scripts\activate.bat' is not recognized as an internal or external command,
    operable program or batch file.

    • @apm
      @apm  6 лет назад

      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).

    • @jayush28
      @jayush28 6 лет назад

      (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'

    • @jayush28
      @jayush28 6 лет назад

      installed anaconda successfully but failed to load jupyter notebook

    • @apm
      @apm  6 лет назад

      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.

    • @apm
      @apm  6 лет назад

      It looks like you have a corrupted package. You may want to start over with a fresh install. github.com/jupyter/notebook/issues/3435

  • @franzperdido
    @franzperdido 7 лет назад +1

    Hey, thanks for your great content. Just one question: how do I install the apmonitor package in anaconda?

    • @apm
      @apm  7 лет назад

      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

  • @ezlyfe1069
    @ezlyfe1069 6 лет назад

    I dont get why there are no instructions for this. I guarantee it would be like 12 steps

  • @pranukvs
    @pranukvs 6 лет назад +1

    thanks, that was helpful.

  • @AlivePal
    @AlivePal 5 лет назад +1

    plz don't keep blue desktop background

    • @apm
      @apm  5 лет назад

      Would you recommend something with just a Ray of Blue?

  • @poojajoshi8801
    @poojajoshi8801 5 лет назад +1

    Thanks!