menu
Channels
# All channels
view-forward
# General
view-forward
# Meta
view-forward
# News
view-forward
Team

Gauge python isn't working on python3.9

November 18, 2020 at 9:13am
The Gauge community has a new home. This thread is preserved for historical purposes. The content of this conversation may be innaccurrate or out of date. Go to new community home →

Gauge python isn't working on python3.9

November 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 --version
Gauge version: 1.1.5
Commit Hash: f455126
Plugins
-------
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 getgauge
Name: getgauge
Version: 0.3.12
Summary: Enables Python support for Gauge
Home-page: https://github.com/getgauge/gauge-python
Author: Gauge Team
Author-email: [email protected]
License: MIT
Location: /home/florinalex/automation/python3_venv/lib/python3.9/site-packages
Requires: redBaron, parso, debugpy, grpcio, protobuf, six
Required-by:
python --version
Python 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.
Edited
  • reply
  • like
Ok, i understand, i'll move back to python 3.7
  • reply
  • like
Thank you
  • reply
  • like