Install Python Modules

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 280

  • @incaroads001
    @incaroads001 6 років тому +34

    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.

    • @jaxalec2362
      @jaxalec2362 3 роки тому

      a tip: watch series on Flixzone. Been using them for watching lots of of movies these days.

    • @israelalex3881
      @israelalex3881 3 роки тому

      @Jax Alec yea, I've been using flixzone} for since november myself :D

    • @averysalvador3379
      @averysalvador3379 3 роки тому

      @Jax Alec Definitely, I have been using flixzone} for since december myself :D

    • @mylesedwin4328
      @mylesedwin4328 3 роки тому

      @Jax Alec Yea, I've been using flixzone} for since december myself :)

  • @elyasafaloni8925
    @elyasafaloni8925 4 роки тому +15

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

    • @apm
      @apm  4 роки тому +1

      Glad it helped!

  • @bray3028
    @bray3028 8 років тому +248

    did any one else spend hours trying to figure out how to install pip

    • @rrc
      @rrc 8 років тому +5

      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.

    • @bray3028
      @bray3028 8 років тому +3

      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

    • @serenityrahn5656
      @serenityrahn5656 8 років тому +42

      if by "hours" you mean "days", then yes

    • @hannesziegler6233
      @hannesziegler6233 7 років тому +4

      Fucking pip, so esoteric.

    • @apm
      @apm  7 років тому +2

      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

  • @a.l.murkar6425
    @a.l.murkar6425 5 років тому +19

    Skip to 07:43 if you came here for what's actually in the video title :)

  • @MrColonelexe
    @MrColonelexe 6 років тому +8

    Thank you so much, this video is detailed enough for someone without any programming experience to understand.

  • @solidostrich
    @solidostrich 8 років тому +3

    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.

  • @syntaxerror3467
    @syntaxerror3467 3 роки тому +1

    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😀

  • @MohammedAli-dm8le
    @MohammedAli-dm8le 6 років тому +3

    Comprehensive guide, thank you. You've saved many people many hours. Keep up the good work.

    • @apm
      @apm  6 років тому

      Thanks, Mohammed!

  • @rjwade00
    @rjwade00 7 років тому +4

    Excellent tutorial, made an intimidating process extraordinarily easy. Thanks for your efforts!

    • @apm
      @apm  7 років тому +1

      Thanks for your feedback. I'm glad that you found it helpful.

  • @joelarchbold483
    @joelarchbold483 8 років тому +4

    Thank you very much, I've been struggling to correctly install all those modules. But now it was all simple !

  • @splababy
    @splababy 8 років тому +2

    Thank you so much for your great guidance! Your step by step guidance clear a lot of the installation problems I encountered.

  • @rileykutzler2119
    @rileykutzler2119 7 років тому +2

    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.

  • @vidulgoenka9670
    @vidulgoenka9670 4 роки тому +1

    The world needs more people like you

    • @apm
      @apm  4 роки тому

      Thanks!

  • @Spikeangel169
    @Spikeangel169 8 років тому +4

    Thank you so much, now I finally have numpy properly installed! :D

    • @apm
      @apm  8 років тому

      +Spikeangel169 I'm glad it worked out for you.

  • @harikhakumaravel8757
    @harikhakumaravel8757 4 роки тому +1

    I'm a beginner sir, it's very very very useful.. Tq soo much

  • @lizrubi19
    @lizrubi19 7 років тому +1

    wow! amazing video, can't believe I lost all my morning trying to install numpy, thank you so much!

  • @kolbykidauto9249
    @kolbykidauto9249 6 років тому +1

    THANK YOU! This video saved me from destroying my computer. I thank you sir for you'r fine work!

    • @apm
      @apm  6 років тому

      I'm glad to hear that my video saved your computer. Happy programming!

  • @ralphwalters906
    @ralphwalters906 6 років тому +1

    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.

    • @apm
      @apm  6 років тому

      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.

  • @andymillar7824
    @andymillar7824 7 років тому +2

    Excellent tutorial - you made it seem very simple-thanks for that!!

  • @shinykaushal
    @shinykaushal 9 років тому +1

    Thanks a lot...I was wandering here & there on the net then I found your video. Great Help !!!

    • @apm
      @apm  8 років тому +1

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

  • @sauronadi
    @sauronadi 6 років тому +1

    Thank you so much. Finally found a solution after 2 hour search!!!

    • @apm
      @apm  6 років тому

      Here is updated information for python 3.7 apmonitor.com/pdc/index.php/Main/InstallPython

  • @bpansky
    @bpansky 8 років тому

    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.

    • @bpansky
      @bpansky 8 років тому +1

      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.

  • @bocajelkinh
    @bocajelkinh 5 років тому +12

    15:39 His machine is going super saiyan!!

  • @Robert-bw6jk
    @Robert-bw6jk 8 років тому

    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.

    • @rrc
      @rrc 8 років тому

      Thanks, I'll try the administrator option next install.

  • @Mr0o0o0o0o0o0o0o0
    @Mr0o0o0o0o0o0o0o0 4 роки тому +1

    so how do i find the library i (description of the functions) of the package i just installed?

    • @apm
      @apm  4 роки тому

      It is in your Python install directory in folder Lib...site-packages...module-name

  • @emanuelmakhanu8901
    @emanuelmakhanu8901 5 років тому +1

    took me 3 hours to find your video which has indeed been of help compared to those other trash

    • @apm
      @apm  5 років тому

      Here are updated tutorials: apmonitor.com/pdc/index.php/Main/InstallPython Thanks for the positive comment!

  • @yuqiu7207
    @yuqiu7207 6 років тому +1

    Thank you, finally found this video, so helpful

  • @ΒαγγέληςΠατρικαλος
    @ΒαγγέληςΠατρικαλος 5 років тому +1

    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

    • @apm
      @apm  5 років тому +1

      Thanks for the suggestion!

  • @karljanvalenzuela
    @karljanvalenzuela 4 роки тому +1

    Finally...I found the answer to my question...Thanks!...

  • @nazeermohammad8225
    @nazeermohammad8225 4 роки тому +1

    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

    • @apm
      @apm  4 роки тому +1

      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

    • @nazeermohammad8225
      @nazeermohammad8225 4 роки тому

      @@apm thank u sir for ur reply

  • @najihazulkiflee8050
    @najihazulkiflee8050 3 роки тому +1

    Hi can i know how to install neuralprophet? When I try to install, it keep appear error on my cmd. Thanks for this video!

    • @apm
      @apm  3 роки тому

      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.

  • @codingtechtamil6830
    @codingtechtamil6830 7 років тому +1

    i get error while installing socket (python-handler-socket) what to do????

    • @apm
      @apm  7 років тому

      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.

  • @BrianGlaze
    @BrianGlaze 5 років тому

    I'm trying to install a library from Github to the pip for Python in Jupyter Notebook. Any tips?

    • @apm
      @apm  5 років тому

      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

  • @gamescostom1017
    @gamescostom1017 4 роки тому +1

    thank it was the only one that showed me how to do it

    • @apm
      @apm  4 роки тому

      I'm glad it helped. Check out some additional tutorials on installing Python and managing packages: apmonitor.com/pdc/index.php/Main/InstallPython

  • @simonthefirstrich
    @simonthefirstrich 4 роки тому +1

    thank you very much!! You have helped ton of beginner.

  • @liveforextrading7917
    @liveforextrading7917 7 років тому +1

    God bless you, I learned 2.7 already has Pip ,

  • @azdirtnaper
    @azdirtnaper 7 років тому +1

    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

    • @apm
      @apm  7 років тому

      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'])

    • @azdirtnaper
      @azdirtnaper 7 років тому

      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.

  • @elierouzic9278
    @elierouzic9278 4 роки тому +2

    9:22 that beatbox moment tho

    • @apm
      @apm  4 роки тому +1

      🤣I think we could create a remix of that segment. Nice catch.

  • @Bierman68858
    @Bierman68858 8 років тому

    The sourceforge only has zip files. When unzipped it doesn't show an executable setup/install file?

    • @apm
      @apm  8 років тому

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

    • @Bierman68858
      @Bierman68858 8 років тому

      APMonitor.com Thanks, will give it shot.

  • @levimoore800
    @levimoore800 8 років тому +1

    YOU ARE A SAVIOR!!!!! I would say fix the audio quality though.

    • @apm
      @apm  8 років тому

      +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

  • @georgiosdoumas2446
    @georgiosdoumas2446 5 років тому +1

    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

    • @apm
      @apm  5 років тому

      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

  • @glennftw1483
    @glennftw1483 3 роки тому

    I try "pip install Pymem" and it says
    Traceback (most recent call last):
    File "", line 1, in
    NameError: name 'pip' is not defined

  • @pelayosquared
    @pelayosquared 5 років тому +1

    Thanks a million. You made it so easy.

  • @maximillianetezadi7271
    @maximillianetezadi7271 8 років тому +1

    Am I able to download the Win32 module this way?

    • @apm
      @apm  8 років тому

      +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

  • @mrinalrajak5526
    @mrinalrajak5526 3 роки тому +1

    Thank you sir ... I'm truly grateful to you sir ❤️🇮🇳

  • @EGGNBEENZ
    @EGGNBEENZ 8 років тому

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

    • @apm
      @apm  8 років тому

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

    • @EGGNBEENZ
      @EGGNBEENZ 8 років тому

      APMonitor.com thanks for the reply, I'll give it a go later

  • @ICKFEARLESS
    @ICKFEARLESS 8 років тому +2

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

    • @apm
      @apm  8 років тому

      +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

    • @ICKFEARLESS
      @ICKFEARLESS 8 років тому

      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.

    • @apm
      @apm  8 років тому +1

      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.

    • @apm
      @apm  7 років тому

      Here is a new version of this video for Python 3.6: ua-cam.com/video/Ju6zw83PoKo/v-deo.html

  • @BlueEdgeTechno
    @BlueEdgeTechno 5 років тому +1

    WOw wow wow wow wow wow
    wowwwww
    Thank you so much for this valuable information

  • @brosforever1878
    @brosforever1878 5 років тому +1

    how do i install curses? I download pdcurses but it's still not working pls help

    • @apm
      @apm  5 років тому

      Try windows-curses: pypi.org/project/windows-curses/

  • @codecrack5437
    @codecrack5437 3 роки тому +1

    is there a way to download them directly?

    • @apm
      @apm  3 роки тому

      Yes, download the whl file from pypi.org

  • @ЧоловічийАльянс
    @ЧоловічийАльянс 4 роки тому +1

    Very good. A lot of thanks from Ukraine.

    • @apm
      @apm  4 роки тому

      I enjoyed a recent visit to Kiev as part of the SPE Distinguished Lecturer tour. Thanks for your comment.

  • @pd9032
    @pd9032 6 років тому +1

    remove the numpy error with: pip install --user vpython (--user) installs all the packages with no errors. Not experience, just stumbled on the answer!

  • @MatthewTorontoParis
    @MatthewTorontoParis 8 років тому +1

    great job. very detailed and exact.

  • @salonisingh7439
    @salonisingh7439 6 років тому

    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

    • @apm
      @apm  6 років тому +1

      I agree! Python 3.7 is much better now with pip install. ua-cam.com/video/bXWlyOMYpRE/v-deo.html

  • @arshiabegum4961
    @arshiabegum4961 6 років тому

    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?

    • @apm
      @apm  6 років тому

      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

  • @afrazkhan8238
    @afrazkhan8238 6 років тому

    how to install python libs using pip not in "C" drive but in a different drive ?

    • @apm
      @apm  6 років тому

      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.

    • @afrazkhan8238
      @afrazkhan8238 6 років тому

      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

    • @apm
      @apm  6 років тому

      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

    • @afrazkhan8238
      @afrazkhan8238 6 років тому

      thanks sir,,,,i get it

  • @r-algoengineeringbigdata5863
    @r-algoengineeringbigdata5863 5 років тому +1

    Quick and easy video on installing Python packages.

  • @narenderpalsingh6104
    @narenderpalsingh6104 4 роки тому +1

    How to intall Pretty Table module

    • @apm
      @apm  4 роки тому

      pip install prettytable

  • @------.
    @------. 6 років тому

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

    • @apm
      @apm  6 років тому

      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

  • @suhabayndr5319
    @suhabayndr5319 7 років тому +6

    Thanks alot, ıt has been very helpful

  • @harikrishna-du7so
    @harikrishna-du7so 6 років тому +1

    How to install Tkinter module in Spyder

    • @apm
      @apm  6 років тому

      You can install it with conda from the command line: ua-cam.com/video/Z_Kxg-EYvxM/v-deo.html

  • @janebutler7763
    @janebutler7763 6 років тому

    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

    • @apm
      @apm  6 років тому

      Here are some tips on installing pyHook: stackoverflow.com/questions/35202087/pyhook-on-python-3-5

  • @kassytan7797
    @kassytan7797 5 років тому

    i tried to install beautifulsoup, but i cant find .exe file. may i know how to install it? thanks!

    • @apm
      @apm  5 років тому

      You can install it with pip: pypi.org/project/beautifulsoup4/

  • @dispatchOS
    @dispatchOS 7 років тому +1

    How do I install pyHook and pywin32?

    • @apm
      @apm  7 років тому

      Zilifiy, have you tried "pip install pyHook"?

  • @angelicamatch211
    @angelicamatch211 6 років тому

    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

    • @apm
      @apm  6 років тому

      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.

    • @angelicamatch211
      @angelicamatch211 6 років тому

      sorry im lost now

    • @angelicamatch211
      @angelicamatch211 6 років тому

      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

  • @angelicamatch211
    @angelicamatch211 6 років тому

    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

    • @apm
      @apm  6 років тому

      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.

    • @angelicamatch211
      @angelicamatch211 6 років тому

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

    • @angelicamatch211
      @angelicamatch211 6 років тому

      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

  • @cjlowe1650
    @cjlowe1650 6 років тому

    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.

    • @apm
      @apm  6 років тому

      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

  • @bulelanimbali3066
    @bulelanimbali3066 8 років тому

    dude you have saved my life thank you soooo much

  • @tishaanants
    @tishaanants 3 роки тому +1

    I got pip external command error

    • @apm
      @apm  3 роки тому

      Are you connected to the internet? What is your OS?

  • @shadowguitarist7910
    @shadowguitarist7910 8 років тому

    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.

    • @apm
      @apm  8 років тому

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

  • @SR-fu2ru
    @SR-fu2ru 8 років тому

    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

    • @apm
      @apm  8 років тому

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

  • @khadijakhya1402
    @khadijakhya1402 3 роки тому

    can you help me!
    ModuleNotFoundError: No module named 'pyromat'

    • @apm
      @apm  3 роки тому

      Try using the correct case for the letters that need to be upper case: pypi.org/project/PYroMat/

  • @samuelsacbaja4341
    @samuelsacbaja4341 8 років тому

    not me after installing the Scripts folder appears.

    • @apm
      @apm  8 років тому

      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.

  • @davidberning9101
    @davidberning9101 8 років тому +1

    This was great, thank you!

    • @apm
      @apm  8 років тому

      +David Berning I'm glad that it is helpful.

  • @prashanthb8213
    @prashanthb8213 7 років тому

    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 "

    • @apm
      @apm  7 років тому

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

  • @asifta6438
    @asifta6438 5 років тому +1

    thanks..man...keepup the good work

  • @poorvad7
    @poorvad7 6 років тому +1

    It helped a lot... Thank you so much

  • @saschakruger9950
    @saschakruger9950 6 років тому +1

    Thanks sooo much :-). Really excellent!!!

  • @issaasrawi7797
    @issaasrawi7797 8 років тому

    ImportError: DLL load failed: %1 is not a valid Win32 application.

    • @apm
      @apm  8 років тому

      +issa asrawi did you ever get this to work? Maybe try the Anaconda install option.

  • @manaliroy3566
    @manaliroy3566 7 років тому +1

    openCV?

    • @apm
      @apm  7 років тому

      +Manali Roy, try this: pypi.python.org/pypi/opencv-python

  • @esraamabbas
    @esraamabbas 7 років тому

    ImportError: No module named mysqldb
    hi,
    please help me I have this error how can fix

    • @apm
      @apm  7 років тому

      +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

    • @esraamabbas
      @esraamabbas 7 років тому

      did not work with me
      Iam using windows 7 and xampp with JetBrains PyCharm

  • @eyaminkhan5997
    @eyaminkhan5997 9 років тому +1

    Really so Helpful ... Like the video ..Thank you :)

    • @apm
      @apm  8 років тому

      +Eyamin Khan (Mohon) I'm glad that you liked the video.

  • @markoticinovic6626
    @markoticinovic6626 5 років тому +1

    Actually in the newer versions of python there is no error it just install it

    • @apm
      @apm  5 років тому

      You are correct. I created updated instructions here: apmonitor.com/che263/index.php/Main/PythonIntroduction

  • @joekeroo
    @joekeroo 6 років тому +1

    Thanks, this helped me alot, awesome videooo

  • @ericng9011
    @ericng9011 5 років тому +1

    Thank you, very useful

  • @khalilboua
    @khalilboua 8 років тому +1

    this helped me a lot thank you very much ^^

    • @apm
      @apm  8 років тому

      +Khalil Bouaziz Thanks for your positive feedback.

  • @lhadibenmansour5299
    @lhadibenmansour5299 8 років тому

    what about tkinter
    an error message : no module named tkinter :(

    • @apm
      @apm  8 років тому

      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.

    • @lhadibenmansour5299
      @lhadibenmansour5299 8 років тому

      APMonitor.com owww thank you so so much
      i'am glade to following you

  • @crashtv3347
    @crashtv3347 6 років тому +1

    Want to install pyhook how to install it

    • @apm
      @apm  6 років тому

      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/

    • @crashtv3347
      @crashtv3347 6 років тому

      APMonitor.com thank you bro

  • @rudymelo880
    @rudymelo880 7 років тому +2

    This is a life saver

  • @mamunurrashid5652
    @mamunurrashid5652 7 років тому +1

    Cool tutorial.....Very helpful....

  • @redpilledpatriot6868
    @redpilledpatriot6868 6 років тому

    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

  • @jysko8433
    @jysko8433 4 роки тому +1

    I keep getting a Fatal Error...

    • @apm
      @apm  4 роки тому

      Here are updated instructions: apmonitor.com/pdc/index.php/Main/InstallPython

  • @brianmuthama5209
    @brianmuthama5209 8 років тому +1

    very nice :) Thank you,really helped a lot a lot.yo the best

  • @mrcorndog625
    @mrcorndog625 5 років тому +1

    I want to install Mechanize

    • @apm
      @apm  5 років тому

      A standard pip install should work.
      pypi.org/project/mechanize/

  • @bibo0909
    @bibo0909 7 років тому

    usually you will find pip here(this depends on the version of your python):
    C:\Users\user1\AppData\Local\Programs\Python\Python36\Scripts

    • @apm
      @apm  7 років тому

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

    • @bibo0909
      @bibo0909 7 років тому +1

      np

  • @SamuelHauptmannvanDam
    @SamuelHauptmannvanDam 6 років тому

    Why are you recording from a machine room?

    • @apm
      @apm  6 років тому

      My computer fan turns on around 15:42. Here are better videos: apmonitor.com/pdc/index.php/Main/InstallPython

  • @Stumptowntaxcom
    @Stumptowntaxcom 6 років тому

    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.

    • @apm
      @apm  6 років тому

      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

  • @tom950
    @tom950 8 років тому

    REALLY Great video

  • @lokeshpanwar8429
    @lokeshpanwar8429 8 років тому

    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');

    • @apm
      @apm  8 років тому

      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

  • @ghostbush59
    @ghostbush59 3 роки тому +1

    👍👍