Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: pip3 install command

  1. #1
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    584

    Default pip3 install command

    With Ubuntu I use pip3 install "package name"
    Which command should I use for opensuse 12.3 x86_64.
    I already installed python3-pip but pip3 install is still not a typo I can use.

    Greetings
    Anton

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: pip3 install command

    On 2015-06-11 17:16, anton wrote:
    >
    > With Ubuntu I use pip3 install "package name"
    > Which command should I use for opensuse 12.3 x86_64.


    On the command line, zypper.

    Otherwise, the tool of reference is YaST. It is what makes *suse different.

    On kde there is also apper, and on gnome there is another applet I don't
    remember the name of.

    > I already installed python3-pip but pip3 install is still not a typo I
    > can use.


    Don't even try.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  3. #3
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    584

    Default Re: pip3 install command

    Cannot install with zypper package not found
    If I use pip install then I get after downloading : Sorry, Python 2 is not supported.

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: pip3 install command

    On 2015-06-11 18:06, anton wrote:
    >
    > Cannot install with zypper package not found


    Paste here the exact sequence of what you do. Include the initial bash
    command prompt, to the last one. And place it inside a code tags section
    — the '#' button in the editor.

    > If I use pip install then I get after downloading : Sorry, Python 2 is
    > not supported.


    Please forget pip.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  5. #5
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    584

    Default Re: pip3 install command

    Install is under virtualenv.
    Anyhow changed the server to Ubuntu now it all works fine.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,677
    Blog Entries
    15

    Default Re: pip3 install command

    Hi
    In openSUSE we use python3 as a prefix for packages using python3, so in your case it would have been python3-pip and pip3.
    Last edited by malcolmlewis; 11-Jun-2015 at 10:08.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    584

    Default Re: pip3 install command

    Quote Originally Posted by malcolmlewis View Post
    Hi
    In openSUSE we use python3 as a prefix for packages using python3, so in your case it would have been python3-pip and pip3.

    So what should I type:
    . venv/bin/activate
    python3 install blender-bam is not a typo you can use command-not-found
    python3-pip install blender-bam is not a typo you can use command-not-found
    pip3 install blender--bam is not a typo you can use command-not-found

    Code:
    (venv)linux-nfs:/srv/www/htdocs/flamenco-master/flamenco # python3 install blender-bam
    python3: can't open file 'install': [Errno 2] No such file or directory
    (venv)linux-nfs:/srv/www/htdocs/flamenco-master/flamenco # python3-pip install blender-bam
    If 'python3-pip' is not a typo you can use command-not-found to lookup the package that contains it, like this:
        cnf python3-pip
    (venv)linux-nfs:/srv/www/htdocs/flamenco-master/flamenco # pip install blender-bam
    /srv/www/htdocs/flamenco-master/flamenco/venv/lib/python2.7/site-packages/pip-7.0.3-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
    Collecting blender-bam
    /srv/www/htdocs/flamenco-master/flamenco/venv/lib/python2.7/site-packages/pip-7.0.3-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
      Using cached blender-bam-0.0.4.8.tar.gz
        Complete output from command python setup.py egg_info:
        Sorry, Python 2 is not supported
        
        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-YJ1V4H/blender-bam
    (venv)linux-nfs:/srv/www/htdocs/flamenco-master/flamenco #

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,146
    Blog Entries
    2

    Default Re: pip3 install command

    Pip is the python management command that connects to the official Python repos, not openSUSE.

    This is used when you don't want to install Python from the native distro and instead want to install from the offical Python repos, and this is the case whether you're talking about Ubuntu, openSUSE or any other distro

    I see you say you installed the correct package (python3-pip) but you don't say what your error is, this is essential for any help.
    It should work exactly as it did on Ubuntu.

    TSU

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,146
    Blog Entries
    2

    Default Re: pip3 install command

    Quote Originally Posted by anton View Post
    Install is under virtualenv.
    Anyhow changed the server to Ubuntu now it all works fine.
    When I check my machine, I see separate virtualenv packages for default python and python 3.
    Did you install the version for python 3 and invoke it?

    TSU

  10. #10
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    584

    Default Re: pip3 install command

    sudo easy_install virtualenv
    virtualenv venv

    Python 2.7.3 same as under Ubuntu.

    I already posted the error see wrap CODE tags

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •