版本:Anaconda3-2021.05-Windows-x86_64、IDEA 2018.3.3
一、IDEA安装Python插件
二、安装Anaconda3
Anaconda3-2021.05-Windows-x86_64,官网下载安装即可,不再赘述。
三、配置SDK
四、安装必要的库
安装完Anaconda之后,可以通过Anaconda的命令行pip、虚拟env中的pip或IDEA来安装所需要的模块(根据SDK的配置决定到底使用哪个),但却发现有报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Collecting pandas Could not fetch URL https://pypi.org/simple/pandas/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pandas/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pandas/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pandas/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pandas/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pandas/ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pandas/ Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. |
到https://slproweb.com/products/Win32OpenSSL.html,如图下载安装如下的东西即可:
转载时请保留出处,违法转载追究到底:进城务工人员小梅 » IDEA下Python环境的建立