Hi bwoodsend,  I make a new venv,. Fist i do the pip list everything go 
right, after i do a upgrade of pip, and receive a error message. So i 
remake a new venv and install all dependencies is need everything go right. 
But wen i run auto-py-to-exe i receive the same error message. See below.  
i saw that python take the same way to run and this do the error. I have 
make the venv in a new directory/drive . So i think of two solution maby 
tree. Fist like you said re-install python in my other drive. Two find a 
another way to convect my .PY file into .exe file, or tree and i'm not very 
hot whit this one, bring back my computer where i buy it and demand to 
reset all the system and ré-install windows and after i will re-install all 
my programm ect..... 
The error message whit the pip error whit the fist venv environment, and 
also the other error message. 
Thank a lot! :)

E:\test virtual env>envtest\Scripts\activate.bat

(envtest) E:\test virtual env>pip list
Package    Version
---------- -------
pip        20.2.3
setuptools 49.2.1
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is 
available.
You should consider upgrading via the 'e:\test virtual 
env\envtest\scripts\python.exe -m pip install --upgrade pip' command.

(envtest) E:\test virtual env>pip install --upgrade pip
Collecting pip
  Using cached pip-21.0.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.2.3
    Uninstalling pip-20.2.3:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 
Accès refusé: 'e:\\test virtual env\\envtest\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.


(envtest) E:\test virtual env>pip  list
Traceback (most recent call last):
  File 
"C:\Users\Mélissa\AppData\Local\Programs\Python\Python39\lib\runpy.py", 
line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File 
"C:\Users\Mélissa\AppData\Local\Programs\Python\Python39\lib\runpy.py", 
line 87, in _run_code
    exec(code, run_globals)
  File "E:\test virtual env\envtest\Scripts\pip.exe\__main__.py", line 4, 
in <module>
ModuleNotFoundError: No module named 'pip'

(envtest) E:\test virtual env>pip install --upgrade pip
Traceback (most recent call last):
  File 
"C:\Users\Mélissa\AppData\Local\Programs\Python\Python39\lib\runpy.py", 
line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File 
"C:\Users\Mélissa\AppData\Local\Programs\Python\Python39\lib\runpy.py", 
line 87, in _run_code
    exec(code, run_globals)
  File "E:\test virtual env\envtest\Scripts\pip.exe\__main__.py", line 4, 
in <module>
ModuleNotFoundError: No module named 'pip'

(envtest) E:\test virtual env>envtest\Scripts\deactivate.bat
E:\test virtual env>python -m venv testing

E:\test virtual env>testing\Scripts\activate.bat

(testing) E:\test virtual env>pip list
Package    Version
---------- -------
pip        20.2.3
setuptools 49.2.1
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is 
available.
You should consider upgrading via the 'e:\test virtual 
env\testing\scripts\python.exe -m pip install --upgrade pip' command.

(testing) E:\test virtual env>pip install wheel
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.36.2
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is 
available.
You should consider upgrading via the 'e:\test virtual 
env\testing\scripts\python.exe -m pip install --upgrade pip' command.

(testing) E:\test virtual env>pip install pyinstaller
Processing 
c:\users\mélissa\appdata\local\pip\cache\wheels\b2\10\66\947cc1c6aebd3e270efd8ec60cf7656d5cbad06c0b34eae143\pyinstaller-4.2-py3-none-any.whl
Collecting pefile>=2017.8.1; sys_platform == "win32"
  Using cached pefile-2019.4.18.tar.gz (62 kB)
Collecting pyinstaller-hooks-contrib>=2020.6
  Downloading pyinstaller_hooks_contrib-2021.1-py2.py3-none-any.whl (181 kB)
     |████████████████████████████████| 181 kB 656 kB/s
Requirement already satisfied: setuptools in e:\test virtual 
env\testing\lib\site-packages (from pyinstaller) (49.2.1)
Collecting pywin32-ctypes>=0.2.0; sys_platform == "win32"
  Using cached pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)
Collecting altgraph
  Using cached altgraph-0.17-py2.py3-none-any.whl (21 kB)
Collecting future
  Using cached future-0.18.2.tar.gz (829 kB)
Building wheels for collected packages: pefile, future
  Building wheel for pefile (setup.py) ... done
  Created wheel for pefile: filename=pefile-2019.4.18-py3-none-any.whl 
size=60822 
sha256=cd64238c2ce2945fba0bd9958756de49647f74d77ce95124c4b52cb302ad3c65
  Stored in directory: 
c:\users\mélissa\appdata\local\pip\cache\wheels\f4\da\18\d53583cd2746d6d4a38630ac2ed3adf1cf4c87cb893f4c29b3
  Building wheel for future (setup.py) ... done
  Created wheel for future: filename=future-0.18.2-py3-none-any.whl 
size=491059 
sha256=147145c1decd773ddda8d04c8e75cc6643ec8ce2ee62a1dcb60a38b80bf262da
  Stored in directory: 
c:\users\mélissa\appdata\local\pip\cache\wheels\2f\a0\d3\4030d9f80e6b3be787f19fc911b8e7aa462986a40ab1e4bb94
Successfully built pefile future
Installing collected packages: future, pefile, pyinstaller-hooks-contrib, 
pywin32-ctypes, altgraph, pyinstaller
Successfully installed altgraph-0.17 future-0.18.2 pefile-2019.4.18 
pyinstaller-4.2 pyinstaller-hooks-contrib-2021.1 pywin32-ctypes-0.2.0
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is 
available.
You should consider upgrading via the 'e:\test virtual 
env\testing\scripts\python.exe -m pip install --upgrade pip' command.

(testing) E:\test virtual env>pip install Eel
Collecting Eel
  Using cached Eel-0.14.0.tar.gz (17 kB)
Collecting bottle
  Using cached bottle-0.12.19-py3-none-any.whl (89 kB)
Collecting bottle-websocket
  Using cached bottle-websocket-0.2.9.tar.gz (2.0 kB)
Requirement already satisfied: future in e:\test virtual 
env\testing\lib\site-packages (from Eel) (0.18.2)
Collecting pyparsing
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting whichcraft
  Using cached whichcraft-0.6.1-py2.py3-none-any.whl (5.2 kB)
Collecting gevent-websocket
  Using cached gevent_websocket-0.10.1-py3-none-any.whl (22 kB)
Collecting gevent
  Using cached gevent-21.1.2-cp39-cp39-win_amd64.whl (1.6 MB)
Requirement already satisfied: setuptools in e:\test virtual 
env\testing\lib\site-packages (from 
gevent->gevent-websocket->bottle-websocket->Eel) (49.2.1)
Collecting zope.event
  Using cached zope.event-4.5.0-py2.py3-none-any.whl (6.8 kB)
Collecting cffi>=1.12.2; platform_python_implementation == "CPython" and 
sys_platform == "win32"
  Using cached cffi-1.14.5-cp39-cp39-win_amd64.whl (179 kB)
Collecting zope.interface
  Using cached zope.interface-5.2.0-cp39-cp39-win_amd64.whl (196 kB)
Collecting greenlet<2.0,>=0.4.17; platform_python_implementation == 
"CPython"
  Using cached greenlet-1.0.0-cp39-cp39-win_amd64.whl (95 kB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: Eel, bottle-websocket
  Building wheel for Eel (setup.py) ... done
  Created wheel for Eel: filename=Eel-0.14.0-py3-none-any.whl size=17460 
sha256=a68a152f905160172c9789217c3020d3b0aa2dd598048b2e56266601ea9cd566
  Stored in directory: 
c:\users\mélissa\appdata\local\pip\cache\wheels\f1\c2\5c\5f6bc6e4a71a5ea3c3d9b46f832e1ca0a2a66d229c4efb13c9
  Building wheel for bottle-websocket (setup.py) ... done
  Created wheel for bottle-websocket: 
filename=bottle_websocket-0.2.9-py3-none-any.whl size=2347 
sha256=aeccf1a62f05b1576f99ef831a936f43afaafae652eab15194984f5e167bab74
  Stored in directory: 
c:\users\mélissa\appdata\local\pip\cache\wheels\3f\03\89\b62449b34a0c944daa3c7ae993e2d9a97096b22a2c9d4bd49b
Successfully built Eel bottle-websocket
Installing collected packages: bottle, zope.event, pycparser, cffi, 
zope.interface, greenlet, gevent, gevent-websocket, bottle-websocket, 
pyparsing, whichcraft, Eel
Successfully installed Eel-0.14.0 bottle-0.12.19 bottle-websocket-0.2.9 
cffi-1.14.5 gevent-21.1.2 gevent-websocket-0.10.1 greenlet-1.0.0 
pycparser-2.20 pyparsing-2.4.7 whichcraft-0.6.1 zope.event-4.5.0 
zope.interface-5.2.0
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is 
available.
You should consider upgrading via the 'e:\test virtual 
env\testing\scripts\python.exe -m pip install --upgrade pip' command.

(testing) E:\test virtual env>pip install auto-py-to-exe
Collecting auto-py-to-exe
  Using cached auto_py_to_exe-2.8.0-py2.py3-none-any.whl (79 kB)
Processing 
c:\users\mélissa\appdata\local\pip\cache\wheels\51\3e\2d\8bfcb8673bdd877d767d7ee13ef42a42d15c677457d4075f4e\eel-0.12.4-py3-none-any.whl
Requirement already satisfied: pyinstaller>=4.1 in e:\test virtual 
env\testing\lib\site-packages (from auto-py-to-exe) (4.2)
Requirement already satisfied: future in e:\test virtual 
env\testing\lib\site-packages (from Eel==0.12.4->auto-py-to-exe) (0.18.2)
Requirement already satisfied: whichcraft in e:\test virtual 
env\testing\lib\site-packages (from Eel==0.12.4->auto-py-to-exe) (0.6.1)
Requirement already satisfied: bottle in e:\test virtual 
env\testing\lib\site-packages (from Eel==0.12.4->auto-py-to-exe) (0.12.19)
Requirement already satisfied: bottle-websocket in e:\test virtual 
env\testing\lib\site-packages (from Eel==0.12.4->auto-py-to-exe) (0.2.9)
Requirement already satisfied: setuptools in e:\test virtual 
env\testing\lib\site-packages (from pyinstaller>=4.1->auto-py-to-exe) 
(49.2.1)
Requirement already satisfied: altgraph in e:\test virtual 
env\testing\lib\site-packages (from pyinstaller>=4.1->auto-py-to-exe) (0.17)
Requirement already satisfied: pefile>=2017.8.1; sys_platform == "win32" in 
e:\test virtual env\testing\lib\site-packages (from 
pyinstaller>=4.1->auto-py-to-exe) (2019.4.18)
Requirement already satisfied: pyinstaller-hooks-contrib>=2020.6 in e:\test 
virtual env\testing\lib\site-packages (from 
pyinstaller>=4.1->auto-py-to-exe) (2021.1)
Requirement already satisfied: pywin32-ctypes>=0.2.0; sys_platform == 
"win32" in e:\test virtual env\testing\lib\site-packages (from 
pyinstaller>=4.1->auto-py-to-exe) (0.2.0)
Requirement already satisfied: gevent-websocket in e:\test virtual 
env\testing\lib\site-packages (from 
bottle-websocket->Eel==0.12.4->auto-py-to-exe) (0.10.1)
Requirement already satisfied: gevent in e:\test virtual 
env\testing\lib\site-packages (from 
gevent-websocket->bottle-websocket->Eel==0.12.4->auto-py-to-exe) (21.1.2)
Requirement already satisfied: greenlet<2.0,>=0.4.17; 
platform_python_implementation == "CPython" in e:\test virtual 
env\testing\lib\site-packages (from 
gevent->gevent-websocket->bottle-websocket->Eel==0.12.4->auto-py-to-exe) 
(1.0.0)
Requirement already satisfied: zope.interface in e:\test virtual 
env\testing\lib\site-packages (from 
gevent->gevent-websocket->bottle-websocket->Eel==0.12.4->auto-py-to-exe) 
(5.2.0)
Requirement already satisfied: zope.event in e:\test virtual 
env\testing\lib\site-packages (from 
gevent->gevent-websocket->bottle-websocket->Eel==0.12.4->auto-py-to-exe) 
(4.5.0)
Requirement already satisfied: cffi>=1.12.2; platform_python_implementation 
== "CPython" and sys_platform == "win32" in e:\test virtual 
env\testing\lib\site-packages (from 
gevent->gevent-websocket->bottle-websocket->Eel==0.12.4->auto-py-to-exe) 
(1.14.5)
Requirement already satisfied: pycparser in e:\test virtual 
env\testing\lib\site-packages (from cffi>=1.12.2; 
platform_python_implementation == "CPython" and sys_platform == 
"win32"->gevent->gevent-websocket->bottle-websocket->Eel==0.12.4->auto-py-to-exe)
 
(2.20)
Installing collected packages: Eel, auto-py-to-exe
  Attempting uninstall: Eel
    Found existing installation: Eel 0.14.0
    Uninstalling Eel-0.14.0:
      Successfully uninstalled Eel-0.14.0
Successfully installed Eel-0.12.4 auto-py-to-exe-2.8.0
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is 
available.
You should consider upgrading via the 'e:\test virtual 
env\testing\scripts\python.exe -m pip install --upgrade pip' command.

(testing) E:\test virtual env>pip list
Package                   Version
------------------------- ---------
altgraph                  0.17
auto-py-to-exe            2.8.0
bottle                    0.12.19
bottle-websocket          0.2.9
cffi                      1.14.5
Eel                       0.12.4
future                    0.18.2
gevent                    21.1.2
gevent-websocket          0.10.1
greenlet                  1.0.0
pefile                    2019.4.18
pip                       20.2.3
pycparser                 2.20
pyinstaller               4.2
pyinstaller-hooks-contrib 2021.1
pyparsing                 2.4.7
pywin32-ctypes            0.2.0
setuptools                49.2.1
wheel                     0.36.2
whichcraft                0.6.1
zope.event                4.5.0
zope.interface            5.2.0
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is 
available.
You should consider upgrading via the 'e:\test virtual 
env\testing\scripts\python.exe -m pip install --upgrade pip' command.

(testing) E:\test virtual env>auto-py-to-exe
Traceback (most recent call last):
  File "e:\test virtual 
env\testing\lib\site-packages\gevent\threadpool.py", line 167, in __run_task
    thread_result.set(func(*args, **kwargs))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 1: 
invalid continuation byte
2021-03-09T19:30:40Z (<ThreadPoolWorker at 0x1efb363eb40 
thread_ident=0x282c threadpool-hub=<Hub at 0x1efb353bd00 
thread_ident=0x12cc>>, <built-in function gethostbyaddr>) failed with 
UnicodeDecodeError

Traceback (most recent call last):
  File 
"C:\Users\Mélissa\AppData\Local\Programs\Python\Python39\lib\runpy.py", 
line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File 
"C:\Users\Mélissa\AppData\Local\Programs\Python\Python39\lib\runpy.py", 
line 87, in _run_code
    exec(code, run_globals)
  File "E:\test virtual 
env\testing\Scripts\auto-py-to-exe.exe\__main__.py", line 7, in <module>
  File "e:\test virtual 
env\testing\lib\site-packages\auto_py_to_exe\__main__.py", line 99, in run
    start_ui(logging_level)
  File "e:\test virtual 
env\testing\lib\site-packages\auto_py_to_exe\__main__.py", line 22, in 
start_ui
    ui.start(config.ui_open_mode)
  File "e:\test virtual 
env\testing\lib\site-packages\auto_py_to_exe\ui.py", line 140, in start
    eel.start('index.html', size=(650, 672), port=0)
  File "e:\test virtual env\testing\lib\site-packages\eel\__init__.py", 
line 164, in start
    run_lambda()
  File "e:\test virtual env\testing\lib\site-packages\eel\__init__.py", 
line 155, in run_lambda
    return btl.run(
  File "e:\test virtual env\testing\lib\site-packages\bottle.py", line 
3137, in run
    server.run(app)
  File "e:\test virtual 
env\testing\lib\site-packages\bottle_websocket\server.py", line 17, in run
    server.serve_forever()
  File "e:\test virtual 
env\testing\lib\site-packages\gevent\baseserver.py", line 398, in 
serve_forever
    self.start()
  File "e:\test virtual 
env\testing\lib\site-packages\gevent\baseserver.py", line 336, in start
    self.init_socket()
  File "e:\test virtual env\testing\lib\site-packages\gevent\pywsgi.py", 
line 1546, in init_socket
    self.update_environ()
  File "e:\test virtual env\testing\lib\site-packages\gevent\pywsgi.py", 
line 1558, in update_environ
    name = socket.getfqdn(address[0])
  File "e:\test virtual 
env\testing\lib\site-packages\gevent\_socketcommon.py", line 304, in getfqdn
    hostname, aliases, _ = gethostbyaddr(name)
  File "e:\test virtual 
env\testing\lib\site-packages\gevent\_socketcommon.py", line 276, in 
gethostbyaddr
    return get_hub().resolver.gethostbyaddr(ip_address)
  File "e:\test virtual 
env\testing\lib\site-packages\gevent\resolver\thread.py", line 66, in 
gethostbyaddr
    return self.pool.apply(_socket.gethostbyaddr, args, kwargs)
  File "e:\test virtual env\testing\lib\site-packages\gevent\pool.py", line 
161, in apply
    return self.spawn(func, *args, **kwds).get()
  File "src\\gevent\\event.py", line 329, in 
gevent._gevent_cevent.AsyncResult.get
  File "src\\gevent\\event.py", line 359, in 
gevent._gevent_cevent.AsyncResult.get
  File "src\\gevent\\event.py", line 347, in 
gevent._gevent_cevent.AsyncResult.get
  File "src\\gevent\\event.py", line 327, in 
gevent._gevent_cevent.AsyncResult._raise_exception
  File "e:\test virtual env\testing\lib\site-packages\gevent\_compat.py", 
line 65, in reraise
    raise value.with_traceback(tb)
  File "e:\test virtual 
env\testing\lib\site-packages\gevent\threadpool.py", line 167, in __run_task
    thread_result.set(func(*args, **kwargs))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 1: 
invalid continuation byte

(testing) E:\test virtual env>

Le mardi 9 mars 2021 à 09 h 11 min 23 s UTC-5, bwoodsend a écrit :

> I see your Python is installed in a user folder containing an é. That 
> probably explains why you’re seeing more problems than I do. Unless you’re 
> happy to uninstall Python then reinstall it somewhere else, I suggest you 
> create a virtual environment using venv 
> <https://docs.python.org/3/tutorial/venv.html>. 
>
>    - Open a terminal in a folder that doesn’t have any és in it. 
>    - Run python -m venv env to create a environment in the folder env. 
>    - Run env\Scripts\activate.bat to *enter* your environment. Only 
>    affects this terminal. 
>    - Install your dependencies and PyInstaller: pip install pyinstaller 
>    other dependencies 
>    - Run pyinstaller. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/4165d81b-94a3-410a-aadd-6ff35830f256n%40googlegroups.com.

Reply via email to