Comments (11)
Okay i've got a solution thanks to @romainthomas !
We can install gcc 6.0 and the associated uptodate libstdc++ under Ubuntu 14.04 using a PPA:
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get install g++-6
and then install pytanque like this:
$ CC=gcc-6 CXX=g++-6 pip install pytanque
from arybo.
Hello Sebastien,
"pip install pytanque" will install the stable version of pytanque uploaded on Pypi (this one https://pypi.python.org/pypi/pytanque/0.2.0), which should work with the feature/exprs version of Arybo.
The error you have is thus independent of this experimental branch and seems to be related to your Python installation. Which version of Python are you using ? Is this 32-bit or 64-bit ubuntu ?
Thanks :)
from arybo.
Thanks for you quick reply! I'm using Python 2.7.6 on a 64-bit Ubuntu.
from arybo.
Okay ! Can you please try and reproduce this inside a virtualenv :
$ sudo apt-get install virtualenvwrapper
(reload your terminal then)
$ mkvirtualenv arybo-exp
$ workon arybo-expr
(arybo-exp) $ pip install pytanque
(arybo-exp) $ cd /path/to/arybo && python ./setup.py install
from arybo.
I've reproduced the issue in a virtualenv and attached the log of the last command.
error-log.txt
from arybo.
Thanks ! This is a much better error message :)
It seems that the GCC compiler on Ubuntu 14.04 is too old and does not support C++14.
One workaround is to install a recent version of Clang using the official LLVM APT repositories here:
http://apt.llvm.org/ .
In a nutshell, add deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main
to your /etc/apt/sources.list , then update apt (sudo apt-get update) and install clang-3.9 (sudo apt-get install clang-3.9).
You can then install pytanque using CC=clang-3.9 CXX=clang++-3.9 pip install pytanque
.
Let me know if this solves your problem!
from arybo.
Thanks for your suggestion! Unfortunately, it seems that the following symbols are missing in clang-3.9 gets, insert, emplace
(see attached error log). Any other suggestions?
error-log2.txt
from arybo.
Okay the C++ library (listdc++) is also too old... :/
Try and install the packages libc++-dev and libc++abi-dev and relaunch the installation.
I'm sorry I don't have any 14.04 ubuntu VM right now. If this doesn't work, I'll try to find a way tonight (in a few hours) !
from arybo.
Unfortunately, it doesn't work even after installing the two packages you mentioned. Thanks for your help!
from arybo.
Thanks a lot! That worked! Note that you also have to run sudo apt-get update
after the first command.
from arybo.
Okay nice :) I'll keep this one open 'till the documentation is updated!
from arybo.
Related Issues (17)
- AttributeError: 'ExprConcat' object has no attribute 'urem' HOT 1
- Arybo does not support Python 2.7 in Windows HOT 3
- llvmlite should be added as a dependency HOT 1
- Infinity loop when reading complex expression HOT 4
- std::bad_alloc thrown in symbolic expression computation HOT 1
- tritonast2arybo: unsupported node type 79 (BVSMOD) HOT 1
- CMake Script is incorrect?
- petanque tests fail to find TBB HOT 1
- Examples using outdated Triton API
- error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'} HOT 2
- NumPy has deprecated int type HOT 1
- Installation Arybo via pip on Windows, 'ssize_t': redefinition HOT 2
- arybo latest on pip broken HOT 1
- Support new design of Triton in Python examples HOT 1
- app_inverse for expressions with more than one symbols HOT 1
- 'AstNode' object has no attribute 'getKind' 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 arybo.