You're a life saver! as a beginner, all the overwhelming articles and the different complicated manuals out there can really be intimidating. Thanks for showing how simple it can be! THANK YOU!!!
OBLIVION blank, you may have an older version of Python that didn't come with pip by default. How did you finally get it? Feel free to share some advise for others in your same situation.
i downloaded the newest version and it did not come with this so i spent hours looking for videos on how to get it and bam i seen ur vid and it helped so much
Here is newer video that shows how to install Python 3.6 with Numpy, Matplotlib, and Scipy with pip. I recommend a local install of whl files for Numpy+MKL and SciPy because the SourceForge libraries are outdated. ua-cam.com/video/Ju6zw83PoKo/v-deo.html
Thank you so much for making this video. I spent so many hours searching the web for a solution of what should be a simple process. Very nice to see the process explained step by step.
at first idk how to install or add the dateutil extension to pyhton path but then i found this video how to make it so easily. This video is helpful, im looking forward to watch more of your contents😀
Thanks this was very helpful for me. I had been on this computer trying to figure it out myself but i decided to look up a few tutorials and this one was the most helpful for me. Thanks again.
Thanks, Ralph! The more recent Scipy and Numpy distributions don't require it now but this is helpful for other packages that may still need a compiler.
+Suraj Kaushal I felt the same way about Python installation - there seem to be a lot of pieces out there but nothing that shows a start to finish installation.
At the 8:25 part of the video, I'm getting an error: C:\Users\Brian>"C:\Python35\Scripts" '"C:\Python35\Scripts"' is not recognized as an internal or external command, operable program or batch file. :( I tries with quotation marks, without, and with only the first one.
hmm, it may be because you did not run cmd as administrator. however i did not see the permission denied so i can be wrong. it did work for me the second try when i run as administrator. all and all, super great tutorial. i would not have done it if it weren't for you. much gratitude.
thanks !! your video has been really helpfull !! my 2 cents : if you get an error when installing the packages via pip run cmd as administrator and retry, it should work this time
I have a problem while i type. Csv file in pandas it shows file not found error if i set environment variable scripts path also it shows file not found error can u suggest me a answer sir df=pd. read_csv('c:/users/hp/datasets/pokemon_data.csv') df. head() it shows file not found error
I recommend that you put your pokemon_data.csv file in your current working directory. You can identify this with "import os" and "print(os.getcwd())". You may also have an extension on your CSV file that you need to change such as pokemon_data.csv.txt. This video should help: ua-cam.com/video/YlN9ax7yC0A/v-deo.html
Try it with --user if you do not have administrative priviledge: "pip install neuralprophet --user" Additional instructions are here: pypi.org/project/neuralprophet/ Search Stack Overflow for the specific error message.
If it doesn't install successfully from pip, sometimes you need to download the whl file and do a local pip install, if you can find a whl file. It looks like pypi only has the source available. You may need to get a compiler for this package: pypi.python.org/pypi/python-handler-socket There are some other web socket whl files here: www.lfd.uci.edu/~gohlke/pythonlibs/ Another package may enable your socket programming if you can't get this one to work.
I'd recommend that you check if the package has install instructions or is hosted on PyPi: pypi.org/ If it is hosted there, then you can install with "pip install package_name". Here is a package that I help maintain: pypi.org/project/gekko/ You can install it with "pip install gekko". If it is not hosted on PyPi then you may be able to clone the Github repository and run it from that folder. Check out this video on creating and running Python classes (customized libraries): ua-cam.com/video/LwOg0b0ZwCM/v-deo.html
You either need to add pip.exe to your windows PATH variable or else "cd" to the Python##/Scripts folder. You can also pip install directly from a Python script with: import pip pip.main(['install','SomePackage'])
+David Bierwert I heard that SourceForge may stop distribution of installers or else they may have just not gotten to it yet. You can still get the installers from version 1.10.2 at sourceforge.net/projects/numpy/files/NumPy/1.10.2/
+Levi Moore, thanks for the feedback. I did get a better microphone and have recorded updated install tutorials here: apmonitor.com/che263/index.php/Main/PythonIntroduction
Please change the title to "Install Python modules for Windows XX" , so that linux users do not click on the video and loose time. Thank you for your effort for windows users
Installing modules is the same in all environments with pip. Here is another video that explains package management: ua-cam.com/video/Z_Kxg-EYvxM/v-deo.html
+Maximillian Etezadi you can download it from sourceforge.net/projects/pywin32/ . If you need Windows commands to be implemented by Python (such as restart, shutdown), I prefer os.system or subprocess stackoverflow.com/questions/89228/calling-an-external-command-in-python
im trying to get lxml and requests to do some practice web scraping, it apparently downloaded through pip in the command prompt but as soon as i try importing the module, idle reads "No module named ''lxml'"
+Harry Campbell do you have multiple installations of Python? You may consider uninstalling the other versions or else update your PATH variable in your Windows environment to make sure the right one is active. Also, you can check if it installed correctly by running pip again or by running pip from your Python script with: import pip pip.main(['install','module_name']) with your module name inserted. Look for any error messages when it tries to install.
i get error message "no moduled named pip" after changeing the directory and typing in pip (i am running python 3.5.2 wich already has pip installed and i have added it to path, and yes i am using cmd in adminstrator mode or something like that..).. its been hell just to start to learn python :(
+chuy visente could you navigate to c:\Python35\Scripts\ and look for pip.exe or else pip3.exe? If you don't have them, then something went wrong with your installation. Check out my new video to install Python 3.4. You'll want 3.4 if you want packages Numpy and Scipy in Windows (they often lag one minor release). ua-cam.com/video/-llHYUMH9Dg/v-deo.html
i only have the following: easy_install, easy_install-3.5, pip, pip 3.5, pip3. but none that have .exe maybe i should downgrade to 2.7.2 so i wwont have any problems with any incapatibility with modules.
remove the numpy error with: pip install --user vpython (--user) installs all the packages with no errors. Not experience, just stumbled on the answer!
I have installed Kivy on win10-64 bit system with python and kivy version 32bit. But still whenever I import kivy.uix.label, I get the error saying that IDLE canr find a file named_clock.pyd . The same is also happening with pygame. What shpuld I do?
It sounds like you are missing a package dependency. I recommend that you start with Python 3.7 and pip install all of the dependencies. ua-cam.com/video/bXWlyOMYpRE/v-deo.html
i went to that folder through cd n tried there pip but as pip was installed in 'C' drive, so it also tried to install python libs in 'C' too, so how to install now in other drives cz my C drive is almost full
You'll need to uninstall Python and reinstall on the different drive that isn't full. You can specify the install directory if you choose the custom install option. See ua-cam.com/video/bXWlyOMYpRE/v-deo.html
For a module I had to install Microsoft Visual C++ Because it's unable to to find vcvershall.bat. I'm using the 2.7.10 also, and I couldn't seem to install pip on the new version. I think they would have everything up to date in the new version, but it's not installed by default....
The pip.exe is in the scripts folder. A command line search for "where python" should show the path. Thanks for the tip on MS C++. You may consider using the new Python 3.7. See video 2 at apmonitor.com/pdc/index.php/Main/InstallPython
id like to use pip and cmd to install pyhook but it keeps saying that it could not find a version that satisfies the requirment pyhook no matching distribution found for pyhook im still rather new to this but i would be more than thankful if anyone would be willing to help me out thanks
i have 3 pythons on my laptop and its complex to run ....python 3.6.4 and python 3.5 and python 2.7.....i cant install modules at all with python 3.5....and i cant run programs with all of them unless its one file in the exact same directorty as the python.exe....only runs ok at the IDLE editor..this is not making sense to me
I recommend that you uninstall all of the other distributions and possibly start with a fresh install. The other way to manage this is to change your PATH variable in the Windows Environment Variable manager. This lets you control the default python distribution.
not sure if you saw my question..how do you run a program ..multiple scripts at the command prompt..this means the scripts is not directly in the same doirectory as the python.exe..thank you
helo i was able to install pygame with pip install at the cmd prompt..but the game it only works in IDLE...if i try to run in the cmd line in the directory of the main.py..i get pygame module not found..how can that be..its in the site packages in my python 2.7..thanxz
Make sure you are using the right version of pip. You can find the PIP executable in your scripts folder of your python distribution. It may be saying that you don't have it installed because you installed it for a different version.
thank youu for the reply.......the script runs fine in IDLE...and i ran python plus the full path to the main.py file(cuz i dont have py thon 2 set to env variable) and when i 1st wrote to you..i just did python main.py..and it said cant find module..even though its there in site-packages and runs in IDLE..and then when i do python and the full path at the cmd line..it says somethin like cant run the .png img or somethin like that..cant recall....i hvae pip ver 9.0.1..i know i can upgrade to pip 10 but saometimes that causes errros.....not sure why i cant run it at the cmd line but can run it in IDLE....
Great video, thanks. I installed Python version 3.4. it run ok. I installed some packages through pip or the executable from a download site. Sqlalchemy for instance I get module not found but I installed it. Some web searches say you must add a path! That's rediculous. I noticed it has a path for phython34 but also the appdata. Im thinking of uninstall all Python and delete and reinstall making sure I defalt to the phython34 directory. What do I do about the current paths setup and paths I put in? Delete them all before reinstalling? Also should I ever have to set a path to anything in Python. I'm on Windows 10.
I don't typically add a PATH variable unless I want to set a default python distribution. I've updated the installation instructions for more recent python releases. Please see: apmonitor.com/pdc/index.php/Main/InstallPython
Hellow, i've got a problem when i try to install matplotlib with de command "pip install matplotlib". When I put this in the cmd, it's show me a message error, and i want to resolve it. Please, respond as soon as possible. Thank you very much.
+Shadow Guitarist I had a similar problem - does your message also say that numpy (a dependency of matplotlib) was not able to install? I'd recommend installing matplotlib by first installing numpy from sourceforge. If you scan forward in the video, you can see this issue resolved.
hey, i tried to install the modul pyOpt, but i just have the zip file without any .exe oder .msi files. i'm working with spyder and would like to know how i can integrate these functions and python files from pyOpt in my project. Is it necessary to install pyOpt and when it is how is it possible to do this without these superpack/exe files ? (like i mentioned i just have the zip-compressed files) Can you help me with this. Thank you in advance
You can sometimes just copy the package into the correct Python directory. I'm not sure what it is for Anaconda / Spyder but for Python.org it is C:\Python34\Lib\ Here are some instructions for pyOpt: www.pyopt.org/install.html I have a similar optimization package called APMonitor that you can install with "pip install APMonitor".
You may have multiple installations of Python on your computer. Make sure you look in the correct folder such as c:\Python27 (for 2.7) or c:\Python35 (for 3.5). You can also search for pip.exe or pip3.exe. If none of this works, I'd suggest that you install Anaconda that includes most of the basic packages. You can use the conda package manager for that distribution to add additional modules.
while installing packages im getting below error.. plz hlp me sir... "C:\Python27\Scripts>pip install numpy Collecting numpy Could not fetch URL pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) - skipping Could not find a version that satisfies the requirement numpy (from versions: ) No matching distribution found for numpy "
+prashanth barmavath, it looks like the Python version you have installed doesn't have an associated numpy on python.org. Did you install the latest for Python 2.7? I think the most recent version is Python 2.7.13. You can also get the right version as an executable installer or do a local file pip install with the right whl file.
+esraa m.abbas, you can try to pip install it. Here are some instructions: stackoverflow.com/questions/25865270/how-to-install-python-mysqldb-module-using-pip
Are you using Python 2.7? It is named Tkinter in Python 2 and then it switched to tkinter with a lower case "t" for Python 3. If you don't have tkinter installed then try a pip install. Sometimes the package doesn't install to the right place if you have multiple Python versions installed.
It appears that you need to do a local install of the whl file. Here are some instructions: www.google.com/amp/s/amp.reddit.com/r/learnpython/comments/701j5c/installing_python_modules_pyhook/
+Photoshop Key, thanks for including the current default path, especially AppData is a hidden folder and can be hard to find. The default path was formerly C:\Python27\ but it was changed to the one that you wrote. When I install, I still like to put the path in an easier place than the one hidden in AppData.
I found my pip in the scripts section of Python35 in file manager on windows. Using the cd "filepath seen in the video, I then copy and pasted the filepath and pressed enter. ONLY after doing this would it allow me to run "pip3.5 install" and it worked. Whatever source you are learning from may be using an older version or an outdated module, so look in pypi.python.org for the most recent version. You may have to play around with the module name a bit.
Great comment! You'll also find pip.exe and pip3.exe in the /Python35/Scrpts/ folder. Additional tutorials on pip package management are available at apmonitor.com/che263/index.php/Main/PythonIntroduction
Hello Sir, can u help me, i am new user of ACMinitor for optimization. I have download matlab file but it is not working. it is display this error: Error using urlread The value of 'url' is invalid. Expected input to be one of these types: char Instead its type was java.net.URL. Error in urlreadwrite>parseInputs (line 144) p.parse(args{:}) Error in urlreadwrite (line 15) inputs = parseInputs(fcn,varargin); Error in urlread (line 36) [s,status] = urlreadwrite(mfilename,catchErrors,url,varargin{:}); Error in urlread_apm (line 51) output = urlread(url); Error in apm (line 31) response = urlread_apm(url); Error in minlp (line 10) apm(server,app,'clear all');
Could you try to run the following code as a test? This will install the APMonitor package and solve a linear programming test problem. ##################### # Import APM Python library try: from APMonitor import * except: # Automatically install APMonitor import pip pip.main(['install','APMonitor']) from APMonitor import * # Select the server server = 'byu.apmonitor.com' # Give the application a name app = 'production' # Clear any previous applications by that name apm(server,app,'clear all') # Write the model file fid = open('softdrink.apm','w') fid.write('Variables ') fid.write(' x1 > 0 , < 5 ! Product 1 ') fid.write(' x2 > 0 , < 4 ! Product 2 ') fid.write(' profit ') fid.write(' ') fid.write('Equations ') fid.write(' ! profit function ') fid.write(' maximize profit ') fid.write(' profit = 100 * x1 + 125 * x2 ') fid.write(' 3 * x1 + 6 * x2
Some knowledgeable people don't realize just how much hand-holding many of the rest of us require. Thanks for getting me across the street.
a tip: watch series on Flixzone. Been using them for watching lots of of movies these days.
@Jax Alec yea, I've been using flixzone} for since november myself :D
@Jax Alec Definitely, I have been using flixzone} for since december myself :D
@Jax Alec Yea, I've been using flixzone} for since december myself :)
You're a life saver! as a beginner, all the overwhelming articles and the different complicated manuals out there can really be intimidating. Thanks for showing how simple it can be! THANK YOU!!!
Glad it helped!
did any one else spend hours trying to figure out how to install pip
OBLIVION blank, you may have an older version of Python that didn't come with pip by default. How did you finally get it? Feel free to share some advise for others in your same situation.
i downloaded the newest version and it did not come with this so i spent hours looking for videos on how to get it and bam i seen ur vid and it helped so much
if by "hours" you mean "days", then yes
Fucking pip, so esoteric.
Here is newer video that shows how to install Python 3.6 with Numpy, Matplotlib, and Scipy with pip. I recommend a local install of whl files for Numpy+MKL and SciPy because the SourceForge libraries are outdated. ua-cam.com/video/Ju6zw83PoKo/v-deo.html
Skip to 07:43 if you came here for what's actually in the video title :)
Thank you so much, this video is detailed enough for someone without any programming experience to understand.
Thank you so much for making this video. I spent so many hours searching the web for a solution of what should be a simple process. Very nice to see the process explained step by step.
at first idk how to install or add the dateutil extension to pyhton path but then i found this video how to make it so easily. This video is helpful, im looking forward to watch more of your contents😀
Comprehensive guide, thank you. You've saved many people many hours. Keep up the good work.
Thanks, Mohammed!
Excellent tutorial, made an intimidating process extraordinarily easy. Thanks for your efforts!
Thanks for your feedback. I'm glad that you found it helpful.
Thank you very much, I've been struggling to correctly install all those modules. But now it was all simple !
Thank you so much for your great guidance! Your step by step guidance clear a lot of the installation problems I encountered.
Thanks this was very helpful for me. I had been on this computer trying to figure it out myself but i decided to look up a few tutorials and this one was the most helpful for me. Thanks again.
The world needs more people like you
Thanks!
Thank you so much, now I finally have numpy properly installed! :D
+Spikeangel169 I'm glad it worked out for you.
I'm a beginner sir, it's very very very useful.. Tq soo much
wow! amazing video, can't believe I lost all my morning trying to install numpy, thank you so much!
Same thing here bro/sis.
THANK YOU! This video saved me from destroying my computer. I thank you sir for you'r fine work!
I'm glad to hear that my video saved your computer. Happy programming!
The error at 9:43 can be resolved by installing Visual Studio. The build required cl.exe version 9+, Microsoft's C/C++ compiler to complete.
Thanks, Ralph! The more recent Scipy and Numpy distributions don't require it now but this is helpful for other packages that may still need a compiler.
Excellent tutorial - you made it seem very simple-thanks for that!!
Thanks a lot...I was wandering here & there on the net then I found your video. Great Help !!!
+Suraj Kaushal I felt the same way about Python installation - there seem to be a lot of pieces out there but nothing that shows a start to finish installation.
Thank you so much. Finally found a solution after 2 hour search!!!
Here is updated information for python 3.7 apmonitor.com/pdc/index.php/Main/InstallPython
At the 8:25 part of the video, I'm getting an error:
C:\Users\Brian>"C:\Python35\Scripts"
'"C:\Python35\Scripts"' is not recognized as an internal or external command,
operable program or batch file.
:(
I tries with quotation marks, without, and with only the first one.
Wait I got it to work. I didn't know that I needed to type cd and a space first! Also I tried several other things, so they may have contributed too.
15:39 His machine is going super saiyan!!
hmm, it may be because you did not run cmd as administrator. however i did not see the permission denied so i can be wrong. it did work for me the second try when i run as administrator.
all and all, super great tutorial. i would not have done it if it weren't for you.
much gratitude.
Thanks, I'll try the administrator option next install.
so how do i find the library i (description of the functions) of the package i just installed?
It is in your Python install directory in folder Lib...site-packages...module-name
took me 3 hours to find your video which has indeed been of help compared to those other trash
Here are updated tutorials: apmonitor.com/pdc/index.php/Main/InstallPython Thanks for the positive comment!
Thank you, finally found this video, so helpful
thanks !! your video has been really helpfull !! my 2 cents : if you get an error when installing the packages via pip run cmd as administrator and retry, it should work this time
Thanks for the suggestion!
Finally...I found the answer to my question...Thanks!...
I have a problem while i type. Csv file in pandas it shows file not found error if i set environment variable scripts path also it shows file not found error can u suggest me a answer sir df=pd. read_csv('c:/users/hp/datasets/pokemon_data.csv') df. head() it shows file not found error
I recommend that you put your pokemon_data.csv file in your current working directory. You can identify this with "import os" and "print(os.getcwd())". You may also have an extension on your CSV file that you need to change such as pokemon_data.csv.txt. This video should help: ua-cam.com/video/YlN9ax7yC0A/v-deo.html
@@apm thank u sir for ur reply
Hi can i know how to install neuralprophet? When I try to install, it keep appear error on my cmd. Thanks for this video!
Try it with --user if you do not have administrative priviledge: "pip install neuralprophet --user" Additional instructions are here: pypi.org/project/neuralprophet/ Search Stack Overflow for the specific error message.
i get error while installing socket (python-handler-socket) what to do????
If it doesn't install successfully from pip, sometimes you need to download the whl file and do a local pip install, if you can find a whl file. It looks like pypi only has the source available. You may need to get a compiler for this package: pypi.python.org/pypi/python-handler-socket There are some other web socket whl files here: www.lfd.uci.edu/~gohlke/pythonlibs/ Another package may enable your socket programming if you can't get this one to work.
I'm trying to install a library from Github to the pip for Python in Jupyter Notebook. Any tips?
I'd recommend that you check if the package has install instructions or is hosted on PyPi: pypi.org/ If it is hosted there, then you can install with "pip install package_name". Here is a package that I help maintain: pypi.org/project/gekko/ You can install it with "pip install gekko". If it is not hosted on PyPi then you may be able to clone the Github repository and run it from that folder. Check out this video on creating and running Python classes (customized libraries): ua-cam.com/video/LwOg0b0ZwCM/v-deo.html
thank it was the only one that showed me how to do it
I'm glad it helped. Check out some additional tutorials on installing Python and managing packages: apmonitor.com/pdc/index.php/Main/InstallPython
thank you very much!! You have helped ton of beginner.
God bless you, I learned 2.7 already has Pip ,
Yo I got a question, I am reading a book on python and it says "pip install SomePackage" and when I type it in cmd it doesn't do anything, help :l
You either need to add pip.exe to your windows PATH variable or else "cd" to the Python##/Scripts folder. You can also pip install directly from a Python script with:
import pip
pip.main(['install','SomePackage'])
alirght so when I go to download the get-pip.py now it's telling me that I have the select a program for it.
9:22 that beatbox moment tho
🤣I think we could create a remix of that segment. Nice catch.
The sourceforge only has zip files. When unzipped it doesn't show an executable setup/install file?
+David Bierwert I heard that SourceForge may stop distribution of installers or else they may have just not gotten to it yet. You can still get the installers from version 1.10.2 at sourceforge.net/projects/numpy/files/NumPy/1.10.2/
APMonitor.com Thanks, will give it shot.
YOU ARE A SAVIOR!!!!! I would say fix the audio quality though.
+Levi Moore, thanks for the feedback. I did get a better microphone and have recorded updated install tutorials here: apmonitor.com/che263/index.php/Main/PythonIntroduction
Please change the title to "Install Python modules for Windows XX" , so that linux users do not click on the video and loose time. Thank you for your effort for windows users
Installing modules is the same in all environments with pip. Here is another video that explains package management: ua-cam.com/video/Z_Kxg-EYvxM/v-deo.html
I try "pip install Pymem" and it says
Traceback (most recent call last):
File "", line 1, in
NameError: name 'pip' is not defined
Thanks a million. You made it so easy.
Am I able to download the Win32 module this way?
+Maximillian Etezadi you can download it from sourceforge.net/projects/pywin32/ . If you need Windows commands to be implemented by Python (such as restart, shutdown), I prefer os.system or subprocess stackoverflow.com/questions/89228/calling-an-external-command-in-python
Thank you sir ... I'm truly grateful to you sir ❤️🇮🇳
im trying to get lxml and requests to do some practice web scraping, it apparently downloaded through pip in the command prompt but as soon as i try importing the module, idle reads "No module named ''lxml'"
+Harry Campbell do you have multiple installations of Python? You may consider uninstalling the other versions or else update your PATH variable in your Windows environment to make sure the right one is active. Also, you can check if it installed correctly by running pip again or by running pip from your Python script with:
import pip
pip.main(['install','module_name'])
with your module name inserted. Look for any error messages when it tries to install.
APMonitor.com thanks for the reply, I'll give it a go later
i get error message "no moduled named pip" after changeing the directory and typing in pip (i am running python 3.5.2 wich already has pip installed and i have added it to path, and yes i am using cmd in adminstrator mode or something like that..).. its been hell just to start to learn python :(
+chuy visente could you navigate to c:\Python35\Scripts\ and look for pip.exe or else pip3.exe? If you don't have them, then something went wrong with your installation. Check out my new video to install Python 3.4. You'll want 3.4 if you want packages Numpy and Scipy in Windows (they often lag one minor release). ua-cam.com/video/-llHYUMH9Dg/v-deo.html
i only have the following: easy_install, easy_install-3.5, pip, pip 3.5, pip3. but none that have .exe maybe i should downgrade to 2.7.2 so i wwont have any problems with any incapatibility with modules.
Yes, you could either downgrade or else install Python 3.4. See the video link that I posted previously for help on setting it up.
Here is a new version of this video for Python 3.6: ua-cam.com/video/Ju6zw83PoKo/v-deo.html
WOw wow wow wow wow wow
wowwwww
Thank you so much for this valuable information
how do i install curses? I download pdcurses but it's still not working pls help
Try windows-curses: pypi.org/project/windows-curses/
is there a way to download them directly?
Yes, download the whl file from pypi.org
Very good. A lot of thanks from Ukraine.
I enjoyed a recent visit to Kiev as part of the SPE Distinguished Lecturer tour. Thanks for your comment.
remove the numpy error with: pip install --user vpython (--user) installs all the packages with no errors. Not experience, just stumbled on the answer!
great job. very detailed and exact.
finally pip is working for me, without dowloading the packages from the web. I just used the commands "pip install numpy" and it worked on python3.7
I agree! Python 3.7 is much better now with pip install. ua-cam.com/video/bXWlyOMYpRE/v-deo.html
I have installed Kivy on win10-64 bit system with python and kivy version 32bit. But still whenever I import kivy.uix.label, I get the error saying that IDLE canr find a file named_clock.pyd . The same is also happening with pygame. What shpuld I do?
It sounds like you are missing a package dependency. I recommend that you start with Python 3.7 and pip install all of the dependencies. ua-cam.com/video/bXWlyOMYpRE/v-deo.html
how to install python libs using pip not in "C" drive but in a different drive ?
You'll need to add the pip folder to your PATH environment variable or else change your current run directory to that folder with the cd command.
i went to that folder through cd n tried there pip but as pip was installed in 'C' drive, so it also tried to install python libs in 'C' too, so how to install now in other drives cz my C drive is almost full
You'll need to uninstall Python and reinstall on the different drive that isn't full. You can specify the install directory if you choose the custom install option. See ua-cam.com/video/bXWlyOMYpRE/v-deo.html
thanks sir,,,,i get it
Quick and easy video on installing Python packages.
How to intall Pretty Table module
pip install prettytable
For a module I had to install Microsoft Visual C++ Because it's unable to to find vcvershall.bat. I'm using the 2.7.10 also, and I couldn't seem to install pip on the new version. I think they would have everything up to date in the new version, but it's not installed by default....
The pip.exe is in the scripts folder. A command line search for "where python" should show the path. Thanks for the tip on MS C++. You may consider using the new Python 3.7. See video 2 at apmonitor.com/pdc/index.php/Main/InstallPython
Thanks alot, ıt has been very helpful
How to install Tkinter module in Spyder
You can install it with conda from the command line: ua-cam.com/video/Z_Kxg-EYvxM/v-deo.html
id like to use pip and cmd to install pyhook but it keeps saying that it could not find a version that satisfies the requirment pyhook
no matching distribution found for pyhook
im still rather new to this but i would be more than thankful if anyone would be willing to help me out
thanks
Here are some tips on installing pyHook: stackoverflow.com/questions/35202087/pyhook-on-python-3-5
i tried to install beautifulsoup, but i cant find .exe file. may i know how to install it? thanks!
You can install it with pip: pypi.org/project/beautifulsoup4/
How do I install pyHook and pywin32?
Zilifiy, have you tried "pip install pyHook"?
i have 3 pythons on my laptop and its complex to run ....python 3.6.4 and python 3.5 and python 2.7.....i cant install modules at all with python 3.5....and i cant run programs with all of them unless its one file in the exact same directorty as the python.exe....only runs ok at the IDLE editor..this is not making sense to me
I recommend that you uninstall all of the other distributions and possibly start with a fresh install. The other way to manage this is to change your PATH variable in the Windows Environment Variable manager. This lets you control the default python distribution.
sorry im lost now
not sure if you saw my question..how do you run a program ..multiple scripts at the command prompt..this means the scripts is not directly in the same doirectory as the python.exe..thank you
helo i was able to install pygame with pip install at the cmd prompt..but the game it only works in IDLE...if i try to run in the cmd line in the directory of the main.py..i get pygame module not found..how can that be..its in the site packages in my python 2.7..thanxz
Make sure you are using the right version of pip. You can find the PIP executable in your scripts folder of your python distribution. It may be saying that you don't have it installed because you installed it for a different version.
thank youu for the reply.......the script runs fine in IDLE...and i ran python plus the full path to the main.py file(cuz i dont have py thon 2 set to env variable) and when i 1st wrote to you..i just did python main.py..and it said cant find module..even though its there in site-packages and runs in IDLE..and then when i do python and the full path at the cmd line..it says somethin like cant run the .png img or somethin like that..cant recall....i hvae pip ver 9.0.1..i know i can upgrade to pip 10 but saometimes that causes errros.....not sure why i cant run it at the cmd line but can run it in IDLE....
how do you mean that i may have installed it for a different version??...i have python 2.7 and pip ver 9.01 is what i used to install pygame ..thnxz
Great video, thanks. I installed Python version 3.4. it run ok. I installed some packages through pip or the executable from a download site. Sqlalchemy for instance I get module not found but I installed it. Some web searches say you must add a path! That's rediculous. I noticed it has a path for phython34 but also the appdata. Im thinking of uninstall all Python and delete and reinstall making sure I defalt to the phython34 directory. What do I do about the current paths setup and paths I put in? Delete them all before reinstalling? Also should I ever have to set a path to anything in Python. I'm on Windows 10.
I don't typically add a PATH variable unless I want to set a default python distribution. I've updated the installation instructions for more recent python releases. Please see: apmonitor.com/pdc/index.php/Main/InstallPython
dude you have saved my life thank you soooo much
I got pip external command error
Are you connected to the internet? What is your OS?
Hellow, i've got a problem when i try to install matplotlib with de command "pip install matplotlib". When I put this in the cmd, it's show me a message error, and i want to resolve it. Please, respond as soon as possible. Thank you very much.
+Shadow Guitarist I had a similar problem - does your message also say that numpy (a dependency of matplotlib) was not able to install? I'd recommend installing matplotlib by first installing numpy from sourceforge. If you scan forward in the video, you can see this issue resolved.
hey,
i tried to install the modul pyOpt, but i just have the zip file without any .exe oder .msi files. i'm working with spyder and would like to know how i can integrate these functions and python files from pyOpt in my project. Is it necessary to install pyOpt and when it is how is it possible to do this without these superpack/exe files ? (like i mentioned i just have the zip-compressed files)
Can you help me with this.
Thank you in advance
You can sometimes just copy the package into the correct Python directory. I'm not sure what it is for Anaconda / Spyder but for Python.org it is C:\Python34\Lib\ Here are some instructions for pyOpt: www.pyopt.org/install.html I have a similar optimization package called APMonitor that you can install with "pip install APMonitor".
can you help me!
ModuleNotFoundError: No module named 'pyromat'
Try using the correct case for the letters that need to be upper case: pypi.org/project/PYroMat/
not me after installing the Scripts folder appears.
You may have multiple installations of Python on your computer. Make sure you look in the correct folder such as c:\Python27 (for 2.7) or c:\Python35 (for 3.5). You can also search for pip.exe or pip3.exe. If none of this works, I'd suggest that you install Anaconda that includes most of the basic packages. You can use the conda package manager for that distribution to add additional modules.
This was great, thank you!
+David Berning I'm glad that it is helpful.
while installing packages im getting below error.. plz hlp me sir...
"C:\Python27\Scripts>pip install numpy
Collecting numpy
Could not fetch URL pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy "
+prashanth barmavath, it looks like the Python version you have installed doesn't have an associated numpy on python.org. Did you install the latest for Python 2.7? I think the most recent version is Python 2.7.13. You can also get the right version as an executable installer or do a local file pip install with the right whl file.
thanks..man...keepup the good work
It helped a lot... Thank you so much
Thanks sooo much :-). Really excellent!!!
ImportError: DLL load failed: %1 is not a valid Win32 application.
+issa asrawi did you ever get this to work? Maybe try the Anaconda install option.
openCV?
+Manali Roy, try this: pypi.python.org/pypi/opencv-python
ImportError: No module named mysqldb
hi,
please help me I have this error how can fix
+esraa m.abbas, you can try to pip install it. Here are some instructions: stackoverflow.com/questions/25865270/how-to-install-python-mysqldb-module-using-pip
did not work with me
Iam using windows 7 and xampp with JetBrains PyCharm
Really so Helpful ... Like the video ..Thank you :)
+Eyamin Khan (Mohon) I'm glad that you liked the video.
Actually in the newer versions of python there is no error it just install it
You are correct. I created updated instructions here: apmonitor.com/che263/index.php/Main/PythonIntroduction
Thanks, this helped me alot, awesome videooo
Thank you, very useful
this helped me a lot thank you very much ^^
+Khalil Bouaziz Thanks for your positive feedback.
what about tkinter
an error message : no module named tkinter :(
Are you using Python 2.7? It is named Tkinter in Python 2 and then it
switched to tkinter with a lower case "t" for Python 3. If you don't have tkinter installed then try a pip install. Sometimes the package doesn't install to the right place if you have multiple Python versions installed.
APMonitor.com owww thank you so so much
i'am glade to following you
Want to install pyhook how to install it
It appears that you need to do a local install of the whl file. Here are some instructions: www.google.com/amp/s/amp.reddit.com/r/learnpython/comments/701j5c/installing_python_modules_pyhook/
APMonitor.com thank you bro
This is a life saver
Cool tutorial.....Very helpful....
i did everything you did in this video and everything was going good all up until i was trying to run the module for main.py file in pythons IDLE
I keep getting a Fatal Error...
Here are updated instructions: apmonitor.com/pdc/index.php/Main/InstallPython
very nice :) Thank you,really helped a lot a lot.yo the best
I want to install Mechanize
A standard pip install should work.
pypi.org/project/mechanize/
usually you will find pip here(this depends on the version of your python):
C:\Users\user1\AppData\Local\Programs\Python\Python36\Scripts
+Photoshop Key, thanks for including the current default path, especially AppData is a hidden folder and can be hard to find. The default path was formerly C:\Python27\ but it was changed to the one that you wrote. When I install, I still like to put the path in an easier place than the one hidden in AppData.
np
Why are you recording from a machine room?
My computer fan turns on around 15:42. Here are better videos: apmonitor.com/pdc/index.php/Main/InstallPython
I found my pip in the scripts section of Python35 in file manager on windows. Using the cd "filepath seen in the video, I then copy and pasted the filepath and pressed enter. ONLY after doing this would it allow me to run "pip3.5 install" and it worked. Whatever source you are learning from may be using an older version or an outdated module, so look in pypi.python.org for the most recent version. You may have to play around with the module name a bit.
Great comment! You'll also find pip.exe and pip3.exe in the /Python35/Scrpts/ folder. Additional tutorials on pip package management are available at apmonitor.com/che263/index.php/Main/PythonIntroduction
REALLY Great video
Hello Sir,
can u help me, i am new user of ACMinitor for optimization. I have download matlab file but it is not working. it is display this error:
Error using urlread
The value of 'url' is invalid. Expected input to be one of these types:
char
Instead its type was java.net.URL.
Error in urlreadwrite>parseInputs (line 144)
p.parse(args{:})
Error in urlreadwrite (line 15)
inputs = parseInputs(fcn,varargin);
Error in urlread (line 36)
[s,status] = urlreadwrite(mfilename,catchErrors,url,varargin{:});
Error in urlread_apm (line 51)
output = urlread(url);
Error in apm (line 31)
response = urlread_apm(url);
Error in minlp (line 10)
apm(server,app,'clear all');
Could you try to run the following code as a test? This will install the APMonitor package and solve a linear programming test problem.
#####################
# Import APM Python library
try:
from APMonitor import *
except:
# Automatically install APMonitor
import pip
pip.main(['install','APMonitor'])
from APMonitor import *
# Select the server
server = 'byu.apmonitor.com'
# Give the application a name
app = 'production'
# Clear any previous applications by that name
apm(server,app,'clear all')
# Write the model file
fid = open('softdrink.apm','w')
fid.write('Variables
')
fid.write(' x1 > 0 , < 5 ! Product 1
')
fid.write(' x2 > 0 , < 4 ! Product 2
')
fid.write(' profit
')
fid.write('
')
fid.write('Equations
')
fid.write(' ! profit function
')
fid.write(' maximize profit
')
fid.write(' profit = 100 * x1 + 125 * x2
')
fid.write(' 3 * x1 + 6 * x2
👍👍