Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'staffspy.utils.driver_type' #44

Closed
VictorBauler opened this issue Oct 16, 2024 · 0 comments · Fixed by #45
Closed

ModuleNotFoundError: No module named 'staffspy.utils.driver_type' #44

VictorBauler opened this issue Oct 16, 2024 · 0 comments · Fixed by #45

Comments

@VictorBauler
Copy link

VictorBauler commented Oct 16, 2024

Traceback (most recent call last):

Cell In[2], line 2
1 from pathlib import Path
----> 2 import staffspy

File ~/.venv/lib/python3.11/site-packages/staffspy/init.py:3
1 import pandas as pd
----> 3 from staffspy.linkedin.linkedin import LinkedInScraper
4 from staffspy.utils.models import Staff
5 from staffspy.solvers.capsolver import CapSolver

File ~/.venv/lib/python3.11/site-packages/staffspy/linkedin/linkedin.py:15
11 from urllib.parse import quote, unquote
13 import requests
---> 15 import staffspy.utils.utils as utils
16 from staffspy.utils.exceptions import TooManyRequests, BadCookies, GeoUrnNotFound
17 from staffspy.linkedin.certifications import CertificationFetcher

File ~/.venv/lib/python3.11/site-packages/staffspy/utils/utils.py:16
13 from tenacity import stop_after_attempt, retry_if_exception_type, retry, RetryError
15 from staffspy.solvers.solver import Solver
---> 16 from staffspy.utils.driver_type import DriverType, BrowserType
17 from staffspy.utils.exceptions import BlobException
19 logger = logging.getLogger("StaffSpy")

ModuleNotFoundError: No module named 'staffspy.utils.driver_type'"

I think you forgot to create the driver_type file in utils.

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

Successfully merging a pull request may close this issue.

1 participant