Skip to main content

python

two step process 
https://www.youtube.com/watch?v=zPMr0lEMqpo
https://pip.pypa.io/en/stable/installing/




PIP install -> 
Do you happen to have the Perl pip lying around somewhere?
Sounds like the problem described here:
To check, in Windows command prompt execute:
C:\>where pip
This will potentially output the following:
C:\strawberry\perl\bin\pip
C:\strawberry\perl\bin\pip.bat
If so, this is your problem. Unistall Strawberry Perl or use the full path to python pip.


in my case - below is - 
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\gdorge\01_Projects\Python_SilkPerformer>pip

Did not provide a command

C:\gdorge\01_Projects\Python_SilkPerformer>pip install pandas

Unknown or unsupported command 'install'

C:\gdorge\01_Projects\Python_SilkPerformer>where pip
C:\Program Files (x86)\HP\LoadRunner\strawberry-perl\perl\bin\pip
C:\Program Files (x86)\HP\LoadRunner\strawberry-perl\perl\bin\pip.bat
C:\Python34\Scripts\pip.exe

C:\gdorge\01_Projects\Python_SilkPerformer>C:\Python34\Scripts\pip

Usage:
  pip [options]

Commands:
  install                     Install packages.
  download                    Download packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  check                       Verify installed packages have compatible dependencies.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  hash                        Compute hashes of package archives.
  completion                  A helper command used for command completion.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  --isolated                  Run pip in an isolated mode, ignoring
                              environment variables and user configuration.
  -v, --verbose               Give more output. Option is additive, and can be
                              used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output. Option is additive, and can be
                              used up to 3 times (corresponding to WARNING,
                              ERROR, and CRITICAL logging levels).
  --log                Path to a verbose appending log.
  --proxy             Specify a proxy in the form
                              [user:passwd@]proxy.server:port.
  --retries         Maximum number of retries each connection should
                              attempt (default 5 times).
  --timeout             Set the socket timeout (default 15 seconds).
  --exists-action    Default action when a path already exists:
                              (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.
  --trusted-host   Mark this host as trusted, even though it does
                              not have valid or any HTTPS.
  --cert               Path to alternate CA bundle.
  --client-cert        Path to SSL client certificate, a single file
                              containing the private key and the certificate
                              in PEM format.
  --cache-dir
          Store the cache data in .
  --no-cache-dir              Disable the cache.
  --disable-pip-version-check
                              Don't periodically check PyPI to determine
                              whether a new version of pip is available for
                              download. Implied with --no-index.

C:\gdorge\01_Projects\Python_SilkPerformer>C:\Python34\Scripts\pip install pandas
Collecting pandas
  Downloading pandas-0.19.2-cp34-cp34m-win_amd64.whl (7.1MB)
    100% |################################| 7.1MB 89kB/s
Collecting numpy>=1.7.0 (from pandas)
  Downloading numpy-1.12.0-cp34-none-win_amd64.whl (7.5MB)
    100% |################################| 7.5MB 22kB/s
Collecting python-dateutil>=2 (from pandas)
  Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
    100% |################################| 194kB 68kB/s
Collecting pytz>=2011k (from pandas)
  Downloading pytz-2016.10-py2.py3-none-any.whl (483kB)
    100% |################################| 491kB 29kB/s
Collecting six>=1.5 (from python-dateutil>=2->pandas)
  Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: numpy, six, python-dateutil, pytz, pandas
Successfully installed numpy-1.12.0 pandas-0.19.2 python-dateutil-2.6.0 pytz-2016.10 six-1.10.0

C:\gdorge\01_Projects\Python_SilkPerformer>




Graph examples : 

http://chrisalbon.com/python/matplotlib_grouped_bar_plot.html 

















Comments

Popular posts from this blog

Oracle Part

Process Increase due to error sometimes : SQL> connect / as sysdba ERROR: ORA-00020: maximum number of processes (300) exceeded or java.sql.SQLException: Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found Steps to increase the number for processes/sessions at database level in Oracle is as follows   1.  Log on to the database as system administrator  In SQL Plus enter:  " connect / as sysdba "   2. Set the number of processes to be desired value  In SQL Plus  " alter system set processes=  scope=spfile "   3. Unset the number of sessions to remove the default session limit In SQLPlus  " alter system reset sessions scope=spfile sid='*'  "   4. Shutdown the database In SQL Plus  " shutdown immediate "   5. Startup the database  In SQL Plus  " startup "    6. Check the changes have taken effect. In SQL Plus...

Explain Plan Vs Execution Plan

Explain Plan DELETE PLAN_TABLE EXPLAIN PLAN FOR SELECT COUNT(*)   FROM ARADMIN80.T3293 WHERE ((((T3293.C230000009 = 'MAINCHANGE') AND  ((T3293.C301813800 = '20001-Test') OR (T3293.C1000000337 = '20001-Test')) AND (T3293.C1000003561 >= 1) AND (T3293.C1000003561 <= 9))  OR ((T3293.C230000009 = 'MAINHELPDESK') AND (T3293.C301813800 = '20001-Test') AND (T3293.C1000003561 >= 0) AND (T3293.C1000003561 <= 3))  OR ((T3293.C230000009 = 'MAINWORKORDER') AND (T3293.C301813800 = '20001-Test') AND ((T3293.C1000003561 = 0) OR (T3293.C1000003561 = 1)  OR (T3293.C1000003561 = 2) OR (T3293.C1000003561 = 3) OR (T3293.C1000003561 = 4))) OR ((T3293.C230000009 = 'MAINKNOWLEDGEDATABASE')  AND (T3293.C301813800 = '20001-Test') AND (T3293.C1000003561 >= 4) AND (T3293.C1000003561 <= 4)) OR ((T3293.C230000009 = 'MAINKNOWNERROR')  AND (T3293.C301813800 = '20001-Test') AND (T3293.C1000003561 >=...

Ansible - Agentless Architecture DevOps

Ansible  Ansible is an open source IT configuration management, deployment, and orchestration tool. It is unique from other management tools in many respects, aiming to provide large productivity gains to a wide variety of automation challenges. Example From YouTube - Short Videos - Quick to learn about Ansible  :)