小弟是买爬虫的书想跟着操作边学的
之前也没用过python
想问的是
装好anaconda 跟pycharm
第一个抓网页标题的程式
在anaconda的command line执行结果正常
但在pycharm上 出现下列结果
试着搜寻但还是不会解决
不确定是不是环境设定的问题
结果如下
Traceback (most recent call last):
File "D:\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 588, i
n urlopen
conn = self._get_conn(timeout=pool_timeout)
File "D:\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 248, i
n _get_conn
return conn or self._new_conn()
File "D:\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 816, i
n _new_conn
raise SSLError("Can't connect to HTTPS URL because the SSL "
urllib3.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module
is not available.
During handling of the above exception, another exception occurred:
之后重复的error还有requests的套件
刚开始就遇到不会解决的困难orz
想知道这是哪里出错
希望大大们帮助
感谢