尽管模块位于正确的文件路径中,但找不到模块的错误,我如何调用我需要用于 DOE 的新包?

问题描述

问题是 pydoepydoe2DOEpy 都不可导入。我已经尝试建立不同的 PATH,但它不会改变问题。它将软件包下载到一个路径并调用同一文件夹中的 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,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,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,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,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

此电脑中“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,ModuleNotFoundError: No module named 'doepy'

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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)