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

installation issues #38

Open
tregua87 opened this issue Jul 22, 2017 · 2 comments
Open

installation issues #38

tregua87 opened this issue Jul 22, 2017 · 2 comments

Comments

@tregua87
Copy link

Hi!
I am trying to install pdbparse on a Windows 10 machine, I have python 3.6 installed and I have also installed Visual Studio 2015 with C++ (and C++ programs are built properly).

I launch a classic pip installation like:

pip install pdbparse

As error I got:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\flavio\AppData\Local\Programs\Python\Python36\include -IC:\Users\flavio\AppData\Local\Programs\Python\Python36\include /Tcsrc/undname.c /Fobuild\temp.win-amd64-3.6\Release\src/undname.obj undname.c src/undname.c(22): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe' failed with exit status 2

I tryied also to compile the last version from repo by using python setup.py build. Getting the same result.

I tryied also to set all the environment variables by using vcvarsall.bat, but apparently it does not work.

I am pretty sure I am missing something. But I don't get what.

May you help me please?

@lucasg
Copy link
Contributor

lucasg commented Aug 1, 2017

Unfortunately assert.h is not bundled with Visual Studio : you need to install the Windows SDK to have access to OS-level includes. That's why it is a real pain in the ass to build C Extensions for Python on Windows.

Morevoer, I've spotted some issues that currently break the build. I'll try to fix thoses this week.

@tregua87
Copy link
Author

Hi! thank you very much for the support. I know it is very tedious, but Windows is a boundary of my project. I will check asap. Thanks again :)

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