Re: "pip" error message
On 4/21/20 5:38 AM, Frank Millman wrote: > On 2020-04-21 12:02 PM, Simone Bravin wrote: >> >> 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. >> > > I have had the same problem in the past. Most software download pages > seem to detect whether you are running 32 or 64 bit, and default to the > correct download option. > > Python shows a big yellow 'Download the latest version for Windows' > button, which most people will select by default. However, it actually > downloads the 32 bit version, without any indication that this is what > it is doing. > > I could have the details wrong - I am not going to repeat the install > just to check. But this is what I recall from the last time I did this. > > This seems like a good time to bring this up, as in another thread we > are discussing how to improve the download experience on Windows for > newbies. There's a long-running thread on this in, well, more than one place. The experts on the Windows experience in general (i.e. Microsoft folks) maintained for a long time that the 32-bit Python was the correct default - they have usage statistics on a worldwide basis that nobody else could have access to. That stance may have softened a bit but there's been no change to the web page yet. The web page does OS detection, but not bitness-detection, and yes that's intentional but won't go into that here. The 32-bit Python runs just fine on 64-bit Windows, by the way. There shouldn't have been a problem with it. There's also nothing wrong with switching to the 64-bit version if you like - mainly that choice should these be driven by what extra packages are available; for a long time it was more likely that binary wheels were available for 32-bit Python, and I think now that's actually shifting such that some developers may not be uploading the 32-bit wheels any longer. -- https://mail.python.org/mailman/listinfo/python-list
Re: "pip" error message
On 2020-04-21 12:02 PM, Simone Bravin wrote: 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. I have had the same problem in the past. Most software download pages seem to detect whether you are running 32 or 64 bit, and default to the correct download option. Python shows a big yellow 'Download the latest version for Windows' button, which most people will select by default. However, it actually downloads the 32 bit version, without any indication that this is what it is doing. I could have the details wrong - I am not going to repeat the install just to check. But this is what I recall from the last time I did this. This seems like a good time to bring this up, as in another thread we are discussing how to improve the download experience on Windows for newbies. Frank Millman -- https://mail.python.org/mailman/listinfo/python-list
Re: "pip" error message
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 Souvik flutter dev On Mon, Apr 20, 2020, 10:10 PM Simone Bravin 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 > File > "c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\__init__.py", > line 40, in > 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 > 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 > 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 > 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 > 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 > *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
Re: "pip" error message
Have you tried updating pip? There was a bug in pip version 10 Souvik flutter dev On Mon, Apr 20, 2020, 10:10 PM Simone Bravin 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 > > File > > > "c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\__init__.py", > > > line 40, in > > 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 > > 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 > > 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 > > 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 > > 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 > > *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
Re: "pip" error message
Hi Simone and all - I'm not sure how to fix/correct... but just a redundant 'me too'. I tried to install pybibframe (https://pypi.org/project/pybibframe/) and also keep getting errors. Wasn't sure if it was the module/package or what. My error is along the lines of: ERROR: Command errored out with exit status 1: command: 'c:\users\rickrigby\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\RickRigby\\AppData\\Local\\Temp\\pip-install-_x4to3h7\\amara3.xml\\setup.py'"'"'; When I 'Google' the error - I find that there's an apparent bug https://stackoverflow.com/questions/60937863/error-command-errored-out-with-exit-status-1 Doesn't sound like there's an easy workaround. Richard On Mon, Apr 20, 2020 at 12:42 PM Simone Bravin 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 > > File > > > "c:\users\simon\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\__init__.py", > > > line 40, in > > 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 > > 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 > > 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 > > 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 > > 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 > > *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