-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[BUG] - FileNotFoundError: [Errno 2] No such file or directory:python3.9/site-packages/playwright/driver/playwright-cli' #4800
Comments
Unfortunately, we are not able to reproduce this issue. Could you please share detailed log of all commands you run and their output? Something like this: $ pip install playwright
Collecting playwright
Downloading playwright-0.171.0-py3-none-manylinux1_x86_64.whl (65.6 MB)
|████████████████████████████████| 65.6 MB 818 kB/s
Collecting typing-extensions
Using cached typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting greenlet==1.0a1
Using cached greenlet-1.0a1-cp38-cp38-manylinux2010_x86_64.whl (165 kB)
Collecting pyee>=8.0.1
Using cached pyee-8.1.0-py2.py3-none-any.whl (12 kB)
Installing collected packages: typing-extensions, greenlet, pyee, playwright
Successfully installed greenlet-1.0a1 playwright-0.171.0 pyee-8.1.0 typing-extensions-3.7.4.3
$ python -m playwright install |
Just tried to run it in docker run -it --rm --ipc=host ubuntu:bionic
#Then inside docker:
cd
apt-get update
apt-get install python3.8 python3.8-dev python3.8-distutils python3.8-venv
python3.8 -m venv dev3.8/
source dev3.8/bin/activate
pip install playwright
python -m playwright install It may also be because of python3.9, how did you install it? |
in docker everyting was ok till:
traceback in virtual env out of doker:
Also same with python 3.8 |
Can you upload full script that you run in Docker? Otherwise it's hard to tell what's going on there. Docker environment is repeatable so if it fails for you it will fail for others as well. |
@mikegrep are you running it on a Raspberry PI because it is i368? Playwright and Playwright for Python does not support this architecture. |
@mxschmitt No is lapotop pc i386.
Doker:
|
@mikegrep only the Linux x86_64 architecture is currently supported (64 bit). Thats the reason why it's not working. |
I will accept this hope soon to support and 32bit systems |
I am still getting this error: My Python version 3.9.1
|
trying to install python -m playwright install on Ubuntu 18.04 Python3.9 i368 got this error message
FileNotFoundError: [Errno 2] No such file or directory: '/home/pc/tiktokbot/TikTok-Api/venv/lib/python3.9/site-
packages/playwright/driver/playwright-cli'
same and without virtualenv
npm insatll:
npm ERR! Linux 4.15.0-128-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "-D" "playwright"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! playwright@1.7.0 install:
node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the playwright@1.7.0 install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the playwright package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs playwright
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls playwright
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pc/tiktokbot/TikTok-Api/npm-debug.log
The text was updated successfully, but these errors were encountered: