Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

ValueError: source code string cannot contain null bytes

Open parallel-dev-ecm opened this issue 1 year ago • 0 comments

Cant run.py nor with cuda due to this:

PS C:\Users\USER\Downloads\Deep-Live-Cam-main\Deep-Live-Cam-main> python run.py Traceback (most recent call last): File "C:\Users\USER\Downloads\Deep-Live-Cam-main\Deep-Live-Cam-main\run.py", line 3, in from modules import core File "C:\Users\USER\Downloads\Deep-Live-Cam-main\Deep-Live-Cam-main\modules\core.py", line 14, in import torch File "C:\Users\USER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\torch_init_.py", line 1122, in from .serialization import save, load File "C:\Users\USER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\torch\serialization.py", line 17, in from typing_extensions import TypeAlias # Python 3.10+ ValueError: source code string cannot contain null bytes PS C:\Users\USER\Downloads\Deep-Live-Cam-main\Deep-Live-Cam-main> python --v unknown option --v usage: C:\Users\USER\AppData\Local\Microsoft\WindowsApps\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. PS C:\Users\USER\Downloads\Deep-Live-Cam-main\Deep-Live-Cam-main> python Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. Failed calling sys.interactivehook Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\site.py", line 446, in register_readline import readline ValueError: source code string cannot contain null bytes

parallel-dev-ecm avatar Aug 13 '24 23:08 parallel-dev-ecm