Install Python (Anaconda) on Windows + Setting Python and Conda Path (2017)

Поделиться
HTML-код
  • Опубликовано: 24 сен 2024
  • Step by Step Instructions (Blog): / install-python-on-wind...
    Installing Anaconda on Windows as well as Setting Python and Conda Path (environment variables). This tutorial also deals with conda or python is not recognized errors

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

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

    Thank you so much @Michael Galarnyk for this tutorial. You just saved a whole lot of time for me.

  • @AshwineePandey94
    @AshwineePandey94 6 лет назад +3

    I have been struggling to resolve this.
    You have made my day.
    Thanks a bunch!

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

    Your explanations are very helpful. The best tutorial about install Python (anaconda), so far, and with clear information. Thank you for sharing.

  • @cris.cooper
    @cris.cooper 5 лет назад +27

    dude, do you have a more recent tutorial for this? I'm having issues with the conda environment activation using python 3.7.3 with win10, thanks!

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

      You found solution or not yet? cuz i have the same issues :(

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

      same here :(

    • @MichaelGalarnyk
      @MichaelGalarnyk  4 года назад +3

      See the updated version: medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d

  • @TheDozman
    @TheDozman 5 лет назад +3

    Also needed to add:
    SET PATH "%PATH%; C:\Users\\Anaconda3\Library\bin"
    in order to get jupyter notebook to launch from command prompt

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

      thanks so much man! was wondering what was missing/why wasn't it working!

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

      thanks! it worked!

  • @huppifluppi3334
    @huppifluppi3334 3 года назад

    I cannot thank you enough for this! Great, simple video. Exactly what i needed. Thanks a lot!

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

    Finding the locations post-installation then adding them to the Path seems to have been the missing step in Windows 10 to get (mini)conda to work with Atom. Thanks, Michael!

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

    Thank you! Took me a while to get here but you answered all my questions. Thanks

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

    Thanks you for your video. Two years ago, but still relevant

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

    it was very helpful . Honestly . finally i have had installed anaconda in my computer. thank you!

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

    Running Windows 10, Python 3.7
    When I try to run Python from the command prompt, I get a warning “Tbis python interpreter is in a Conda environment, but the environment has not been activated. Libraries may fail to load.”
    I’ve tried visiting the anaconda site for activation help but get syntax errors when using the activation commands.

  • @dr.palmer
    @dr.palmer 5 лет назад +2

    If anyone is getting a DLL error when loading their jupyter notebook from cmd, you need to add another path: \Library\bin

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

    hi
    when i used the command prompt and typed in python ,why does it say python is not activated in the conda enviroment
    and i already followed your steps
    please help

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

    You. Are. Amazing! I cannot thank you enough for this.

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

    I initially had the problem of not being able to get the location of "python" after typing in "where python" in the Anaconda Prompt (AP). Whenever I opened AP, the first thing that would appear was "'G's' is not recognized as an internal or external command, operable program or batch file." So I decided to change my account username because it had the characters G's in it and then it worked. I don't know if that was the real problem (or maybe it was the Windows Updates that helped when I restarted my PC) but nonetheless, I hope this helps someone because I went through alot just to get it to work accordingly. All the best..

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

    Here is my solution to making juipyter notebok recognized by regular command prompt.
    add \Anaconda3\Library\bin as well to environment variables
    I first tried your method and still could not open jupyter notebook with regular command prompt, so i compare the difference between running where conda with anaconda prompt and regular prompt. Running with anaconda prompt actually output 3 paths, so I tried adding the other two, one at a time, to environment variable and turns out that adding Anaconda3\Library\bin worked.

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

    Hi, after typing the "SETX PATH", I got the specified syntax was saved. I reopened the CMD and still get the error message about Jupyter not recognize and conda too. Plz what can I do?

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

    can you please help to fix this error "Failed to create Menu" its while installing process

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

    Thank you, buddy! It is really helpful, very informative video!

  • @lukasschneider6329
    @lukasschneider6329 5 лет назад +4

    When I type "jupyter notebook" in CMD it gives me "ImportError: DLL load failed: The specified module could not be found." When I type "jupyter-notebook" in PowerShell it works, but not in CMD.

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

      see the updated tutorial please: medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d

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

    Thank you so much for sharing this video. It is very helpful!

  • @nishu13bnd
    @nishu13bnd 3 года назад

    I am using Anaconda 3 and each time when I try to install libraries I get a message to upgrade my conda from 20.0.1 to 21.0.1 through pip via python.exe but it seems condas are not activated any idea how to activate condas through cmd

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

    'conda' is not recognized as an internal or external command,
    operable program or batch file.
    how to resolve it.

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

    Thanks a lot for this video.. saved my day..!

  • @Michael-du4eb
    @Michael-du4eb 5 лет назад

    thank you bro for the method to add python to env path, worked well

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

    Awesome. very easy instructions. Thanks

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

    When i reset cmd and type python --version, nothing happens (?)
    What should i do ?!

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

    Thank you! As a noob I have been struggling to set paths I had tried everything. I got tired of changing directories to launch python

  • @zephyr9231
    @zephyr9231 7 лет назад +14

    i have the followign error "Conda command is not recognised" for anaconda command prompt

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

      i am having the same error

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

      Me also

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

      @@lolface6940 use internet

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

      I had the same problem. You need to make sure your in the Anaconda3 file. If it's installed in the default location you can just use 'cd Anaconda3' to get to the right file. If not you'll need to google how to navigate files in command prompt.

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

      I have updated the tutorial here: medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d

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

    please help me whenever i tried to install it,shows failed to create menus....

  • @wuchi-ju3353
    @wuchi-ju3353 6 лет назад

    i have a BIG problem... I have installed the anaconda several times, and each time after the installation I still couldnt use the conda command. either it says conda command not registered in the system, or INFO file could not found for given pattern

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

    I might give up on anaconda. I just cannot start a project with Django framework no matter what I do. I always get :
    import django (code analysis Django imported but unused)
    except ImportError:
    raise ImportError(
    "Couldn't import Django. Are you sure it's installed and "
    "available on your PYTHONPATH environment variable? Did you "
    "forget to activate a virtual environment?"
    I made sure I install and activate virtualenv. Python path is c:\Users\blblabla\Anaconda2 and other one for scripts and all other paths.I have Django 1.11.10 and Python 2.7.14. I tried honestly everything, but i still miss something or I am not using it properly.
    Any ideas? All help is appreciated!

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

    what happens if I already had python installed else where? Should I still install Anaconda in the default directory ?

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

    Thanks for this video..I had a problem in setting up navigator..its showing an unexpected error occurred in navigator start up
    Main error : expected str,bytes or os.pathlike object, not none type..
    Could you please suggest wat needs to be done to solve this

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

    install on a fresh copy of Windows 10, get error Could not open static file ''", followed by 404 GET. Are there any dependencies needed before installing anaconda? I ran Anaconda3-5.0.1-Windows-x86_64.exe

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

    thank you ,you save my time

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

    I appreciate the tutorials. I'm trying to figure out how to create a batch file that will run a program in Jupyter notebooks, I think this would be a great idea for a new video

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

      I appreciate the suggestion. Honestly, been super busy lately. Haven't had much time for new videos lately, but writing a lot of blog posts to be released in the next couple of months. Let me know if you figure out what you want to do. I am always learning new things myself.
      Better yet, if you figure it out, write a blog post or make a youtube video :) I promise its fun!

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

      just add the following to the text file and save i as batch file
      @Echo
      cd\
      cd C:\ProgramData\Anaconda3\Scripts
      jupyter notebook
      Exit

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

    hey if we click on add to path option while installing anaconda still can we add path like you hve told?

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

    Thank you. easiest to follow.

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

    My windows 10 OS is of 32-bit version so it asking me to install 32-bit anaconda installer for windows.. where can I get that..!!?

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

    Hi every time I download the anaconda. It is downloading pkg file then exe file. is it weird?

  • @memez4793
    @memez4793 2 года назад

    Thanks very much for this

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

    Great content....
    Installed Anaconda before but just wonder if it can be installed as zip?
    (portable like Sublime Text 3)
    Last time I used Anaconda (also Miniconda) , I found some files on my C drive (root drive)
    Wonder if they can be preset to another directory (e.g. D drive)...
    Many thanks...

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

    I downloaded the 64 bit graphical installer that was linked in your blog. However, I can't seem to find the anaconda prompt on my system. Does anyone know how to fix this?

  • @manishkumar-vs4fe
    @manishkumar-vs4fe 5 лет назад

    Hello sir, i have a question that how to install numpy, pandas, tensorflow, keras in anaconda .
    My version is anaconda python 3. 7. 3 ,,,, please help me

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

    Thanks for the video, it was really helpful

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

    Thank you so much! it works here.

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

    I had trouble adding the path in windows 10 on a laptop, only setx did the job, it didn't work adding the path manually in the dialog box on environmental variables

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

    sir, while installing anaconda for my 64bit windows8 machine in shows installation error.please, help me out?

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

    i have already downloaded anaconda but now i m facing problem to install it. can u plz guide me with the installation process?

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

    Thank you very much I have got solution with this video

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

    When is type where conda i also get another location. That end up at a .bat file. what is that?

  • @jayjayf9699
    @jayjayf9699 3 года назад

    how come you dont give a name to the path?

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

    Thanks mate, got me out of a pickle!

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

    Thank you very very much , u saved me hurs

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

    WELL EXPLAINED!!!!

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

    mine didnt download nearly any of the other packages there isnt anacona navigator or jupyter or anything usefull

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

    Thanks, that helped a lot!!!

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

    it did not install and gave an error menu not created.

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

    Hi Micheal. Why do I receive this in my command prompt? How can I activate the anaconda?
    Warning:
    This Python interpreter is in a conda environment, but the environment has
    not been activated. Libraries may fail to load. To activate this environment
    please see conda.io/activation.
    Waitiing for your help. Thanks

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

    Thank you for the details cheeerzzz

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

    I am always getting error of activate command. Could you please help me?

  • @cherryabhiram9378
    @cherryabhiram9378 3 года назад

    How to remove the scripts path

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

    Great video Michael. Unfortunately, everytime I try to run/save a file in Spyder, it stops working. I don't get an error code. It seems other people have had this problem after a quick search, but everyone is at a loss on how to fix it short of disabiling firewalls. Have you had any problems with this?

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

      Can you send me a screenshot of it not working ? I am more than willing to help. my email is mgalarny@gmail.com

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

      The only reason why I am asking for a screenshot is spyder can have multiple potential issues. It will help me narrow down yours.

    • @r.oliveira8347
      @r.oliveira8347 6 лет назад

      Hey Donald, and also Michael, so i think i'm having the same problem in spyder (it tries to connect to a kernel but never do), and maybe also in other applications from Anaconda, could one of you please help me?
      Have you found any fixing?

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

    Darn good video. Thanks.

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

    Thanks man....It is helpful

  • @SA-oj3bo
    @SA-oj3bo 5 лет назад

    Hi your guide seems not to work with Anaconda3. Can you advise please? Thx.
    (base) C:\Users\test>where python
    C:\py_anaconda\Anaconda3\python.exe
    (base) C:\Users\test>where conda
    C:\py_anaconda\Anaconda3\Library\bin\conda.bat
    C:\py_anaconda\Anaconda3\Scripts\conda.exe

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

      i too got the same how to manage

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

    When I tried python --version on command prompt after successfully doing all the other steps it shows python is not recognized as an internal or external command, operable program or batch file.
    Could you please tell me what could be the issue?
    Thanks!

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

      I have this error as well. Has anyone been able to resolve? Thanks!

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

    Tome su like buen hombre!!

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

    Python.exe error, cannot be referrenced at 0x0000007b , can anyone help?
    Can't open Anaconda navigator
    And some Python37.dll error
    Anaconda worked fine for 2-3 hrs, after restarting the pc I'm getting these errors

  • @benoitv.3552
    @benoitv.3552 6 лет назад

    Thanks Michael !

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

    demasiado video saludos bro

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

    C:\ProgramData\Anaconda3\Scripts\activate.bat' is not recognized as an internal or external command,operable program or batch file. (how to solve this ?)

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

      Uninstall C:\ProgramData\Anaconda3. Then restart computer, Reinstall Anaconda3.. it should works :)

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

    I got stuck at the last step..by typing jupyter notebook, it gives jupyter is not recognised.
    please help
    It's urgent.

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

      See the blog post please.

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

      see updated blog post: medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d

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

    Sir actually while updating anaconda from older to new
    It is showing environment not writable error .what is the solution for it.

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

      See the updated tutorial: medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d
      If you had this error and you want to install libraries, please open your command prompt/anaconda prompt or anaconda navigator as administrator to install your packages.

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

    Trying the jupyter notebook and this comes out:
    'jupyter' is not recognized as an internal or external command,
    operable program or batch file.
    what happen?

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

      i tried it in anaconda prompt

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

      See updated tutorial: medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d

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

    Thank you well done.

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

    I am trying to set environment variables using the setx command, such as (SETX PATH "%PATH%;C:\Users\john\Anaconda3\Scripts;C:\Users\john\Anaconda3") then i get error message as "the data being saved is truncated to 1024 characters" how to fix this error..?

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

      See this to solve the issue: ruclips.net/video/mf5u2chPBjY/видео.htmlm27s

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

    Thank you for helpful tutorial. Can I choose version 3.6? Does choosing 2.7 make sense?

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

      You can choose whatever version you like. You can install either version 2.7 or 3.6 for this tutorial.

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

      Thanks

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

    Thanks for the video

  • @JillianJarrett
    @JillianJarrett 7 лет назад +2

    so helpful!!

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

    Doesn't work, when typing 'jupyter notebook' I get:
    ImportError: DLL load failed: The specified module could not be found.

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

      I had the same issue, check out the comment below you by TheDozman. That fixed it.

    • @dr.palmer
      @dr.palmer 5 лет назад

      Try adding this path: \Library\bin. Make sure you restart the anaconda prompt and cmd before rerunning.

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

      @@dr.palmer , where to add this?

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

    Whats with the Dog in the corner? weird much?

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

    Thanks, just ..restart(!) CMD before entering the 'python --version' test was important

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

    Thanks a lot!

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

    How come when I type conda list in the Anaconda Prompt, there is an error?

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

      which error?

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

      yaa am having the same error its written that conda is not recognized as internal or external

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

    Hello Michael and thanks for this tutorial. However it still can't add anaconda and python to path even i do all in this tutorial many times. I used anaconda3

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

      I have updated the tutorial here: medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d

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

    Thanks man

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

    you are the man

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

    thanks alot

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

    Does it need admin? to do conda path?

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

      The updated version of the tutorial is recommended: medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d

  • @Ali-ho1cw
    @Ali-ho1cw 6 лет назад +2

    not able to detect "where python " please help

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

    THANK YOU

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

    when I open Anaconda prompt it says that activate.bat couldn't be found

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

      I'm having the same problem...

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

      remove the anaconda folder completely and reinstall. Fixed it for someone today. Had to remove old paths and do manually but it worked.

  • @MichaelGalarnyk
    @MichaelGalarnyk  3 года назад

    Just want to let everyone knoo that there is an online conference called Ray Summit on scalable machine learning/deep learning/reinforcement learning and Python which can you can register for free here: bit.ly/3uq5R4aThere will be speakers from Google, CMU, Microsoft, UC Berkeley, IBM, etc.

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

    thanks a ton

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

    thanks

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

    you edited that part of tutorial starting between 2:38 and ending in 2:44

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

    Thanks for your video. However, even after changing the path and seeing the success message, I still have the same error.

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

      which exact error? Also if it is path issue, you can also enter it in manually without setx
      ruclips.net/video/mf5u2chPBjY/видео.htmlm28s

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

      Thanks for your reply. The error is:
      'python' is not recognized as an internal or external command,
      operable program or batch file.
      I will try the manual fix as you have suggested. Thanks.

  • @saidacherif4269
    @saidacherif4269 3 года назад

    thaaaaaankkkkkkkkkkkkkkkkkkkkkkk you