facing problem while connecting COOLPROP to MATLAB

1 回表示 (過去 30 日間)
NAVEED ULLAH
NAVEED ULLAH 2021 年 12 月 10 日
コメント済み: Walter Roberson 2022 年 5 月 9 日
Hello
I'm connecting COOLPROP to MATLAB, I'm facing following problem
anybody can guide as the first part of error regarding Visual C++ is resolved
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\naveed\\AppData\\Local\\Temp\\pip-install-53m155rc\\coolprop_07236e0689ba48689ef9f8f16b230931\\setup.py'"'"'; __file__='"'"'C:\\Users\\naveed\\AppData\\Local\\Temp\\pip-install-53m155rc\\coolprop_07236e0689ba48689ef9f8f16b230931\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\naveed\AppData\Local\Temp\pip-record-y84d4qdm\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\naveed\AppData\Roaming\Python\Python39\Include\CoolProp' Check the logs for full command output.
ans =
1
  6 件のコメント
Qi Nie
Qi Nie 2022 年 5 月 9 日
Hi, I have install C++ Build Tools. But it shows a new problem....could you give me some further instructions?
Thank you for your any help.
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\User\anaconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-mtwxryrr\\coolprop_e9d8ee8e791246dd92bcfb74465f2eff\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-mtwxryrr\\coolprop_e9d8ee8e791246dd92bcfb74465f2eff\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\User\AppData\Local\Temp\pip-record-vo3iilgv\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\User\AppData\Roaming\Python\Python39\Include\CoolProp' Check the logs for full command output.
Walter Roberson
Walter Roberson 2022 年 5 月 9 日
Apparently exit code 2 mans that some file was not found. It might possibly be C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe that was not found, but I am not certain from the error message.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by