Lou’s Lab

Voor ik verga tot stof en as, wil ik weten hoe de wereld was (RvhG)

User Tools

Site Tools


linux:pip

Table of Contents

pip

dit document beschrijft de werking van pip, een installer tool voor Python packages. Voor tools die in die taal ontwikkeld zijn, vindt je in pip recentere versies dan in de gebruikelijke apt repositories

werking

  1. commando's zijn vergelijkbaar met die van apt-get:
    1. pip search <pakket>: zoeken
      sudo pip search s3cmd
      s3cmd (2.0.2)           - Command line tool for managing Amazon S3 and CloudFront services
      s3_cmd_website (0.6.0)  - Wrapper around s3cmd for creating, deploying, updating \ 
      and deleting websites hosted in s3 
    2. pip (un)install <pakket>: installeren, verwijderen
    3. pip list: geinstalleerde pakketten tonen
    4. pip show <pakket>: info over <pakket> tonen
      pip show pycurl
      Name: pycurl
      Version: 7.43.0
      Summary: PycURL -- A Python Interface To The cURL library
      Home-page: http://pycurl.io/
      Author: Oleg Pudeyev
      Author-email: oleg@bsdpower.com
      License: LGPL/MIT
      Location: /usr/lib/python2.7/dist-packages
      Requires: 
  2. gebruik -v om meer output te krijgen
    sudo pip show pycurl -v
    Name: pycurl
    Version: 7.43.0
    Summary: PycURL -- A Python Interface To The cURL library
    Home-page: http://pycurl.io/
    Author: Oleg Pudeyev
    Author-email: oleg@bsdpower.com
    License: LGPL/MIT
    Location: /usr/lib/python2.7/dist-packages
    Requires:
    Metadata-Version: 1.1
    Installer:
    Classifiers:
      Development Status :: 5 - Production/Stable
      Environment :: Web Environment
      Intended Audience :: Developers
      License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
      License :: OSI Approved :: MIT License
      Operating System :: Microsoft :: Windows
      Operating System :: POSIX
      Programming Language :: Python :: 2
      Programming Language :: Python :: 3
      Topic :: Internet :: File Transfer Protocol (FTP)
      Topic :: Internet :: WWW/HTTP
    Entry-points: 
  3. gebruik –log om deze debug info naar een bestand weg te schrijven. Handig bij installaties,bv

meer info

linux/pip.txt · Last modified: 2019/12/12 22:45 by 127.0.0.1