facing problem while connecting COOLPROP to MATLAB

2 visualizaciones (últimos 30 días)
NAVEED ULLAH
NAVEED ULLAH el 10 de Dic. de 2021
Comentada: Walter Roberson el 9 de Mayo de 2022
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 comentarios
Qi Nie
Qi Nie el 9 de Mayo de 2022
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 el 9 de Mayo de 2022
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by