Traceback (most recent call last):
File"C:\Python\lib\runpy.py", line 193, in_run_module_as_main"__main__", mod_spec)
File"C:\Python\lib\runpy.py", line 85, in_run_codeexec(code, run_globals)
File"C:\Users\10223394\PycharmProjects\Test\venv\Scripts\pyinstaller.exe\__main__.py", line 9, in File"c:\users\10223394\pycharmprojects\test\venv\lib\site-packages\PyInstaller\__main__.py", line 111, inrun
run_build(pyi_config, spec_file,**vars(args))
File"c:\users\10223394\pycharmprojects\test\venv\lib\site-packages\PyInstaller\__main__.py", line 63, inrun_build
PyInstaller.building.build_main.main(pyi_config, spec_file,**kwargs)
File"c:\users\10223394\pycharmprojects\test\venv\lib\site-packages\PyInstaller\building\build_main.py", line 838, inmain
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File"c:\users\10223394\pycharmprojects\test\venv\lib\site-packages\PyInstaller\building\build_main.py", line 784, inbuildexec(text, spec_namespace)
File"", line 32, in File"c:\users\10223394\pycharmprojects\test\venv\lib\site-packages\PyInstaller\building\api.py", line 424, in __init__strip_binaries=self.strip, upx_binaries=self.upx,
File"c:\users\10223394\pycharmprojects\test\venv\lib\site-packages\PyInstaller\building\api.py", line 196, in __init__self.__postinit__()
File"c:\users\10223394\pycharmprojects\test\venv\lib\site-packages\PyInstaller\building\datastruct.py", line 158, in __postinit__self.assemble()
File"c:\users\10223394\pycharmprojects\test\venv\lib\site-packages\PyInstaller\building\api.py", line 273, inassemble
pylib_name=os.path.basename(bindepend.get_python_library_path())
File"C:\Python\lib\ntpath.py", line 214, inbasenamereturn split(p)[1]
File"C:\Python\lib\ntpath.py", line 183, insplit
p=os.fspath(p)
TypeError: expected str, bytesor os.PathLike object, not NoneType