Hi all,

First of all thanks to all that answered my question.

I had already changed the PATH and tried to upgrade pip version but it was not possible to reach pip in any way,
the error that I was getting looked like regarding some program file of pip.

Anyway after some trying I was able to fix the problem.

I found that I had downloaded Python from what I would call "automatic check version link" and that downloaded the 32-bit version, but my notebook have 64-bit, so I changed the version to the 64-bit one.

Pip was reachable but I was getting a problem with it again anyway was an easiest fix as I had to take off the -32 from \Python38-32\ in PATH variables, like this: C:\Users\simon\AppData\Local\Programs\Python\Python38\Scripts

Bye


On 21/04/2020 04:47, Souvik Dutta wrote:
Have you tried updating pip? There was a bug in pip version 10....<something>

Souvik flutter dev

On Mon, Apr 20, 2020, 10:10 PM Simone Bravin <simone.bra...@outlook.com <mailto:simone.bra...@outlook.com>> wrote:

    Hello everyone,

    > I just started using Python to learn a bit of coding, so I'm
    pretty a
    > newbie to this, I tried to install few extra packages using pip
    but it
    > doesn't work.
    >
    > When I check for pip version using command line> pip --version I
    get
    > the following error message:
    >
    > Traceback (most recent call last):
    >   File
    >
    "c:\users\simon\appdata\local\programs\python\python38-32\lib\runpy.py",

    > line 193, in _run_module_as_main
    >     return _run_code(code, main_globals, None,
    >   File
    >
    "c:\users\simon\appdata\local\programs\python\python38-32\lib\runpy.py",

    > line 86, in _run_code
    >     exec(code, run_globals)
    >   File
    >
    
"C:\Users\simon\AppData\Local\Programs\Python\Python38-32\Scripts\pip.exe\__main__.py",

    > line 5, in <module>
    >   File
    >
    
"c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\__init__.py",

    > line 40, in <module>
    >     from pip._internal.cli.autocompletion import autocomplete
    >   File
    >
    
"c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\autocompletion.py",

    > line 8, in <module>
    >     from pip._internal.cli.main_parser import create_main_parser
    >   File
    >
    
"c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\main_parser.py",

    > line 7, in <module>
    >     from pip._internal.cli import cmdoptions
    >   File
    >
    
"c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\cmdoptions.py",

    > line 24, in <module>
    >     from pip._internal.models.search_scope import SearchScope
    >   File
    >
    
"c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\models\search_scope.py",

    > line 11, in <module>
    >     from pip._internal.utils.misc import normalize_path,
    > redact_password_from_url
    >   File
    >
    
"c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\utils\misc.py",

    > line 31, in <module>
    > *from pip import __version__ *
    > *ImportError: cannot import name '__version__' from 'pip'
    >
    
(c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\__init__.py)*
    >
    > I tried to run Repair in Modify Setup and reinstalled python as
    well
    > but nothing changed.
    >
    > I was wondering if you can help to fix this.
    >
    > Thank you
    >
    > Simone
-- https://mail.python.org/mailman/listinfo/python-list

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to