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
(venv) D:\feapder-master>feapder create -p chenge_yc_spider
Traceback (most recent call last):
File "D:\py37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "D:\py37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\python_env\venv\Scripts\feapder.exe_main.py", line 4, in
from feapder.commands.cmdline import execute
File "d:\python_env\venv\lib\site-packages\feapder_init.py", line 30, in
from feapder.core.spiders import Spider, BatchSpider, AirSpider, TaskSpider
File "d:\python_env\venv\lib\site-packages\feapder\core\spiders_init_.py", line 13, in
from feapder.core.spiders.air_spider import AirSpider
File "d:\python_env\venv\lib\site-packages\feapder\core\spiders\air_spider.py", line 18, in
from feapder.core.parser_control import AirSpiderParserControl
File "d:\python_env\venv\lib\site-packages\feapder\core\parser_control.py", line 23, in
from feapder.network.request import Request
File "d:\python_env\venv\lib\site-packages\feapder\network\request.py", line 22, in
from feapder.network.downloader.base import Downloader, RenderDownloader
File "d:\python_env\venv\lib\site-packages\feapder\network\downloader_init_.py", line 3, in
from .selenium import SeleniumDownloader
File "d:\python_env\venv\lib\site-packages\feapder\network\downloader_selenium.py", line 15, in
from feapder.utils.webdriver import WebDriverPool, SeleniumDriver
File "d:\python_env\venv\lib\site-packages\feapder\utils\webdriver_init.py", line 10, in
from .playwright_driver import PlaywrightDriver
File "d:\python_env\venv\lib\site-packages\feapder\utils\webdriver\playwright_driver.py", line 23, in
from playwright.sync_api import Page, BrowserContext, ViewportSize, ProxySettings
File "d:\python_env\venv\lib\site-packages\playwright\sync_api_init_.py", line 25, in
import playwright.sync_api._generated
File "d:\python_env\venv\lib\site-packages\playwright\sync_api_generated.py", line 25, in
from playwright._impl._accessibility import Accessibility as AccessibilityImpl
File "d:\python_env\venv\lib\site-packages\playwright_impl_accessibility.py", line 17, in
from playwright._impl.connection import Channel
File "d:\python_env\venv\lib\site-packages\playwright_impl_connection.py", line 35, in
from pyee import EventEmitter
File "d:\python_env\venv\lib\site-packages\pyee_init.py", line 120, in
from pyee.trio import TrioEventEmitter as TrioEventEmitter # noqa
File "d:\python_env\venv\lib\site-packages\pyee\trio.py", line 7, in
import trio
File "d:\python_env\venv\lib\site-packages\trio_init.py", line 19, in
from .core import TASK_STATUS_IGNORED as TASK_STATUS_IGNORED # isort: skip
File "d:\python_env\venv\lib\site-packages\trio_core_init.py", line 21, in
from ._local import RunVar
File "d:\python_env\venv\lib\site-packages\trio_core_local.py", line 5, in
from . import run
File "d:\python_env\venv\lib\site-packages\trio_core_run.py", line 23, in
from outcome import Error, Outcome, Value, capture
File "d:\python_env\venv\lib\site-packages\outcome_init.py", line 3, in
from ._impl import (
File "d:\python_env\venv\lib\site-packages\outcome_impl.py", line 194, in
class Error(Outcome[NoReturn]):
File "D:\py37\lib\typing.py", line 251, in inner
return func(*args, **kwds)
File "D:\py37\lib\typing.py", line 824, in class_getitem
params = tuple(_type_check(p, msg) for p in params)
File "D:\py37\lib\typing.py", line 824, in
params = tuple(_type_check(p, msg) for p in params)
File "D:\py37\lib\typing.py", line 135, in _type_check
raise TypeError(f"Plain {arg} is not valid as type argument")
TypeError: Plain typing.NoReturn is not valid as type argument
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
(venv) D:\feapder-master>feapder create -p chenge_yc_spider
Traceback (most recent call last):
File "D:\py37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "D:\py37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\python_env\venv\Scripts\feapder.exe_main.py", line 4, in
from feapder.commands.cmdline import execute
File "d:\python_env\venv\lib\site-packages\feapder_init.py", line 30, in
from feapder.core.spiders import Spider, BatchSpider, AirSpider, TaskSpider
File "d:\python_env\venv\lib\site-packages\feapder\core\spiders_init_.py", line 13, in
from feapder.core.spiders.air_spider import AirSpider
File "d:\python_env\venv\lib\site-packages\feapder\core\spiders\air_spider.py", line 18, in
from feapder.core.parser_control import AirSpiderParserControl
File "d:\python_env\venv\lib\site-packages\feapder\core\parser_control.py", line 23, in
from feapder.network.request import Request
File "d:\python_env\venv\lib\site-packages\feapder\network\request.py", line 22, in
from feapder.network.downloader.base import Downloader, RenderDownloader
File "d:\python_env\venv\lib\site-packages\feapder\network\downloader_init_.py", line 3, in
from .selenium import SeleniumDownloader
File "d:\python_env\venv\lib\site-packages\feapder\network\downloader_selenium.py", line 15, in
from feapder.utils.webdriver import WebDriverPool, SeleniumDriver
File "d:\python_env\venv\lib\site-packages\feapder\utils\webdriver_init.py", line 10, in
from .playwright_driver import PlaywrightDriver
File "d:\python_env\venv\lib\site-packages\feapder\utils\webdriver\playwright_driver.py", line 23, in
from playwright.sync_api import Page, BrowserContext, ViewportSize, ProxySettings
File "d:\python_env\venv\lib\site-packages\playwright\sync_api_init_.py", line 25, in
import playwright.sync_api._generated
File "d:\python_env\venv\lib\site-packages\playwright\sync_api_generated.py", line 25, in
from playwright._impl._accessibility import Accessibility as AccessibilityImpl
File "d:\python_env\venv\lib\site-packages\playwright_impl_accessibility.py", line 17, in
from playwright._impl.connection import Channel
File "d:\python_env\venv\lib\site-packages\playwright_impl_connection.py", line 35, in
from pyee import EventEmitter
File "d:\python_env\venv\lib\site-packages\pyee_init.py", line 120, in
from pyee.trio import TrioEventEmitter as TrioEventEmitter # noqa
File "d:\python_env\venv\lib\site-packages\pyee\trio.py", line 7, in
import trio
File "d:\python_env\venv\lib\site-packages\trio_init.py", line 19, in
from .core import TASK_STATUS_IGNORED as TASK_STATUS_IGNORED # isort: skip
File "d:\python_env\venv\lib\site-packages\trio_core_init.py", line 21, in
from ._local import RunVar
File "d:\python_env\venv\lib\site-packages\trio_core_local.py", line 5, in
from . import run
File "d:\python_env\venv\lib\site-packages\trio_core_run.py", line 23, in
from outcome import Error, Outcome, Value, capture
File "d:\python_env\venv\lib\site-packages\outcome_init.py", line 3, in
from ._impl import (
File "d:\python_env\venv\lib\site-packages\outcome_impl.py", line 194, in
class Error(Outcome[NoReturn]):
File "D:\py37\lib\typing.py", line 251, in inner
return func(*args, **kwds)
File "D:\py37\lib\typing.py", line 824, in class_getitem
params = tuple(_type_check(p, msg) for p in params)
File "D:\py37\lib\typing.py", line 824, in
params = tuple(_type_check(p, msg) for p in params)
File "D:\py37\lib\typing.py", line 135, in _type_check
raise TypeError(f"Plain {arg} is not valid as type argument")
TypeError: Plain typing.NoReturn is not valid as type argument
Beta Was this translation helpful? Give feedback.
All reactions