facing problem while connecting COOLPROP to MATLAB
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 10 Dic 2021
Modificato: Walter Roberson
il 9 Mag 2022
NAVEED ULLAH
il 10 Dic 2021
Qi Nie
il 9 Mag 2022
Hi, I installed Visual Studio Code. But still appear problems. Is there any other solutions? Thanks a lot.
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:\Users\User\anaconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-k6uacvy3\\coolprop_b8ef76db2c8a43fe9b5db9b374406d17\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-k6uacvy3\\coolprop_b8ef76db2c8a43fe9b5db9b374406d17\\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-ruww6q9q\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
il 9 Mag 2022
My earlier link shows that you also have to install C++ Build Tools.
Qi Nie
il 9 Mag 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
il 9 Mag 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.
Risposte (0)
Categorie
Scopri di più su Structured Data and XML Documents in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!