Hi,
I downloaded python 3.12.2-amd64 to windom 10 laptop
When I want to check if pip is install and with latest version through CMD
C:\Users\User>pip3 install --upgrade pip
It display this
C:\Users\User>pip3 install --upgrade pip
Error processing line 7 of C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\pywin32.pth:
Traceback (most recent call last):
File “”, line 195, in addpackage
File “”, line 1, in
SyntaxError: source code string cannot contain null bytes
Remainder of file ignored
Requirement already satisfied: pip in c:\users\user\appdata\local\programs\python\python312\lib\site-packages (24.0)
I tried to check if Jupyter install
C:\Users\User>jupyter
It brought the following
C:\Users\User>jupyter
Error processing line 7 of C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\pywin32.pth:
Traceback (most recent call last):
File “”, line 195, in addpackage
File “”, line 1, in
SyntaxError: source code string cannot contain null bytes
Remainder of file ignored
usage: jupyter [-h] [–version] [–config-dir] [–data-dir] [–runtime-dir] [–paths] [–json] [–debug] [subcommand]
Jupyter: Interactive Computing
positional arguments:
subcommand the subcommand to launch
options:
-h, --help show this help message and exit
–version show the versions of core jupyter packages and exit
–config-dir show Jupyter config dir
–data-dir show Jupyter data dir
–runtime-dir show Jupyter runtime dir
–paths show all Jupyter paths. Add --json for machine-readable format.
–json output paths as machine-readable json
–debug output debug information about paths
Available subcommands: console dejavu events execute kernel kernelspec lab labextension labhub migrate nbconvert
notebook qtconsole run server troubleshoot trust
Please specify a subcommand or one of the optional arguments.
I tried to open jupyter
C:\Users\User>jupyter notebook
I was expecting to see it in a browser but it display the following in the CMD command
Error processing line 7 of C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\pywin32.pth:
Traceback (most recent call last):
File “”, line 195, in addpackage
File “”, line 1, in
SyntaxError: source code string cannot contain null bytes
Remainder of file ignored
Error processing line 7 of C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\pywin32.pth:
Traceback (most recent call last):
File “”, line 195, in addpackage
File “”, line 1, in
SyntaxError: source code string cannot contain null bytes
Remainder of file ignored
Traceback (most recent call last):
File “”, line 198, in run_module_as_main
File “”, line 88, in run_code
File "C:\Users\User\AppData\Local\Programs\Python\Python312\Scripts\jupyter-notebook.EXE_main.py", line 4, in
File “C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\notebook\app.py”, line 9, in
from jupyter_client.utils import ensure_async # type:ignore[attr-defined]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyter_client_init.py", line 3, in
from .asynchronous import AsyncKernelClient
File “C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyter_client\asynchronous_init_.py”, line 1, in
from .client import AsyncKernelClient # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyter_client\asynchronous\client.py”, line 8, in
import zmq.asyncio
File “C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\zmq_init_.py”, line 141, in
from zmq import sugar
SyntaxError: source code string cannot contain null bytes
Kindly assist