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

Cannot do "pip install libais" on Windows 10 #205

Open
LamaElnaggar opened this issue Aug 10, 2020 · 0 comments
Open

Cannot do "pip install libais" on Windows 10 #205

LamaElnaggar opened this issue Aug 10, 2020 · 0 comments

Comments

@LamaElnaggar
Copy link

When executing the command, I get the following error that requires installation of Microsoft Visual C++ 14.0.
I attempt to install that with the following steps. Yet I still get the same error message. I am trying to run that on Windows 10.

  1. Go here : https://visualstudio.microsoft.com/downloads/ and download Microsoft Visual Build tools C++.
  2. Install packages ( Windows 10 SDK and C++ Clang-cl for v142 build tools (x64/x86))
  3. Run the command "pip install libais" again. Nothing happens. Same error.

ERROR: Command errored out with exit status 1: command: 'c:\users\elnaggarl\desktop\project-38\ais_env\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\elnaggarl\\AppData\\Local\\Temp\\2\\pip-install-af3z_q1p\\libais\\setup.py'"'"'; __file__='"'"'C:\\Users\\elnaggarl\\AppData\\Local\\Temp\\2\\pip-install-af3z_q1p\\libais\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\elnaggarl\AppData\Local\Temp\2\pip-record-535uss6y\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\elnaggarl\desktop\project-38\ais_env\include\site\python3.8\libais' cwd: C:\Users\elnaggarl\AppData\Local\Temp\2\pip-install-af3z_q1p\libais\ Complete output (30 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\ais copying ais\io.py -> build\lib.win-amd64-3.8\ais copying ais\lut.py -> build\lib.win-amd64-3.8\ais copying ais\nmea.py -> build\lib.win-amd64-3.8\ais copying ais\nmea_messages.py -> build\lib.win-amd64-3.8\ais copying ais\nmea_queue.py -> build\lib.win-amd64-3.8\ais copying ais\stats.py -> build\lib.win-amd64-3.8\ais copying ais\tag_block.py -> build\lib.win-amd64-3.8\ais copying ais\uscg.py -> build\lib.win-amd64-3.8\ais copying ais\util.py -> build\lib.win-amd64-3.8\ais copying ais\vdm.py -> build\lib.win-amd64-3.8\ais copying ais\__init__.py -> build\lib.win-amd64-3.8\ais creating build\lib.win-amd64-3.8\ais\compatibility copying ais\compatibility\gpsd.py -> build\lib.win-amd64-3.8\ais\compatibility copying ais\compatibility\__init__.py -> build\lib.win-amd64-3.8\ais\compatibility creating build\lib.win-amd64-3.8\ais\stream copying ais\stream\checksum.py -> build\lib.win-amd64-3.8\ais\stream copying ais\stream\__init__.py -> build\lib.win-amd64-3.8\ais\stream creating build\lib.win-amd64-3.8\test creating build\lib.win-amd64-3.8\test\compatibility copying test\compatibility\gpsd_test.py -> build\lib.win-amd64-3.8\test\compatibility copying test\compatibility\__init__.py -> build\lib.win-amd64-3.8\test\compatibility running build_ext building '_ais' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\elnaggarl\desktop\project-38\ais_env\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\elnaggarl\\AppData\\Local\\Temp\\2\\pip-install-af3z_q1p\\libais\\setup.py'"'"'; __file__='"'"'C:\\Users\\elnaggarl\\AppData\\Local\\Temp\\2\\pip-install-af3z_q1p\\libais\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\elnaggarl\AppData\Local\Temp\2\pip-record-535uss6y\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\elnaggarl\desktop\project-38\ais_env\include\site\python3.8\libais' Check the logs for full command output.

@LamaElnaggar LamaElnaggar changed the title Cannot do "pip install libais" Cannot do "pip install libais" on Windows 10 Aug 10, 2020
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

1 participant