0

问题是 , 或 都不pyDOEpyDOE2DOEpy导入的。我已经尝试建立不同PATH的 s 但它不会改变问题。它将包下载到一个路径并python.exe在同一个文件夹中调用,至少我认为因为我无法AppData手动访问,只能通过 URL。我篡改了文件路径,我遇到了一些独特的问题,SSL但我不知道这意味着什么:

安装软件包以查找文件路径时出错:

C:\Users\waw29>python -m pip install doepy WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. WARNING: 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/doepy/ WARNING: 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/doepy/ WARNING: 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/doepy/ WARNING: 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/doepy/ WARNING: 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/doepy/ Could not fetch URL https://pypi.org/simple/doepy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/doepy/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping ERROR: Could not find a version that satisfies the requirement doepy ERROR: No matching distribution found for doepy

此 PC 中“PATH”的高级计算机设置上的文件路径:

C:\Users\waw29\anaconda3\python.exe

安装软件包时命令提示符的文件路径:

c:\users\waw29\anaconda3\lib\site-packages (1.19.2)

迄今为止发现的最有用的教程代码:

pip install numpy
pip install pandas
pip install pydoe
pip install diversipy

pip install doepy

我到目前为止的代码:

from doepy import build
build.full_fact(
{'Effective Anisotropic Constant (J/m^3)':[500, 1000, 1500, 2000, 2500], 
'Volume of Nanoparticle(m^3)':[5*10**(-25),1.05*10**(-23),2.05*10**(23),3.05*10**(23),4.05*10**(23)], 
'Physiological Temperature (K)':[309, 310, 311, 312, 313, 314],
'Attempt Time of Metal(s)':[1*10**(-10),3*10**(-10),5*10**(-10),7*10**(-10),9*10**(-10)]}
)

错误信息:

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-8d9fcf1d5281> in <module>
     16 #python get-pip.py
     17 
---> 18 from doepy import build
     19 build.full_fact(
     20 {'Effective Anisotropic Constant (J/m^3)':[500, 1000, 1500, 2000, 2500], 

ModuleNotFoundError: No module named 'doepy'

注意:我有 Windows 操作系统和最新的 Python pip/setup 轮等。

4

0 回答 0