#1379 closed Bugs (fixed)
Failing import_ test
Reported by: | Dave Abrahams | Owned by: | Dave Abrahams |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost 1.34.1 | Severity: | Problem |
Keywords: | Cc: | seefeld@… |
Description
Windows embedded Python doesn't set up sys.path correctly, as described in http://thread.gmane.org/gmane.comp.python.general/544986. That causes Boost.Python's import_ test to fail. We need a workaround.
Change History (5)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Status: | new → assigned |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Still failing. I'm pretty sure this is because when I tested my fix, I was running it from the same directory as the import_.py file. When it's not in the current directory, its directory needs to be added to the PYTHONPATH if it is to be found.
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:5 by , 15 years ago
Oh ! So the sys.path setting didn't see a valid directory. Thanks for debugging this !
Note:
See TracTickets
for help on using tickets.
(In [40468]) Closes #1379. It would be good to have a much more principled approach; see comments in the diffs for details.