BruceSherwood / vpython-wx

VPython based on wxPython
Other
70 stars 38 forks source link

Installation #3

Closed NeedAName closed 10 years ago

NeedAName commented 11 years ago

I think, line 16 in get_vpy_includes.py is a bit problematic: for line in subprocess.check_output(['pkg-config','--list-all']).split('\n'):

My System: Ubuntu 12.04.2 amd64.

Got the follwing error while running setup.py install: Traceback (most recent call last): File "setup.py", line 77, in GTK_VIS_LIBS = get_libs() File "... /vpython-wx/get_vpy_includes.py", line 79, in get_libs installed = get_installed() File "... /vpython-wx/get_vpy_includes.py", line 16, in get_installed for line in subprocess.check_output(['pkg-config','--list-all']).split('\n'): File "/usr/lib/python2.7/subprocess.py", line 544, in check_output raise CalledProcessError(retcode, cmd, output=output)

Reason: An other package had messed around causing pkg-config to finish with an error although anything about the vpython-wx 6.04 installation was just fine.

Solution: Removed the messy package, and everything was just fine.

sspickle commented 11 years ago

Thanks for the report!

What would've been more helpful? Should we try to catch that error, and print some kind of more informative message?

I can give that a go.. unfortunately, my pkg-config works ;-)

thanks, -steve

On Mar 5, 2013, at 11:52 AM, NeedAName notifications@github.com wrote:

I think, line 16 in get_vpy_includes.py is a bit problematic: for line in subprocess.check_output(['pkg-config','--list-all']).split('\n'):

My System: Ubuntu 12.04.2 amd64.

Got the follwing error while running setup.py install: Traceback (most recent call last): File "setup.py", line 77, in GTK_VIS_LIBS = get_libs() File "... /vpython-wx/get_vpy_includes.py", line 79, in get_libs installed = get_installed() File "... /vpython-wx/get_vpy_includes.py", line 16, in get_installed for line in subprocess.check_output(['pkg-config','--list-all']).split('\n'): File "/usr/lib/python2.7/subprocess.py", line 544, in check_output raise CalledProcessError(retcode, cmd, output=output)

Reason: An other package had messed around causing pkg-config to finish with an error although anything about the vpython-wx 6.04 installation was just fine.

Solution: Removed the messy package, and everything was just fine.

— Reply to this email directly or view it on GitHub.

BruceSherwood commented 10 years ago

Doesn't look like we can do much about this ourselves.