[Distutils] installing pip or at least modules on mac

Sébastien Turrel sebastienturr at gmail.com
Sat May 20 19:01:44 EDT 2017


iMac-de-Sebastien:3.5 sebastienturrel$ cd bin
iMac-de-Sebastien:bin sebastienturrel$ ls
2to3            pydoc3            python3.5-config
2to3-3.5        pydoc3.5        python3.5m
easy_install-3.5    python3            python3.5m-config
idle3            python3-32        pyvenv
idle3.5            python3-config        pyvenv-3.5
pip3            python3.5
pip3.5            python3.5-32
iMac-de-Sebastien:bin sebastienturrel$ pip3.5

Usage:
  pip <command> [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>                Path to a verbose appending log.
  --proxy <proxy>             Specify a proxy in the form
                              [user:passwd@]proxy.server:port.
  --retries <retries>         Maximum number of retries each connection
should
                              attempt (default 5 times).
  --timeout <sec>             Set the socket timeout (default 15 seconds).
  --exists-action <action>    Default action when a path already exists:
                              (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.
  --trusted-host <hostname>   Mark this host as trusted, even though it does
                              not have valid or any HTTPS.
  --cert <path>               Path to alternate CA bundle.
  --client-cert <path>        Path to SSL client certificate, a single file
                              containing the private key and the certificate
                              in PEM format.
  --cache-dir <dir>           Store the cache data in <dir>.
  --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.
iMac-de-Sebastien:bin sebastienturrel$ install PyPDF2
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
iMac-de-Sebastien:bin sebastienturrel$ -m install PyPDF2
-bash: -m: command not found
iMac-de-Sebastien:bin sebastienturrel$ install PyPDf2
$usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
iMac-de-Sebastien:bin sebastienturrel$ -M
-bash: -M: command not found
iMac-de-Sebastien:bin sebastienturrel$ -m
-bash: -m: command not found
iMac-de-Sebastien:bin sebastienturrel$ install -o PyPDF2
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
iMac-de-Sebastien:bin sebastienturrel$


2017-05-21 0:45 GMT+02:00 Sébastien Turrel <sebastienturr at gmail.com>:

> Hello from France !
> I am using python 3,5 since month and i am no problems to install modules
> on my window Os but i can't do it on my Mac.
> I got Sierra Os, maybe is that a problem ?
> i mean, i can't find pip on my mac, after search, can't find it, i spent
> hours on internet to find a way to install pip and evey times it's not
> working, maybe can you help me ?
> thanks a lot !
>
> --
> Sébastien TURREL
>



-- 
Sébastien TURREL
06 88 79 77 11
17 rue des Marguettes
75012 Paris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170521/7e8ea71f/attachment-0001.html>


More information about the Distutils-SIG mailing list