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

What OS are you running?
SandraYokum likes this post
Reply
#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


Forum Jump:

User Panel Messages

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