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

Build failure with Python 3.5.1, Windows, Visual Studio 2015 #132

Closed
danizen opened this issue Aug 11, 2016 · 7 comments
Closed

Build failure with Python 3.5.1, Windows, Visual Studio 2015 #132

danizen opened this issue Aug 11, 2016 · 7 comments

Comments

@danizen
Copy link

danizen commented Aug 11, 2016

I get this error:

   File "c:\tools\python\3.5.1\lib\distutils\util.py", line 125, in convert_path
     raise ValueError("path '%s' cannot be absolute" % pathname)
 ValueError: path '/Users/mkleehammer/dev/pyodbc/src/buffer.cpp' cannot be absolute

I may try to fix it, and if so, will issue pull request.

@danizen
Copy link
Author

danizen commented Aug 11, 2016

./setup.py build works, but ./setup.py bdist_wheel does not.

Christophe Gohlke has a build - http://www.lfd.uci.edu/~gohlke/pythonlibs/
I will ask him how he did it and see whether I can make it automatic by tweaking setup.py

@danizen
Copy link
Author

danizen commented Aug 11, 2016

On the face of it, this is a duplicate of issue #77, but getting a build that worked for Christophe Gohlke without integrating what he did to fix it doesn't seem like a real solution, but rather a work-around.

Let's leave this open for a bit while I look for a fix.

@danizen
Copy link
Author

danizen commented Aug 11, 2016

This is a duplicate of issue #82, and pip install from master works.

@KamodaP
Copy link

KamodaP commented Nov 3, 2016

+1 here (issue as well)
and it does work with downloaded source

@mkleehammer
Copy link
Owner

I just merged a pull request that fixes this. Thanks.

@danizen
Copy link
Author

danizen commented Nov 29, 2016

Thanks.

@atocyo
Copy link

atocyo commented Jan 5, 2017

Issue still present.

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

4 participants