8000 error during installing pywebview · Issue #293 · r0x0r/pywebview · GitHub
[go: up one dir, main page]

Skip to content
error during installing pywebview #293
@lkocsis

Description

@lkocsis

Specification

  • Platform: w10
  • Version: 1803

Description

This message came at installing PyWebView
What is the issue

PS D:\Users\LHK\OneDrive\VSC.WP> pip install pywebview
Collecting pywebview
Using cached https://files.pythonhosted.org/packages/9c/98/2bb83cbe35b09bf5079684f3eeecba2f19d0c90c5cac0ca272539d058d7d/pywebview-2.2.1-py3-none-any.whl
Collecting pythonnet; sys_platform == "win32" (from pywebview)
Using cached https://files.pythonhosted.org/packages/89/3b/a22cd45b591d6cf490ee8b24d52b9db1f30b4b478b64a9b231c53474731e/pythonnet-2.3.0.tar.gz
Installing collected packages: pythonnet, pywebview
Running setup.py install for pythonnet ... error
Complete output from command c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\LASZLO1.KOC\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\LASZLO1.KOC\AppData\Local\Temp\pip-record-4uys3q21\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
Checking for updates from https://www.nuget.org/api/v2/.
Currently running NuGet.exe 3.5.0.
Updating NuGet.exe to 4.7.1.
Update successful.
MSBuild auto-detection: using msbuild version '4.0' from 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'.
Restoring NuGet package UnmanagedExports.1.2.7.
Restoring NuGet package NUnit.3.6.0.
Restoring NuGet package NUnit.ConsoleRunner.3.6.0.
Adding package 'NUnit.ConsoleRunner.3.6.0' to folder 'C:\Users\laszlo.kocsis\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\packages'
Adding package 'UnmanagedExports.1.2.7' to folder 'C:\Users\laszlo.kocsis\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\packages'
Adding package 'NUnit.3.6.0' to folder 'C:\Users\laszlo.kocsis\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\packages'
Added package 'UnmanagedExports.1.2.7' to folder 'C:\Users\laszlo.kocsis\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\packages'
Added package 'NUnit.ConsoleRunner.3.6.0' to folder 'C:\Users\laszlo.kocsis\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\packages'
Added package 'NUnit.3.6.0' to folder 'C:\Users\laszlo.kocsis\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\packages'

NuGet Config files used:
    C:\Users\laszlo.kocsis\AppData\Roaming\NuGet\NuGet.Config

Feeds used:
    C:\Users\laszlo.kocsis\.nuget\packages\
    https://api.nuget.org/v3/index.json

Installed:
    3 package(s) to packages.config projects
Traceback (most recent call last):
  File "tools\geninterop\geninterop.py", line 24, in <module>
    from pycparser import c_ast, c_parser
ModuleNotFoundError: No module named 'pycparser'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\LASZLO~1.KOC\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\setup.py", line 405, in <module>
    zip_safe=False,
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\command\build_ext.py", line 339, in run
    self.build_extensions()
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\command\build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "C:\Users\LASZLO~1.KOC\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\setup.py", line 191, in build_extension
    subprocess.check_call([sys.executable, geninterop, interop_file])
  File "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\lib\subprocess.py", line 341, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\\users\\laszlo.kocsis\\appdata\\local\\programs\\python\\python37-32\\python.exe', 'tools\\geninterop\\geninterop.py', 'src\\runtime\\interop37.cs']' returned non-zero exit status 1.

----------------------------------------

Command "c:\users\laszlo.kocsis\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\LASZLO1.KOC\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\LASZLO1.KOC\AppData\Local\Temp\pip-record-4uys3q21\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\LASZLO~1.KOC\AppData\Local\Temp\pip-install-ha0iluhx\pythonnet\

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0