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

Python version #88

Open
jvlavl opened this issue Dec 9, 2021 · 0 comments
Open

Python version #88

jvlavl opened this issue Dec 9, 2021 · 0 comments

Comments

@jvlavl
Copy link

jvlavl commented Dec 9, 2021

Hello,

What version of python must I use?
when I use python 3.9 I get the following errors

working...
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/home/john.vanlit/Desktop/btbnc/new_listings_scraper.py", line 69, in search_and_update
latest_coin = get_last_coin()
File "/home/john.vanlit/Desktop/btbnc/new_listings_scraper.py", line 23, in get_last_coin
latest_announcement = driver.find_element(By.ID, 'link-0-0-p1')
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 1012, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute
self.error_handler.check_response(response)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="link-0-0-p1"]"}
(Session info: headless chrome=96.0.4664.45)

Thanks for the advice

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

No branches or pull requests

1 participant