Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208172

Re: That command brake my pip3

From aprekates <aprekates@posteo.net>
Newsgroups linux.debian.user
Subject Re: That command brake my pip3
Date 2019-05-05 04:30 +0200
Message-ID <xUf4B-3fF-1@gated-at.bofh.it> (permalink)
References <xU8FP-7JX-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I found an explanation that seems good here:


The problem is that pip will upgrade itself in a version that doesnt 
allow the

debian 9's pip script to find its internals..

The issue is also in BTS : 928190 
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928190>

+1 to the pip guy for the good explanation.

- 1 for pip messing with deb

-1 for deb assuming pip is dead :-)

https://github.com/pypa/pip/issues/5221#issuecomment-382069604

On 4/5/19 10:32 μ.μ., aprekates wrote:
> debian 9.6
>
> I've installed pip3 from
>
> $ sudo apt install python3-pip
>
> alexdev@enous:/var/www/virtpyapp-alx$ pip3 install pipenv
> Collecting pipenv
>   Downloading 
> https://files.pythonhosted.org/packages/13/b4/3ffa55f77161cff9a5220f162670f7c5eb00df52e00939e203f601b0f579/pipenv-2018.11.26-py3-none-any.whl 
> (5.2MB)
>     100% |████████████████████████████████| 5.2MB 308kB/s
> Collecting virtualenv (from pipenv)
>   Downloading 
> https://files.pythonhosted.org/packages/4f/ba/6f9315180501d5ac3e707f19fcb1764c26cc6a9a31af05778f7c2383eadb/virtualenv-16.5.0-py2.py3-none-any.whl 
> (2.0MB)
>     100% |████████████████████████████████| 2.0MB 560kB/s
> Collecting pip>=9.0.1 (from pipenv)
>   Downloading 
> https://files.pythonhosted.org/packages/f9/fb/863012b13912709c13cf5cfdbfb304fa6c727659d6290438e1a88df9d848/pip-19.1-py2.py3-none-any.whl 
> (1.4MB)
>     100% |████████████████████████████████| 1.4MB 646kB/s
> Collecting certifi (from pipenv)
>   Downloading 
> https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl 
> (158kB)
>     100% |████████████████████████████████| 163kB 1.1MB/s
> Collecting virtualenv-clone>=0.2.5 (from pipenv)
>   Downloading 
> https://files.pythonhosted.org/packages/ba/f8/50c2b7dbc99e05fce5e5b9d9a31f37c988c99acd4e8dedd720b7b8d4011d/virtualenv_clone-0.5.3-py2.py3-none-any.whl
> Collecting setuptools>=36.2.1 (from pipenv)
>   Downloading 
> https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl 
> (575kB)
>     100% |████████████████████████████████| 583kB 886kB/s
> Installing collected packages: virtualenv, pip, certifi, 
> virtualenv-clone, setuptools, pipenv
> Successfully installed certifi-2019.3.9 pip-19.1 pipenv-2018.11.26 
> setuptools-41.0.1 virtualenv-16.5.0 virtualenv-clone-0.5.3
>
> alexdev@enous:/var/www/virtpyapp-alx$ pip3 list
> Traceback (most recent call last):
>   File "/usr/bin/pip3", line 9, in <module>
>     from pip import main
> ImportError: cannot import name 'main'
>

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

That command brake my pip3 aprekates <aprekates@posteo.net> - 2019-05-04 21:40 +0200
  Re: That command brake my pip3 aprekates <aprekates@posteo.net> - 2019-05-05 04:30 +0200

csiph-web