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

No such file or directory实在不太清楚缺少了啥 #26

Open
lpscq opened this issue Jan 3, 2023 · 1 comment
Open

No such file or directory实在不太清楚缺少了啥 #26

lpscq opened this issue Jan 3, 2023 · 1 comment

Comments

@lpscq
Copy link

lpscq commented Jan 3, 2023

D:\bandzip\WEB_KG-master\baike\spiders>python baike.py
Traceback (most recent call last):
File "baike.py", line 20, in
class BaikeSpider(scrapy.Spider):
File "baike.py", line 30, in BaikeSpider
driver = GraphDatabase.driver(
File "d:\ProgramData\Anaconda3\lib\site-packages\neo4j_init_.py", line 120, in driver
return Driver(uri, **config)
File "d:\ProgramData\Anaconda3\lib\site-packages\neo4j_init_.py", line 161, in new
return subclass(uri, **config)
File "d:\ProgramData\Anaconda3\lib\site-packages\neo4j_init_.py", line 235, in new
pool.release(pool.acquire())
File "d:\ProgramData\Anaconda3\lib\site-packages\neobolt\direct.py", line 715, in acquire
return self.acquire_direct(self.address)
File "d:\ProgramData\Anaconda3\lib\site-packages\neobolt\direct.py", line 608, in acquire_direct
connection = self.connector(address, error_handler=self.connection_error_handler)
File "d:\ProgramData\Anaconda3\lib\site-packages\neo4j_init_.py", line 232, in connector
return connect(address, **dict(config, **kwargs))
File "d:\ProgramData\Anaconda3\lib\site-packages\neobolt\direct.py", line 972, in connect
raise last_error
File "d:\ProgramData\Anaconda3\lib\site-packages\neobolt\direct.py", line 963, in connect
s, der_encoded_server_certificate = _secure(s, host, security_plan.ssl_context, **config)
File "d:\ProgramData\Anaconda3\lib\site-packages\neobolt\direct.py", line 854, in _secure
s = ssl_context.wrap_socket(s, server_hostname=host if HAS_SNI and host else None)
File "d:\ProgramData\Anaconda3\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "d:\ProgramData\Anaconda3\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "d:\ProgramData\Anaconda3\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
FileNotFoundError: [Errno 2] No such file or directory

@lpscq
Copy link
Author

lpscq commented Jan 3, 2023

哎呀我好像知道了我第29行没改

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