Install Python, Numpy, Matplotlib, Scipy on Windows

  Рет қаралды 489,285

APMonitor.com

APMonitor.com

Күн бұрын

See • Install Python with Ma... for a more recent video on Python 3.6 with NumPy, SciPy, and Matplotlib. This tutorial covers how to download and install Python 3.4 on a Windows computer. Python often requires certain modules such as Numpy, Scipy, and Matplotlib for scientific computing or others such as Pygame for making games. Modules can either be installed by using a command-line tool like pip or else downloading the package from sites like SourceForge or Christoph Gohlke's unofficial Python Extensions (www.lfd.uci.edu.... To install a whl file, use 'pip install C:/path_to_whl/name.whl'. You shouldn't modify the whl file name after downloading it because pip uses the file name to identify compatibility.

Пікірлер: 444
@alexerikson925
@alexerikson925 7 жыл бұрын
This was awesome. Thanks for starting from zero. Huge help.
@grahamlogan4568
@grahamlogan4568 7 жыл бұрын
Alex Erikso
@HT-rq5pi
@HT-rq5pi 7 жыл бұрын
this video is a god send. finally someone who shows us how to do it properly instead of skipping steps, especially in getting the command window to open in the right place. (for me, the bat file method didn't work, so I just did shift+right click + open command window here on the folder "Scripts". )
@apm
@apm 7 жыл бұрын
+Walter White, thanks for sharing the alternate way to open the command prompt in the correct directory.
@zekkerriyyazekeri4005
@zekkerriyyazekeri4005 7 жыл бұрын
please could you expantiate on this method because the bat filde method is not working for me
@zekkerriyyazekeri4005
@zekkerriyyazekeri4005 7 жыл бұрын
+Walter White..thank you
@apm
@apm 7 жыл бұрын
Zekkerriyya Zekeri, hold the shift key and right-click with your mouse in the folder. Select "open command window" and you should have it.
@etiennestocker6314
@etiennestocker6314 6 жыл бұрын
Thank you so much for that tip! Made my afternoon
@emine30
@emine30 4 жыл бұрын
It was a life-saving tutorial. Thanks for that I have been trying to do this for three days, thankfully I came across your video and it worked very well. Thanks again!
@apm
@apm 4 жыл бұрын
Glad it helped!
@Sultanofszing
@Sultanofszing 6 жыл бұрын
Great vid m8. One thing you might find cool is that instead of creating .bat files, you can simply hold shift+right-click on the directory name in Windows (Downloads, Pictures etc) and click open command window here !
@apm
@apm 6 жыл бұрын
That is a great tip - thanks for sharing!
@Sheblah1
@Sheblah1 2 жыл бұрын
Worked smoothly all the way through, thank you so much!
@fhasenov
@fhasenov 7 жыл бұрын
Here 1:39 is install NumPy
@Darchyism
@Darchyism 7 жыл бұрын
Just started with python - you made my life so much easier - THANK YOU!
@successfulpeople
@successfulpeople 8 жыл бұрын
Thanks for the tutorial. I was about to download matplotlib when I saw your tutorial and it helped a lot. From your tutorial, It looks like some modules like matplotlib, etc, already come with python and all we have to do is go to the scripts to install them. I didn't download it, I went to the script and typed pip install matplotlib and it went smoothly. Thanks again for the clear tutorial
@rrc
@rrc 8 жыл бұрын
great observation! one small detail is that pip finds the correct version online, downloads, and installs (including any dependencies). It makes the installation of modules almost effortless.
@kong4902
@kong4902 7 жыл бұрын
thankyou so much, sir, I have looking for this method to install numpy for a whole night, you're so nice!
@ninja2koo
@ninja2koo 8 жыл бұрын
Thank you for the tutorial! This was extremely helpful and a huge time saver for me as I have never installed through the command prompt.
@apm
@apm 8 жыл бұрын
+ninja2koo I'm glad that it helped.
@CariagaXIII
@CariagaXIII 8 жыл бұрын
how to do do it in visual studio when i type it exactly as you did it says failed to install
@apm
@apm 8 жыл бұрын
CariagaXIII I'm not sure about Visual Studio but there seems to be some additional information here: microsoft.github.io/PTVS/
@sairamgitte8898
@sairamgitte8898 7 жыл бұрын
Im not able to download numpy. Its showing "hash doesnt match". please help.
@rrc
@rrc 7 жыл бұрын
Sai Ram Gitte, maybe try to download it again or use the pip install option. You can also try Anaconda.
@feezer3017
@feezer3017 4 жыл бұрын
That trick with the bat file will definitely come in handy. Thanks!
@PaulAlford75
@PaulAlford75 7 жыл бұрын
Awesome. Had the answer i needed in the first 2 mins. Had no idea there was a pip i could use on windows from command prompt!
@c0r37py9
@c0r37py9 4 жыл бұрын
Just Run this command: python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose You will see the magic.
@devesh1832
@devesh1832 4 жыл бұрын
Magic works!! Thank you
@yamilarriola690
@yamilarriola690 4 жыл бұрын
Thanks!
@thanhquannguyen3250
@thanhquannguyen3250 4 жыл бұрын
Thanks
@avalanche1425
@avalanche1425 4 жыл бұрын
THANKS
@copperwater8456
@copperwater8456 4 жыл бұрын
thank you
@jcast714
@jcast714 6 жыл бұрын
Thank you -- other similar videos had me lost/stuck. This one actually helped and I was able to install successfully! :) you earned yourself a new subscriber.
@apm
@apm 6 жыл бұрын
+jcast714, I'm glad the video helped!
@civilization95
@civilization95 7 жыл бұрын
I can not even believe how awesome this tutorial is..
@leor7795
@leor7795 7 жыл бұрын
Thank you! You are awesome. I cannot believe that I finally could install those programs.
@rivubhattacharya
@rivubhattacharya 7 жыл бұрын
Thanks sir! This video was a huge help to the newcomers into python like me. I just could not install the 'Scipy' package through the scipy.exe from the website. But I used the .zip file given in the website. Again thanks for this beautiful illustrative video for us newcomers!
@rrc
@rrc 7 жыл бұрын
Rivu Bhattacharya, thanks for the tip on using the zip file.
@rivubhattacharya
@rivubhattacharya 7 жыл бұрын
yah, I actually tried to let other people know the other way to download scipy if they fail following the shown way. And thanks again!
@kerenkrichely5875
@kerenkrichely5875 7 жыл бұрын
diana roma
@jasonvalverde9266
@jasonvalverde9266 7 жыл бұрын
Cuando quiero instalar el Scipy como esta en el video, me sale que python 3.4 no está instalado, no lo reconoce. Alguna sugerencia?
@rrc
@rrc 7 жыл бұрын
It appears that the Scipy version on SourceForge hasn't been updated since 2016 and the installer appears to only work up to version 3.4 of Python. You have a couple options including: (1) install Python 3.4 instead of Python 3.6, (2) use the zipped folder as Riva mentioned above and try the install with the setup.py script from sourceforge.net/projects/scipy/files/scipy/0.16.1/ (3) get the latest version of Anaconda that includes Python, Numpy, Scipy, and many other commonly used packages (4) try "pip install scipy" or (5) compile SciPy from source files (not recommended).
@gavega
@gavega 7 жыл бұрын
Thanks. I tried other recommendations and this one is the only one that answered my questions.
@sayedmorteza3755
@sayedmorteza3755 5 жыл бұрын
oh my God u'r awesome, no one couldn't help me about this problem, but just u, thanks man
@apm
@apm 5 жыл бұрын
I'm glad that the video helped.
@rsn3262
@rsn3262 4 жыл бұрын
To install scipy via pip is by simple typing "python -m pip install scipy " in the python directory.
@apm
@apm 4 жыл бұрын
Thanks - they later versions of Python have solved this problem. Here is an updated video: kzbin.info/www/bejne/mIm6nayFgr6jiKc
@electronics2hot514
@electronics2hot514 7 жыл бұрын
God bless you, really, u can;t imagine my pain going through other tutorials. Thanks
@koketsomorapedi3384
@koketsomorapedi3384 5 жыл бұрын
Thanks a lot for this video, I have just managed to install Biopython using this method after days of struggling to do so
@apm
@apm 5 жыл бұрын
I'm glad it helped.
@ForexMythBust
@ForexMythBust 7 жыл бұрын
Finally, takes 2 minutes to explain this stuff and yet there seems to be no clear documentation on this. Just a bunch of jibberish, lacking basic info. Thumbs up!
@suvetharamanan
@suvetharamanan 6 жыл бұрын
thanks ..it helped me a lot after a long struggle of installation
@vishalnayyar4069
@vishalnayyar4069 4 жыл бұрын
my folder( python34) in c drive doesnt have lib and script subfolders in it during installation. what do i do??
@apm
@apm 4 жыл бұрын
There was probably a problem with your installation. I recommend that you uninstall all of your Python versions and start with Python 3.7+. apmonitor.com/pdc/index.php/Main/InstallPython
@josephsabu9739
@josephsabu9739 4 жыл бұрын
I can't install numpy, i can't create the local.bat file.... it remains itself as a text file
@apm
@apm 4 жыл бұрын
You need to enable file extensions: kzbin.info/www/bejne/j52xapSubN52ZqM
@Fnatixful
@Fnatixful 7 жыл бұрын
I have python 3.6 :( I tried the whl file but got an error nvm I manage to do "pip install scipy-0.19.0-cp36-cp36m-win_amd64.whl"
@yedye9182
@yedye9182 5 жыл бұрын
When you make the text document and type in cmd, how do you open the pip install nump screen with the black background. I'm confused how you opened it
@apm
@apm 5 жыл бұрын
If you name the file with extension .bat and double click the file then it opens. You may need to show file extensions so it isn't local.bat.txt but is local.bat. kzbin.info/www/bejne/j52xapSubN52ZqM You can also hold SHIFT and right click to open a PowerShell window.
@kvanta3256
@kvanta3256 4 жыл бұрын
when i enter 'pip install numpy' i get: pip is not a recognized command
@apm
@apm 4 жыл бұрын
You need to add pip.exe to your PATH environment variable or else run from Python subfolder /Scripts such as C:/Python37/Scripts
@vipinsainilol
@vipinsainilol 5 жыл бұрын
Great! video...starting from scratch and anyone can learn how to download and start Python..
@carlosj3491
@carlosj3491 4 жыл бұрын
Highly recommended, it works for me.
@PO-yj8dw
@PO-yj8dw 6 жыл бұрын
Hello AP, how did you create the command prompt window after you closed the local.bat file. Your tutorial seems good, however be aware that some of your viewers are beginners and require you to do things step by step.Thanks
@apm
@apm 6 жыл бұрын
+Paa Kwesi, you should be able to open it with a double click of the mouse. If it doesn't open then you may need to change the hidden extension local.bat.txt to local.bat with instructions here: kzbin.info/www/bejne/j52xapSubN52ZqM The other option for opening the command prompt is to hold shift, right-click, and select the option to open a command window.
@Stephanus21
@Stephanus21 6 жыл бұрын
Thank you for this. It was so easy with this video.Could not install mine before but now it is fine.Keep up the good work.
@apm
@apm 6 жыл бұрын
Here are updated instructions if you'd like to install the latest Python: apmonitor.com/pdc/index.php/Main/Install I'm glad it helped.
@profarvind
@profarvind 6 жыл бұрын
Thanks. The video was informative. After following it I was able to successfully install scipy and numpy.
@antoniovelazquez9869
@antoniovelazquez9869 7 жыл бұрын
One question: I understand that Anaconda is a python distribution, but does that mean that it installs "another" python which will work in parallel with the current one I have on my PC? And that the packages installed with Anaconda will only be available in this "parallel" python and not in my current python?? This tutorial worked for me to install each package manually, but I wonder about the Anaconda option. Thanks!
@shreyaudupa9229
@shreyaudupa9229 7 жыл бұрын
I am trying to install a module using pip, but keep getting this error. "Command "python setup.py egg_info" failed with error code 1 in C:\Users\" .... Do you know what issue I might be running into?
@apm
@apm 7 жыл бұрын
+Shreya Udupa, it could be that the pip version of the package is not compatible with your version of Python. What is the package? Sometimes you need to get the installer for that package if pip doesn't work. You could also try to revert to a minor release earlier (such as Python 3.4) to maximize the chances that the package is supported.
@shishirpali4964
@shishirpali4964 6 жыл бұрын
A must watch videos for budding python user, the video is really a great help for me.Can i ask you for some more help ? 1. I am using spyder for coding but as i saw in your video there was auto syntax help popping out(sorry didn't know the technical name for that) when print function was used. How to do that ? 2.I was using sypder (with python 2.7 version), recently I have installed python 3.7 but is still displaying sypder 2.7 version? This ques. may sound stupid to you but i have just started using python
@apm
@apm 6 жыл бұрын
Auto-complete is in many of the Python IDEs (Integrated Development Environment). There is additional information on installing the latest Python versions from apmonitor.com/che263/index.php/Main/PythonIntroduction You may also want to use PyCharm that is popular in academia because it is free for students. I also like to use Notepad++ at times for editing Python scripts. There is information on Auto-Complete here: stackoverflow.com/questions/893761/how-can-i-enable-auto-complete-support-in-notepad
@AiswaryaM739
@AiswaryaM739 5 жыл бұрын
I have python 3.7.2, scipy 3.4 doesn't work for me!!!!
@apm
@apm 5 жыл бұрын
pip install scipy or pip3 install scipy These should work in the latest release. See more instructions on Scipy installation at apmonitor.com/pdc/index.php/Main/InstallPython (Video #2).
@anshumanshinde6535
@anshumanshinde6535 7 жыл бұрын
I am following the video step by step . While downloading Scipy it gave an error on cmd as you showed. Then i downloaded it the same version 3.4 from the website you have shown. But it says cannot find python 3.4 in registery. What can I do?
@apm
@apm 7 жыл бұрын
+anshuman shinde, you may have Python 3.5+ installed. There is another comment on this video that points you to a website that has updated whl files for Python 3.5+ or else uninstall your current version and go back to Python 3.4.
@pinakeekaushik4675
@pinakeekaushik4675 7 жыл бұрын
this was really really helpful for beginners
@dougfeagin7986
@dougfeagin7986 7 жыл бұрын
I keep getting a fatal error because it doesn't trike the "" in the path given (at 11:39) in the video. How do I get round the problem?
@apm
@apm 7 жыл бұрын
+Doug Feagin, you can remove the """ section at the top. The 3 double quotes section is a block comment. The print statement can use either single or double quotes.
@mariusbotezatu6365
@mariusbotezatu6365 5 жыл бұрын
in spyder, I think you have to use double quotes
@trikimohamed626
@trikimohamed626 7 жыл бұрын
you realllllllly reallllllyyyyy helped me so much thank you
@davidcain3752
@davidcain3752 7 жыл бұрын
I have a problem, when I put this in i get C:\Program Files (x86)\Python\Scripts>pip install numpy Fatal error in launcher: Unable to create process using '"' I'm not sure what to do?
@apm
@apm 7 жыл бұрын
You should start your command prompt with administrative privileges. Also, make sure that you have pip.exe in that folder. Here is a more recent install video for Python 3.6: kzbin.info/www/bejne/gKaZq6puaLWigdE
@zahidaziz4321
@zahidaziz4321 5 жыл бұрын
I have created new file with .bat extension.but it doesnt show me any command prompt window opened..can you help me please
@apm
@apm 5 жыл бұрын
You probably need to enable showing the file extensions. Here is some help: kzbin.info/www/bejne/j52xapSubN52ZqM
@markrogers5142
@markrogers5142 6 жыл бұрын
Many many thanks for this. Huge help.
@ocskon
@ocskon 6 жыл бұрын
What can I do when it says that python 3.4 wasnt found in the registery but I installed it as shown in the video and I followed the steps that you did in the video?
@apm
@apm 6 жыл бұрын
I recommend that you uninstall your prior versions and start with Python 3.7. Here are instructions: apmonitor.com/pdc/index.php/Main/InstallPython (see video #2).
@vijayalakshmi6028
@vijayalakshmi6028 8 жыл бұрын
It's not working, i saved the text file as local.bat and selected the option edit and typed cmd. No command prompt window opened
@apm
@apm 8 жыл бұрын
+vijaya lakshmi you need to double click on the local.bat file after you create it. Alternatively, you can get a command prompt by running "cmd" in Windows. You'll just need to cd into the correct directory.
@navneebabar4872
@navneebabar4872 7 жыл бұрын
Thank you so much..installed without getting any error.
@seyedomidshirdelan8609
@seyedomidshirdelan8609 8 жыл бұрын
Thanks again for teaching scipy installation in new way ,!!!
@utkuaktas3840
@utkuaktas3840 5 жыл бұрын
I have some trouble to add . That libraries isn't work on win x64 bit ? Am I have to turn my wind. win x32 bit ?
@apm
@apm 5 жыл бұрын
You can't mix 32 and 64 bit installations. Here are updated instructions for Python 3.7: apmonitor.com/pdc/index.php/Main/InstallPython It is much easier now.
@aliffredhwan3756
@aliffredhwan3756 5 жыл бұрын
im stuck at 1:50, creating new command prompt. can anyone help me?
@apm
@apm 5 жыл бұрын
One way to get a command prompt in Windows is to hold "Shift" and then Right-click in the folder. Select "Open PowerShell window here". Another way is to run the command "cmd" from the launcher to get a DOS command prompt. You'll then need to change directory with "cd" into the appropriate folder.
@supremeoghenewoakpo8575
@supremeoghenewoakpo8575 6 жыл бұрын
Hello, can i install numpy in my IDLE? I'm trying to import numpy in my IDLE but it returns an error message. But i can import it if i'm using the command prompt window. Kindly help please
@apm
@apm 6 жыл бұрын
You can import numpy by first installing it: python pip install numpy. Next, you can import it into your script with: import numpy as np See the course at apmonitor.com/che263
@mridulagoel6374
@mridulagoel6374 7 жыл бұрын
thanks a lot , i have been trying for past 2 days. I am finally saved !
@quangle1036
@quangle1036 7 жыл бұрын
I have an error "Python 3.4 required, which was not found in the registry" . Can you help me? :(
@apm
@apm 7 жыл бұрын
+Quang Le, you need to install Python 3.4 (not the latest 3.6) because the SciPy package isn't updated for higher versions. Check out www.lfd.uci.edu/~gohlke/pythonlibs/#numpy for some more updated versions.
@matthewjames7513
@matthewjames7513 7 жыл бұрын
Hi there, I'm trying to install Scipy but pip doesn't work and source forge doesn't offer scipy for Python version 3.5. Can you please advise? Thanks :)
@apm
@apm 7 жыл бұрын
Here are a few things to try: (1) download the source files and try to build it yourself. You'll need the required C / Fortran compilers and also many of the library dependencies. (2) install the Anaconda version (many popular packages included in the distribution) instead of from python.org. This will also give you the Jupyter notebook as well as Spyder (nice IDE/debugger). Visit www.continuum.io/downloads (3) if you do need IDLE then just go back to Python 3.4. The latest version is scipy-0.16.1-win32-superpack-python3.4.exe (as of 2/20/2017). (4) if you ever see an access denied statement, start Python with administrative privileges (Windows) or sudo (Linux). Try the pip install again but use the following two lines inside a Python session: import pip pip.main(['install','scipy']) This isn't your problem but this is a good strategy if you have multiple versions of Python installed or it is blocking you from writing to a certain directory. Additional instructions are here: apmonitor.com/che263/index.php/Main/PythonIntroduction
@matthewjames7513
@matthewjames7513 7 жыл бұрын
APMonitor.com wow thank you! I'll choose one of these methods and give it a shot :)
@shritamkumarmund5273
@shritamkumarmund5273 6 жыл бұрын
Got an error failed with error code 1 in C:\Users\SHRITA~1\AppData\Local\Temp\pip-install-agf5zze2 umpy\ How to fix it?
@Axl_Ericsson
@Axl_Ericsson 6 жыл бұрын
My only problem is that I have Python 3.6 and cannot find a Scipy corresponding to that version
@apm
@apm 6 жыл бұрын
+Axl Ericsson, There is a is a link in the video to a new video that shows how to install Python 3.6 SciPy. It is also posted here with other tutorials about Python. apmonitor.com/che263/index.php/Main/PythonIntroduction (see option #1).
@JP-vg8vl
@JP-vg8vl 5 жыл бұрын
thanks for not having a heavy accent. you really help me alot. imma subscribe to you now
@SkrixlerAnon
@SkrixlerAnon 7 жыл бұрын
I have a problem. My problem is at 4:43 because it show me that python isn't in the registry . Actually i installed the python version 2.7.9 from python.org and i downloaded scipy from the sourceforge website and the right version. What should i do?
@SkrixlerAnon
@SkrixlerAnon 7 жыл бұрын
problem solved. :D I uninstalled the 64bit version and installed the 32bit version and then it works :D
@apm
@apm 7 жыл бұрын
+SkrixlerAnon, if you have another version of Python installed, it can sometimes get confused. Also, make sure you are consistent on 32-bit and 64-bit versions. You may want to use Canopy or Anaconda distributions if you are having troubles.
@yc5042
@yc5042 7 жыл бұрын
Where should I save the downloaded "numpy-1.12.0b1+mkl-cp36-cp36m-win_amd64.whl" before I run "pip install numpy"?
@apm
@apm 7 жыл бұрын
The "pip install numpy" should retrieve the source files automatically and install them. If you need to install from a whl file you can navigate to the directory where the whl is located and install with "pip install mywhlfile.whl".
@salahoum9036
@salahoum9036 5 жыл бұрын
'install' n’est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.
@apm
@apm 5 жыл бұрын
Please follow the instructions available at apmonitor.com/pdc/index.php/Main/InstallPython to install Python. It appears that pip is not in your PATH.
@amrraouf3525
@amrraouf3525 5 жыл бұрын
i tried but still can't install numpy , it gives me error.is there any other way to install numpy .?
@apm
@apm 5 жыл бұрын
Please see the new instructions for Python 3.7 at apmonitor.com/che263/index.php/Main/PythonIntroduction (see Option #1).
@Addicted2Gossip
@Addicted2Gossip 7 жыл бұрын
Hi! I'm having a lot of problems creating the bat file... even when i write cmd in the document it still saves it as text and not as a batch file... what can i do?
@Addicted2Gossip
@Addicted2Gossip 7 жыл бұрын
ps i'm using windows 10
@apm
@apm 7 жыл бұрын
+Nicole Priddey, you need to go into folder options and deselect the option for "hide extensions for known file types". You can also just run "cmd" and that will give you a command window. You'll need to "cd" into the correct directory. The local.bat file just gives you a command window that is already in the directory that you want.
@nurshah816
@nurshah816 7 жыл бұрын
why did i get error python 3.4 required when i try to install scipy the way you showed, even i tried with admin rights
@apm
@apm 7 жыл бұрын
See Christoph Gohlke's unofficial Python Extensions (www.lfd.uci.edu/~gohlke/pythonlibs/#numpy) for NumPy or SciPy. To install a whl file, use 'pip install C:/path_to_whl/name.whl'. You shouldn't modify the whl file name after downloading it because pip uses the file name to identify compatibility.
@michaeldu3608
@michaeldu3608 4 жыл бұрын
Thank you so much. Thanks to you, I installed everything properly. *;D*
@apm
@apm 4 жыл бұрын
Glad I could help!
@michaelogunbunmi8559
@michaelogunbunmi8559 8 жыл бұрын
Many thanks for the instructive installation tutorial. But please how did you proceed to create the new command line after editing the local.bat file?
@apm
@apm 8 жыл бұрын
+Michael Ogunbunmi create the local.bat file with content: cmd Then you can double click the local.bat file to create a new command line DOS terminal in that directory.
@michaelogunbunmi8559
@michaelogunbunmi8559 8 жыл бұрын
OK. Many thanks for your prompt response
@chugodevil
@chugodevil 8 жыл бұрын
So many thanks!!! I only need just this information!
@shashankc548
@shashankc548 6 жыл бұрын
Awesome video sir, thank you!
@PatoroZo
@PatoroZo 7 жыл бұрын
thanks very much ... the written tutorials never mentioned pip install :$
@vidhinadar09
@vidhinadar09 5 жыл бұрын
It was really very helpful. Thanks a lot!!
@scomeron
@scomeron 8 жыл бұрын
did not work ImportError: DLL load failed: %1 is not a valid Win32 application. >>>
@apm
@apm 8 жыл бұрын
+scomeron What module did you try to import? Could you include the code?
@bixstar1469
@bixstar1469 7 жыл бұрын
dude i wish i found this video months ago i could be so ahead right now
@interestingengineeringbd9641
@interestingengineeringbd9641 4 жыл бұрын
if i choose 3.7 version ,the procedure will be same?
@apm
@apm 4 жыл бұрын
It is similar but much easier for 3.7+ apmonitor.com/pdc/index.php/Main/InstallPython
@interestingengineeringbd9641
@interestingengineeringbd9641 4 жыл бұрын
@@apm tnx dear!
@kevinshah1319
@kevinshah1319 8 жыл бұрын
Hey, I want to import excel file to the python, for that i have used command openpyxl but error is coming that "no module found" even though I have installed Anaconda what should I do?
@apm
@apm 8 жыл бұрын
For Anaconda, you'll want to use the conda package manager (see conda.pydata.org/docs/using/pkgs.html). You can also import Excel data with Numpy or Pandas if you can't get openpyxl to work (see apmonitor.com/che263/index.php/Main/PythonDataAnalysis).
@raphaelyu7486
@raphaelyu7486 8 жыл бұрын
my python 3.4.3 is not installed in C disk. after download the scipy.exe package from website, double click it, then an error window pop up and shows that "python 3.4 is required, which is not found in registry". How can I solve this problem and install scipy?
@rrc
@rrc 8 жыл бұрын
There is also the option to download the source files for Scipy as a zipped or gz archive. I'd recommend downloading the source files and running setup.py. This typically takes care of none-traditional installations. Some modules can be installed by just copying the source file folder into the Python34 Lib folder. You may also want to check out the Anaconda distribution at continuum.io - it contains most of the common packages and conda can be used to get add-on modules.
@raphaelyu7486
@raphaelyu7486 8 жыл бұрын
although I install scipy package successfully via pip install command with scipy whl file in command line. thanks for your reply anyway.
@splababy
@splababy 7 жыл бұрын
Hi Raphael, I faced the same problem as you. May I know how do you install scipy using command line?
@erichughes3987
@erichughes3987 6 жыл бұрын
When I type in the command to install numpy, it says "Fatal error in launcher: Unable to create process using '""D:\Program Files\Python\python.exe"" "D:\Program Files\Python\Scripts\pip.exe" install numpy'"
@apm
@apm 6 жыл бұрын
+Eric Hughes, it is because of spaces in your install path folders. Try stackoverflow.com/questions/24627525/fatal-error-in-launcher-unable-to-create-process-using-c-program-files-x86
@erichughes3987
@erichughes3987 6 жыл бұрын
APMonitor.com thank you for your response, I figured it out and got it working but it turns out I already had it installed. Oh well
@scottdavis4439
@scottdavis4439 7 жыл бұрын
Dude, you're awwwwesome!!!! Thanks so much bro!!
@TheClever1983
@TheClever1983 7 жыл бұрын
Hi, when i right click to create .BAT file to open python into command to install numpy, My text file doesn't change the way it does in your video. What am i doing wrong? Please help thanks.
@apm
@apm 7 жыл бұрын
Make sure you show file extensions as a Windows option. It is probably saving the file as local.bat.txt until you display known file type extensions. Here is a 3 minute video on how to configure it in Windows: kzbin.info/www/bejne/j52xapSubN52ZqM
@TheClever1983
@TheClever1983 7 жыл бұрын
Thank You very much for your help. I was able to create Local.bat file as per your other video. Now I'm getting following error. Can you please help? see Below. C:\Python35\Scripts>cmd Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\Python35\Scripts>pip install numpy Fatal error in launcher: Unable to create process using '"'
@apm
@apm 7 жыл бұрын
Maybe try to upgrade your pip first with: python -m pip install --upgrade pip or try to install as: python -m pip install numpy There is some additional help here: stackoverflow.com/questions/37220055/pip-fatal-error-in-launcher-unable-to-create-process-using
@joelarchbold483
@joelarchbold483 7 жыл бұрын
Hi men, thanks for the video. I have the problem that when I download the package my scripts files are not .exe type, I think that has something to do when I try to install numpy or any other it says invalid syntax. Do you know why this is?
@apm
@apm 7 жыл бұрын
+Joel Archbold, it may be that you have the 'Folder Option' selected to hide extensions for known file types. I saw that you posted a comment to one of my other videos that you finally got it.
@joelarchbold483
@joelarchbold483 7 жыл бұрын
Yes, it had no impact. The main issue was I was previously using 64 bit, so most of the files had to be downloaded and placed on the correct place. So I preferred to switch to 32. Your material is very helpful to people trying to start with code, once you have the instruments it becomes easy.
@menakarajapakse8024
@menakarajapakse8024 6 жыл бұрын
Thank you so much. You are a life saver!
@EnglishWithNaeemSir
@EnglishWithNaeemSir 7 жыл бұрын
hey local.bat is not working in windows 10.
@apm
@apm 7 жыл бұрын
You may not be showing file extensions and the file could be names local.bat.txt. Please see this video to show and remove the .txt: kzbin.info/www/bejne/j52xapSubN52ZqM
@Duxaization
@Duxaization 6 жыл бұрын
You should put that as a tag when that part comes up in the video. So we don't have to come down and find an answer in the dreaded comment sections.
@MoisesRoth
@MoisesRoth 6 жыл бұрын
Just type "cmd" on the address bar. It will open prompt on the current folder.
@mrnarason
@mrnarason 6 жыл бұрын
thanks
@malikqados5712
@malikqados5712 6 жыл бұрын
thank u so much
@Dreynit
@Dreynit 7 жыл бұрын
2:05 how do you create that command window of Python? you don't explain like it's perfectly normal
@apm
@apm 7 жыл бұрын
You double-click the local.bat file that you create with contents "cmd". You may need to show file extensions for known file types (see kzbin.info/www/bejne/j52xapSubN52ZqM) in order to change the file name from local.bat.txt to local.bat. The other way to bring up the command prompt is to hold "Shift" and right click in the folder. You'll see an option to either run a command terminal or PowerShell that is already in that directory. A third way to do this is to run "cmd" from the Windows search bar and change directory with cd "C:/Python34/Scipts" or to the correct folder where pip is located.
@Dreynit
@Dreynit 7 жыл бұрын
Thanks a lot it finally works! Thank you really, your video is really great
@snehilkumar2819
@snehilkumar2819 7 жыл бұрын
when i am opening the batch file it is just opening the notepad.
@apm
@apm 7 жыл бұрын
It is probably because your file is named local.bat.txt but you don't see the txt file extension. Here is a tutorial to show the .txt extension and change it to local.bat: kzbin.info/www/bejne/j52xapSubN52ZqM
@suleimanonimisiabdullahi6714
@suleimanonimisiabdullahi6714 7 жыл бұрын
I am unable to install matplotlib using C:\Python34\Scripts>pip install matplotlib others i.e. numpy and scipy were successful. it failed with error code 1. I need your guidance please. Thank you,
@apm
@apm 7 жыл бұрын
+Suleiman Onimisi Abdullahi, please use the new instructions for Python 3.6: kzbin.info/www/bejne/gKaZq6puaLWigdE
@suleimanonimisiabdullahi6714
@suleimanonimisiabdullahi6714 7 жыл бұрын
Thanks a lot, the video guide me to successfully install the programs. I discovered, I can only open using notepad when I IDLE to run a program and save as .py file. Please there a way to correct this or it is okay. Thank you,
@apm
@apm 7 жыл бұрын
You may need to change the file extension from .txt to .py. Here is a tutorial on how to show and change the file extensions even without IDLE: kzbin.info/www/bejne/j52xapSubN52ZqM
@khalidhassani6173
@khalidhassani6173 4 жыл бұрын
thanks a lot. this was very helpful for me
@arshammostaani3114
@arshammostaani3114 7 жыл бұрын
Thank you very much, that was very helpful...
@maxandrew2037
@maxandrew2037 8 жыл бұрын
My fault is Command "python setup.py egg_info" failed with error code 1 in C:\Users.... while I installing Theano with commands: pip install Theano. Can anyone help me? Thanks!
@apm
@apm 8 жыл бұрын
+Hoàng Huỳnh you may need to update your package manager. Here is a relevant thread: stackoverflow.com/questions/11425106/python-pip-install-fails-invalid-command-egg-info
@venkatashish2219
@venkatashish2219 7 жыл бұрын
hi, i could install numpy successfully, but when i am trying scipy by the second method(from sourceforg), while installing it... it throws the error "python version 3.4, which was not found in the directory". how to solve this
@apm
@apm 7 жыл бұрын
+Venkat Ashish, you are probably trying to install a more recent version of SciPy while the SourceForge version is only compatible with 3.4. Here is a link to versions that work with more recent versions. You'll need to download and do a local install (still with pip). Warning: don't change the filename because it uses that to identify compatibility. www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
@venkatashish2219
@venkatashish2219 7 жыл бұрын
can you please tell me how to do local install, because i tried with every version of scipy... i think i am not able to properly install it.
@apm
@apm 7 жыл бұрын
You install a whl file just like you do a package. You want to put the whl file into the working directory (maybe C:\Python36\Scripts) and then run pip with: pip install scipy-version-platform.whl Just substitute the name of your whl file.
@venkatashish2219
@venkatashish2219 7 жыл бұрын
could install it, thank you so much sir to take your precious time and help me out.... thank you so much sir.
@avisparx
@avisparx 7 жыл бұрын
Thanks a lot for this video, it saved me a lot of time.
@SuperCamNewton
@SuperCamNewton 7 жыл бұрын
when I try to install scipy it says python 2.7 not found. I have the 64 bit version installed. Do I need to uninstall it and install the 32 bit version for this to work?
@apm
@apm 7 жыл бұрын
Yes, I'd recommend starting with a 32-bit version. Only 32-bit is available from Python.org currently. Here is a new video if you'd like to try Python 3.6 instead: kzbin.info/www/bejne/gKaZq6puaLWigdE
@apm
@apm 7 жыл бұрын
Another way to get the command prompt at 2:06 is to hold Shift+Right click and select "Open command window" or "Open PowerShell".
@SuperCamNewton
@SuperCamNewton 7 жыл бұрын
Thank you for your help.
@ArtVandelayInc
@ArtVandelayInc 7 жыл бұрын
Oh man! you are a lifesaver thank you so much!
@pouria1361
@pouria1361 7 жыл бұрын
i have python 3.6. what should i do? i need scipy but you installed it on your python 3.4.4.
@apm
@apm 7 жыл бұрын
+PIX PAI, you may need to compile from source or a whl file. You can pip install a whl but I haven't seen one for Windows. I'd recommend either going back to 3.4 or else use Anaconda to get the latest 3.6 version.
@pouria1361
@pouria1361 7 жыл бұрын
Thank you very much
@ThuyNguyen-bu9ge
@ThuyNguyen-bu9ge 8 жыл бұрын
I got the following error message: Import Error: No module named '_winreg'
@rrc
@rrc 8 жыл бұрын
_winreg has been renamed to winreg in Python 3.0. You can run the 2to3 tool if you're converting code that was written for Python 2.7. Remember that winreg is only for Windows and won't work if you are on Linux, Unix, MacOS.
@apoorvamittal3077
@apoorvamittal3077 7 жыл бұрын
I already have python 2.7 on my PC, so I followed the steps you mentioned but when I tried executing scipy exe file, it says registry not found. What should do?
@apm
@apm 7 жыл бұрын
+apoorva mittal, was it that it couldn't find the registry or that it couldn't find Python in the registry? If it couldn't find Python (common error), make sure that the versions match between Python and Scipy. Here are some additional tips : apmonitor.com/che263/index.php/Main/MatlabDataRegression
@apm
@apm 7 жыл бұрын
+apoorva mittal, you may also try uninstalling your current version of Python 2.7 and start with Python 3.4.
@apoorvamittal3077
@apoorvamittal3077 7 жыл бұрын
The issue was that I had python 2.7 64-bit on my PC , so I uninstalled it and downloaded 32 bit one. It worked. Thank you for the video and for the reply.
@lucaspedote2120
@lucaspedote2120 7 жыл бұрын
Hello APMonitor! thank you for you video. I'm facing the same problem as apoorva, but already tried to install 2.7 (32 and 64 bit), 3.4 (both as well), but the same registry problema came up while trying to install scipy. Is there any news flash on the topic? thanks!
@ADITYASOODBCE
@ADITYASOODBCE 6 жыл бұрын
The problem which you faced with scipy , the same i am facing while installing matplotlib
@apm
@apm 6 жыл бұрын
I recommend the updated instructions at apmonitor.com/che263/index.php/Main/PythonIntroduction (see method #1)
@ISapTout
@ISapTout 6 жыл бұрын
When i try to run the bat file i get "'cmd' is not recognised as an internal or external command, operable program or batch file" gyazo.com/0a950d98785fc1dac9ad6eba5b1be49e [EDIT] Fixed it just needed to add -> Path = %SystemRoot%\system32 before the cmd command in the batch file.
@karthiknaicker8216
@karthiknaicker8216 8 жыл бұрын
Thanks a lot for the video, it was very clear and it worked perfectly.
@rrc
@rrc 8 жыл бұрын
I'm glad that you enjoyed it.
@AryanKumar-hv8yr
@AryanKumar-hv8yr 4 жыл бұрын
thank you so much ..... it really helped a lot... :-)
@franlopez8343
@franlopez8343 7 жыл бұрын
Very helpful. Thanks a lot
How to Install Ubuntu Bash Shell on Windows 10
9:19
APMonitor.com
Рет қаралды 4,9 М.
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 11 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Install Python with Matplotlib, Numpy+MKL, and SciPy
15:47
APMonitor.com
Рет қаралды 87 М.
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 272 М.
30 Windows Commands you CAN’T live without
14:35
NetworkChuck
Рет қаралды 2,3 МЛН
👩‍💻 Python for Beginners Tutorial
1:03:21
Kevin Stratvert
Рет қаралды 3,2 МЛН
Install Python Modules
23:59
APMonitor.com
Рет қаралды 405 М.
NumPy Tutorial (2022): For Physicists, Engineers, and Mathematicians
1:32:42
Learn NUMPY in 5 minutes - BEST Python Library!
13:38
Python Programmer
Рет қаралды 850 М.
The Complete Guide to Python Virtual Environments!
15:52
teclado
Рет қаралды 349 М.
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН