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 · 2 comments
Open

mkl service package failed to import #16

paulllemke opened this issue Sep 13, 2020 · 2 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

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

2 participants