shauryauppal / PyWhatsapp

Python Automation using selenium & Scheduling of messages and media
https://www.linkedin.com/in/shaurya-uppal
Apache License 2.0
455 stars 159 forks source link

error: subprocess-exited-with-error #95

Open VonDefiant opened 3 months ago

VonDefiant commented 3 months ago

Hi I'm having this error while installing the requirements C:\Users\Javie>pip install PyAutoIt==0.4 Collecting PyAutoIt==0.4 Using cached PyAutoIt-0.4.zip (421 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [25 lines of output] Traceback (most recent call last): File "C:\Users\Javie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Users\Javie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\Javie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\Javie\AppData\Local\Temp\pip-build-env-mlhvorl0\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "C:\Users\Javie\AppData\Local\Temp\pip-build-env-mlhvorl0\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires self.run_setup() File "C:\Users\Javie\AppData\Local\Temp\pip-build-env-mlhvorl0\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\Javie\AppData\Local\Temp\pip-build-env-mlhvorl0\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 9, in File "C:\Users\Javie\AppData\Local\Temp\pip-install-q3i4kx2o\pyautoit_ef2819a8787f477984a7906b7fb612a6\autoit__init.py", line 6, in from .autoit import options, properties, commands File "C:\Users\Javie\AppData\Local\Temp\pip-install-q3i4kx2o\pyautoit_ef2819a8787f477984a7906b7fb612a6\autoit\autoit.py", line 28, in AUTO_IT = ctypes.windll.LoadLibrary(dll_path) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\ctypes\init__.py", line 452, in LoadLibrary return self._dlltype(name) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\ctypes__init.py", line 374, in init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 193] %1 no es una aplicación Win32 válida [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.