Comments (7)
this is not the case yet, we need to first make a release.
from python-casacore.
Before a casacore release is made, it would help to ensure that no python2 boost libraries are linked with the casa_python3 lib when also building the casa_python lib. I found that if I do not build the casa_python lib, the cas_python3 lib is only linked with boost_python3, so then all is fine.
Current situation:
-DBUILD_PYTHON=YES -DBUILD_PYTHON3=YES : boost_python AND boost_python3 linked to casa_python3 -> trouble down the road
-DBUILD_PYTHON=NO -DBUILD_PYTHON3=YES : only boost_python3 linked to casa_python3 -> All is fine when used with Python3.
from python-casacore.
@gijzelaerr is currently working on better python3 support, probably fixing this as well. To be continued later today.
from python-casacore.
Great!
from python-casacore.
@brentjens can you verify this PR solves your problem?
from python-casacore.
On 18-12-15 12:53, Gijs Molenaar wrote:
@brentjens https://github.com/brentjens can you verify this PR solves your problem?
casacore/casacore#280 casacore/casacore#280
—
Reply to this email directly or view it on GitHub
#32 (comment).
brentjens@brentjenslaptop:~/abs/casacore.git/build (git python3-fix) - - - - - - - - - - - - - - - - - - - - - - - - -
[13:23:09]
$ cmake -DUSE_FFTW3=ON -DDATA_DIR=$HOME/Software/casa-measures/data -DUSE_OPENMP=ON -DUSE_HDF5=ON -DBUILD_PYTHON=ON
-DBUILD_PYTHON3=ON -DUSE_THREADS=ON -DBoost_NO_BOOST_CMAKE=True ../
brentjens@brentjenslaptop:~/abs/casacore.git/build (git python3-fix) - - - - - - - - - - - - - - - - - - - - - - - - -
[13:45:48]
$ ldd python3/libcasa_python3.so|grep boost
libboost_python3.so.1.59.0 => /usr/lib/libboost_python3.so.1.59.0 (0x00007f02d3484000)
Looks good....
brentjens@brentjenslaptop:~/abs/casacore.git/build (git python3-fix) - - - - - - - - - - - - - - - - - - - - - - - - -
[13:46:00]
$ ldd python/libcasa_python.so|grep boost
libboost_python.so.1.59.0 => /usr/lib/libboost_python.so.1.59.0 (0x00007ff7a77ff000)
Looks good too...
$ ipython
Python 3.5.1 (default, Dec 7 2015, 12:58:09)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import casacore.tables as tab
In [2]:
Everything works! Thanks.
- Michiel
from python-casacore.
we now test for python3.4 on ubuntu 52a45c1
from python-casacore.
Related Issues (20)
- Warn about broken casacore 3.0.0 version number
- 'MSColumns' does not name a type; did you mean 'ROMSColumns' HOT 4
- Len(tablecolumn) returns not integer HOT 1
- Create new casacore images results in empty pixel unit
- Issue compiling python-casacore on ubuntu 20.04 with casacore 3.4.0 HOT 5
- Lots of warnings with boost 1.75.0 and casacore 3.4.0
- Duplicate gfortran shared library in binary wheel
- Running multiple tests that call python-casacore 3.4.0 throws a "Fatal Python error: Aborted" error on GitLab runner 13.7.0, with python3.7
- multi-mms reading HOT 3
- PyPI macOS wheel for 3.4.0 seems broken HOT 3
- "pip install" fails when casacore is installed in non-default location HOT 1
- Fail compiling python-casacore on ubuntu 18.04 HOT 1
- undefined symbol: register_derivedmscal when importing `casacore.tables`. HOT 7
- pip install on windows fails (opt.split()) HOT 2
- Several vulnerabilities in the C libraries which python-casacore depends on. Could you help upgrade to patch versions? HOT 1
- `python-casacore==3.5` does not work with `numpy==1.22` HOT 5
- table.summary(recurse=True) : TypeError on MeasurementSets
- Source distribution for 3.5.2 HOT 2
- table.browse() fails to access integer data when no explicit conversion is made
- taql() function: RuntimeError when comment in TaQL command includes one single-quote HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-casacore.