Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Spelling for installs in requirements.txt (underscore, hyphen, one word) #703

Open
emilrueh opened this issue Aug 17, 2023 · 2 comments
Open

Comments

@emilrueh
Copy link

emilrueh commented Aug 17, 2023

Hi, I am getting an issue with installing seleniumwire via requirements.txt.
I have created requirements.txt via pipreqs and it specified it to selenium_wire==5.1.0.

This is confusing as once we write it with an:

  • underscore: selenium_wire==5.1.0
  • when installing via pip we use a hypen: pip install selenium-wire
  • and when importing we write it as one word: from seleniumwire import webdriver

Is there a way to streamline and align the spelling of the library?
What is the correct spelling for specification in requirements.txt?

Thanks!

@dina809
Copy link

dina809 commented Aug 30, 2023

@emilrueh - i just today installed selenium-wire==5.1.0 in my requirements file (with the hyphen)

@emilrueh
Copy link
Author

@dina809 that's interesting. I was just going from what pipreqs created which was the underscore version.
Were you aware of the possibility to spell certain libs in different ways?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants