-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Boost and python versions #21
Comments
There is a current effort to create a different package for boost-python alone that should solve this problem: |
This is unrelated to #1. Boost, numpy used are compiled with py27 and the python version is also 2.7.
|
Yes, I think it is not related to #1. Thanks to the PR by @shadowwalkersb at dolfim/staged-recipes#1 I think the problem is the presence of two incompatible libboost libraries in the conda package.
vs
The latter one is actually provided by import string; from distutils.sysconfig import *; print(get_config_vars('LIBPL')) Is this a Conda bug? Where should it be reported? |
|
Thanks for the link, I was actually looking for a better explanation of LIBPL. The point is that we have been linking against I put a simple Docker build in a clean Ubuntu environment at dolfim/boost-python-numpy. The error I get in the Conda build somehow looks like a mismatch of the Python version.
|
Which Python is used to run the script? Seems like Dockerfile uses the system Python. |
Conda's python package doesn't provide any |
@shadowwalkersb : yes, the example built with Docker is just system standard system python and boost. It was to illustrate that linking against @isuruf : yes Conda doesn't seem to provide I would anyway assume that the two libs could be interchangeable, but this doesn't seem to be the case. |
Is there still an issue that needs to be solve here or is this effectively the same as issue ( #28 )? |
If this is still an issue, this needs to be moved to the python-feedstock. |
I hink we can close this as boost.python is split now |
I expected conda to lower the problems with mixing python versions when distribution an application using Boost.Python, but reading e.g. #1 it seems that even here it is always a topic.
In particular I'm trying to make a package which depends on boost-python and I get some weird failure in the tests, as if the python/numpy versions do not match. Is there a way to force the version of python to be the same as the one used for building boost? Or the other way around.
I tried to make a simple test that I pushed as a PR conda-forge/staged-recipes#2056.
Could you please help debugging the simple example?
Thanks!
The text was updated successfully, but these errors were encountered: