Cucumber installation - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Cucumber installation (/thread-42027.html) |
Cucumber installation - SDS - Apr-24-2024 I am getting an error message when I try to install cucumber when using the following command. Any assistance would be greatly appreciated. >>>import subprocess >>>subprocess.check_call([sys.executable, "-m", "pip", "install", "cucumber-cpp"]) RE: Cucumber installation - sawtooth500 - Apr-25-2024 What is your error message? What OS are you running? RE: Cucumber installation - SandraYokum - Apr-25-2024 (Apr-24-2024, 10:24 PM)SDS Wrote: I am getting an error message when I try to install cucumber when using the following command. Any assistance would be greatly appreciated. Hi! I did't understand the error. But if this is what I thought, then maybe try my advice. If you want to use Cucumber in a Python environment, you might want to use behave, which is a BDD (Behavior-Driven Development) framework similar to Cucumber. import subprocess import sys subprocess.check_call([sys.executable, "-m", "pip", "install", "behave"]) |