Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cucumber installation
#3
(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"])
Reply


Messages In This Thread
Cucumber installation - by SDS - Apr-24-2024, 10:24 PM
RE: Cucumber installation - by sawtooth500 - Apr-25-2024, 02:47 AM
RE: Cucumber installation - by SandraYokum - Apr-25-2024, 07:52 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020