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

ModuleNotFoundError: No module named 'dateparser' #49

Open
alexander-paterson opened this issue Sep 12, 2022 · 4 comments
Open

ModuleNotFoundError: No module named 'dateparser' #49

alexander-paterson opened this issue Sep 12, 2022 · 4 comments

Comments

@alexander-paterson
Copy link

I've pulled the latest update, ran the requirements.txt file.

When I run python3 scrapeScenes.py I'm getting the following error:

Traceback (most recent call last):
  File "/srv/dev-disk-by-label-data/users/alex/git/stash_theporndb_scraper/scrapeScenes.py", line 19, in <module>
    import StashInterface
  File "/srv/dev-disk-by-label-data/users/alex/git/stash_theporndb_scraper/StashInterface.py", line 8, in <module>
    import dateparser
ModuleNotFoundError: No module named 'dateparser'
@4c0d3r
Copy link

4c0d3r commented Sep 12, 2022

The readme needs updated to reference: "pip install requirements.txt -r"

@alexander-paterson
Copy link
Author

If I run pip install requirements.txt -r I get the following message:

Usage:
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

-r option requires 1 argument

If I try pip install -r requirements.txt I get this output

Requirement already satisfied: Pillow==9.0.0 in /srv/dev-disk-by-label-data/users/alex/.local/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (9.0.0)
Requirement already satisfied: requests==2.27.1 in /srv/dev-disk-by-label-data/users/alex/.local/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (2.27.1)
Requirement already satisfied: charset-normalizer~=2.0.0 in /srv/dev-disk-by-label-data/users/alex/.local/lib/python3.9/site-packages (from requests==2.27.1->-r requirements.txt (line 2)) (2.0.12)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.27.1->-r requirements.txt (line 2)) (2020.6.20)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests==2.27.1->-r requirements.txt (line 2)) (1.26.5)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.27.1->-r requirements.txt (line 2)) (2.10)

Then if I run python3 scrapeScenes.py I'm getting the same error as my initial post.

@DirtyRacer1337
Copy link

pip install dateparser

blame @Darklyter, he forgot update requirements.txt

@Darklyter
Copy link

That's fair

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

4 participants