Apr-25-2024, 07:52 AM
(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.
>>>import subprocess
>>>subprocess.check_call([sys.executable, "-m", "pip", "install", "cucumber-cpp"])
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"])