Gauge python isn't working on python3.9November 18, 2020 at 9:13am
Hi, i've installed python3.9 and it seems that gauge with python doesn't work. Even if i run the default gauge project, i'm receiving Step implementation not found OS: Debian GNU/Linux 10
gauge --versionGauge version: 1.1.5Commit Hash: f455126Plugins-------flash (0.0.2)html-report (4.0.12)python (0.3.12)screenshot (0.0.1)xml-report (0.2.3)
python -m pip show getgaugeName: getgaugeVersion: 0.3.12Summary: Enables Python support for GaugeHome-page: https://github.com/getgauge/gauge-pythonAuthor: Gauge TeamAuthor-email: [email protected]License: MITLocation: /home/florinalex/automation/python3_venv/lib/python3.9/site-packagesRequires: redBaron, parso, debugpy, grpcio, protobuf, sixRequired-by:
python --versionPython 3.9.0
And the output when running gauge run specs/
gauge run specs/Python: 3.9.0[ValidationError] /home/florinalex/automation/test/specs/example.spec:11 Step implementation not found => 'Vowels in English language are "aeiou".'[ValidationError] /home/florinalex/automation/test/specs/example.spec:17 Step implementation not found => 'The word "gauge" has "3" vowels.'[ValidationError] /home/florinalex/automation/test/specs/example.spec:26 Step implementation not found => 'Almost all words have vowels <table>'Add the following missing implementations to fix `Step implementation not found` errors.@step("Vowels in English language are <aeiou>.")def ykpyfs(aeiou):assert False, "Add implementation code"@step("The word <gauge> has <3> vowels.")def quclge(gauge, arg2):assert False, "Add implementation code"@step("Almost all words have vowels <table>")def almost_all_words_have_vowels(table):assert False, "Add implementation code"Successfully generated html-report to => /home/florinalex/automation/test/reports/html-report/index.html
Any ideas? Thank you
November 19, 2020 at 11:55am
Can you try re-installing all the requirements using
pip3 install -r requirements.txt
I noticed failures as grpc library used by Gauge may not be fixed yet for python 3.9. So this will take time until grpc team publishes the official binaries.
For now please use a lower version of python that works with Gauge.