shivamguys/irctc-cypress-automation

python3' is not recognized as an internal or external command, operable program or batch file.

Opened this issue · 3 comments

Hello bro @shivamguys
I've configured the setup in my windows system.
And after performing the last command ("npx cypress run --headed --no-exit") im getting this error.
Can you please help
the below error is coming for when "MANUAL_CAPTCHA": false
If you configure the "MANUAL_CAPTCHA": true then no error is coming.

Screenshot (998)
Screenshot (999)

CypressError
cy.exec('python3 irctc-captcha-solver/app.py "data:image/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAMsAAAAyCAYAAADyZi/iAAAEcklEQVR42u2cX0ReYRzHk7wyr5FkkolkMknMdJGZ0cWri+kmM5mZMUmSjEkyk91MF0k3M8lMYtLFZGLSxS4mkukiE8kku4hkkiTePceeOPvtd857/rzn/J73fb4fHtH7PM/3+Z1zvuec5/c871tRAQAAAAAAAAAAAAAAAAAAAMqOfDDOVTlVZVuVj6oMqlJvyPjXyVhHi9TvGOl33SRtYK5ZOC5UmVIlKzz+Z2Rcu0Xqd5f022+SNigts1zyXZVawfFf0U8+N3di9nmX9HfG3RQktYEBZvGpl1WlR5UlxjCfhGOYJeOZi9nfHOlv1kRtYKhZSJvHjGE6BWPoZOZY2Yh9ZcM8LSS1QQmYxeMO+E44jh9kPAMR+xkg/eyYrA28D2ZOX6RbOjt14cpSOf/vStEs9+jcRTIeVfc5Gc9GxGO8Qfp5YbI24C/MnRAT7tYUzJIhTU8l41F16rTZ3LSHPM5tTMbvmsna4N+DOBIhQ/XbuSCTNAvT9lw6HifRQNpNh4xnKmriQlIb/D2A/czdZkbfmTOuO3yvKpuk7pEqTSY9WZKOR7/W0TZVAeOpUuWYtO8O+Uopog2j5PMtJDNyqMptn/qVqiyQA76c4pxlUzoe3WaftHkUMJ4+0u7A6S/E8RDThln+f6wHeQ3JMJmZ1oTMQi/kSUPimSD11wLGs0ravY5wzsS0bTZKEzl4KzFe3SaKbRZmm4fzOnXDkHiamTlPode3RqZNc4TzJqZts1loKvJhiLbXSdsvxTCL3tpxn3lCOIybEo9usxbSYK+iPBFM07bVLIvkALbEyFIdhzFLBMZNikfXpzsM9gvU/0nqP4lx7sS0bTXLHrOZrlDx4iwhs3wOup6TZjw+2aWcR90uJk2diXHuxLRtNctpvogkZBYnszVsWjwuzekg6xb6+zmR10dM07bRLHkps/hkpbo9dhy/NCkel2Y7k4SoI3Vq4668m6Zto1noztPKtIwZoD63Ap8zJR6iSxc2R8jnw+TzrXLQts0sR3EmxEmaRbeZp5NYVapNiIfoDhLdbfL5Fvl8qBy0bTMLTc8+MMwstYwBxk2Ih+hy3w/p1J91MHOwq+WgbZtZaO590SSz6HajNKWrSo10PIz2e+6bh+rvW/L/+XLStsksrcydp9Ews1TrPUwFt2mkGQ+jzX2nvUaVk7Dbb0pJ2zbDrKaxshtzi/4QczHUS8bjoU1/LYWusu+Vo7ZNZrnJLM4tBf1+t76rrSZslkrmYpiRjMej7VjcXQgxzqOYtm2G4X4Y4kDPF25dpmD1Rdugf31l0n0BJ2kW3b6PWVNolorHQ7eeWdNwj7chwXMopm2jYZ76HOzYC3hxzaL7oGnQBal4fHSXPbpcSeEcimnbOuH/GvLXIp2tFB0pmSXHjKFNIh4fzR6PvntTOH9i2jabxnlVeeNsU9eb7i50ZulE/+7uB2cNwyuFm5RZdD/fImylL3o8BeZXv8gYD9PYTSCpDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABKhD8lu4X3CUcbRQAAAABJRU5ErkJggg=="') failed because the command exited with a non-zero code.

Pass {failOnNonZeroExit: false} to ignore exit code failures.

Information about the failure:
Code: 1

Stderr:
'python3' is not recognized as an internal or external command,
operable program or batch file.

@Suraj0795 Hye Suraj ! Do One onething in the code line in place of Python3 or Python do it py

@Suraj0795 in the cypress>support>commands.js

After coming to Commands.js in the line no. may be 64,172 replace python3 by py