Skip to content

mkl service package failed to import #16

Description

@paulllemke

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

Activity

  1. paulllemke commented on Sep 15, 2020

    @paulllemke
    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

  2. ic-peiyanWang commented on Oct 30, 2022

    @ic-peiyanWang

    +1

  3. Su-yukun commented on Nov 21, 2024

    @Su-yukun

    嗨,你好

    我尝试开始使用 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions