New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: 'c:\Users\ASUS' is not recognized as an internal or external command, operable program or batch file. #1561
[Question]: 'c:\Users\ASUS' is not recognized as an internal or external command, operable program or batch file. #1561
Comments
This looks like the same issue from #1355 (comment). If so, can you try the suggested fix there? |
unfortunately, it doesn't work. |
Can you try installing another python package (e.g. https://docs.pytest.org/en/7.1.x/getting-started.html)? If that CLI command ( |
in addition to the above, please also try |
installing other python packages work but I found something weird
|
I'm not sure. Are there any spaces in the directory names along the path to your virtual env? Rather, what's the full path to your venv? |
I found the solution 2- Go change the python path, change the user folder name from the old to the new one. 3- now you need just to use "python -m playwright install" |
I think changing the user folder name will have some new issues because a lot of tools or softwares that are set to the old user folder name. like for example changing export to some tools to the new. |
I tried to uninstall then install, it didn't work |
I saw that file but I didn't open it, I wouldn't even know what to do if I opened it anyway. |
I already solved the problem when I changed the user folder name from "asus vivobook 17" to "realman" |
Using Playwright (1.29.0, Python 3.10.2 on Windows 11) from
I have changed the @echo off
setlocal
if not defined PLAYWRIGHT_NODEJS_PATH (
set PLAYWRIGHT_NODEJS_PATH="%~dp0\node.exe"
)
""%PLAYWRIGHT_NODEJS_PATH%"" "%~dp0\package\lib\cli\cli.js" %* After that, the error went away, so I can confirm that @funnydevdotvn's solution works for me. Thanks! 🎉 |
Your question
Peace, hi
1- created a virualenv
2- installed successfully playwright by "pip install playwright"
3- try to install playwright driver by "playwright install"
it gives me this output:
'""c:\Users\ASUS' is not recognized as an internal or external command,
operable program or batch file.
python version 3.10.6
The text was updated successfully, but these errors were encountered: