You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should see the error come up , ModuleNotFoundError: No module named 'playwright._repo_version'
Expected behavior
I expected that the program works well. but now the program is terminated by the bug.
Actual behavior
Traceback (most recent call last):
File "E:\Github_model\Playwright\playwright-python-main\Test_liepin.py", line 2, in
from playwright.sync_api import Playwright, sync_playwright, expect
File "E:\Github_model\Playwright\playwright-python-main\playwright\sync_api_init_.py", line 25, in
import playwright.sync_api._generated
File "E:\Github_model\Playwright\playwright-python-main\playwright\sync_api_generated.py", line 21, in
from playwright._impl._accessibility import Accessibility as AccessibilityImpl
File "E:\Github_model\Playwright\playwright-python-main\playwright_impl_accessibility.py", line 17, in
from playwright._impl._connection import Channel
File "E:\Github_model\Playwright\playwright-python-main\playwright_impl_connection.py", line 44, in
from playwright._impl._transport import Transport
File "E:\Github_model\Playwright\playwright-python-main\playwright_impl_transport.py", line 24, in
from playwright._impl._driver import compute_driver_executable, get_driver_env
File "E:\Github_model\Playwright\playwright-python-main\playwright_impl_driver.py", line 22, in
from playwright._repo_version import version
ModuleNotFoundError: No module named 'playwright._repo_version'
Version
1.49
Steps to reproduce
Example steps (replace with your own):
Expected behavior
I expected that the program works well. but now the program is terminated by the bug.
Actual behavior
Traceback (most recent call last):
File "E:\Github_model\Playwright\playwright-python-main\Test_liepin.py", line 2, in
from playwright.sync_api import Playwright, sync_playwright, expect
File "E:\Github_model\Playwright\playwright-python-main\playwright\sync_api_init_.py", line 25, in
import playwright.sync_api._generated
File "E:\Github_model\Playwright\playwright-python-main\playwright\sync_api_generated.py", line 21, in
from playwright._impl._accessibility import Accessibility as AccessibilityImpl
File "E:\Github_model\Playwright\playwright-python-main\playwright_impl_accessibility.py", line 17, in
from playwright._impl._connection import Channel
File "E:\Github_model\Playwright\playwright-python-main\playwright_impl_connection.py", line 44, in
from playwright._impl._transport import Transport
File "E:\Github_model\Playwright\playwright-python-main\playwright_impl_transport.py", line 24, in
from playwright._impl._driver import compute_driver_executable, get_driver_env
File "E:\Github_model\Playwright\playwright-python-main\playwright_impl_driver.py", line 22, in
from playwright._repo_version import version
ModuleNotFoundError: No module named 'playwright._repo_version'
Additional context
I tried to use virtualenv, but it also failed.
Environment
The text was updated successfully, but these errors were encountered: