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

mkl service package failed to import #16

Open
paulllemke opened this issue Sep 13, 2020 · 3 comments
Open

mkl service package failed to import #16

paulllemke opened this issue Sep 13, 2020 · 3 comments

Comments

@paulllemke
Copy link

Hello there,

I have tried to get started in Python for quite some time. But I am starting to get frustrated, because it seems like I just can not get it to work.

The Error that caused my latest frustration will be discribed below, but if someone could tell me if that could be an indicator for an underlying problem that I need to solve. Also, if there is some etiquette I violated with this Issue, please let me know.

The following code should be fairly simple

import CoolProp
from CoolProp.CoolProp import PropsSI

PropsSI('T', 'P', 101325, 'Q', 0, 'Water')

The following issue turns up
PS C:\Users\paul_lemke\Documents\02_Python_Programme> & C:/01_Heruntergeladene_Programme/01_Anaconda/envs/py36/python.exe
c:/Users/paul_lemke/Documents/02_Python_Programme/.vscode/Fluid_Properties/Fluid_Property_simple.py
C:\01_Heruntergeladene_Programme\01_Anaconda\envs\py36\lib\site-packages\numpy_init_.py:138: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
from . import _distributor_init

I dont know what I am doing wrong and I will really appreciate every kind of help.

With best regards

@paulllemke
Copy link
Author

A little update:

I got it to run, but under a prerequisite I do not quite understand. I need to open the Conda-Prompt, then activate the environment I am working in and then open VSC via the Prompt. Otherwise it does not work. I would really like to know what my mistake here is

@ic-peiyanWang
Copy link

+1

@Su-yukun
Copy link

嗨,你好

我尝试开始使用 Python 已经有一段时间了。但我开始感到沮丧,因为我似乎就是无法让它发挥作用。

导致我最近挫败感的错误将在下面描述,但如果有人能告诉我这是否可以表明我需要解决的潜在问题。另外,如果我在这个问题上违反了一些礼仪,请告诉我。

以下代码应该相当简单

import CoolProp
from CoolProp.CoolProp import PropsSI

PropsSI('T', 'P', 101325, 'Q', 0, 'Water')

以下问题出现在PS C:\Users\paul_lemke\Documents\02_Python_Programme> & C:/01_Heruntergeladene_Programme/01_Anaconda/envs/py36/python.exe c:/Users/paul_lemke/Documents/02_Python_Programme/.vscode/Fluid_Properties/Fluid_Property_simple.py C:\01_Heruntergeladene_Programme\01_Anaconda\envs\py36\lib\site-packages\numpy__init__.py:138:UserWarning:mkl-service 包导入失败,因此无法保证 Intel(R) MKL 初始化在 Python 进程已加载 Gnu OpenMP 的情况下确保其正确的开箱即用操作。请安装 mkl-service 软件包,请参阅 http://github.com/IntelPython/mkl-service。导入_distributor_init

我不知道我做错了什么,我真的很感激每一种帮助。

致以最诚挚的问候

do you have finished this problem?

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

3 participants