Code Monkey home page Code Monkey logo

Comments (11)

aguinet avatar aguinet commented on August 23, 2024 1

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.

aguinet avatar aguinet commented on August 23, 2024

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.

banescusebi avatar banescusebi commented on August 23, 2024

Thanks for you quick reply! I'm using Python 2.7.6 on a 64-bit Ubuntu.

from arybo.

aguinet avatar aguinet commented on August 23, 2024

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.

banescusebi avatar banescusebi commented on August 23, 2024

I've reproduced the issue in a virtualenv and attached the log of the last command.
error-log.txt

from arybo.

aguinet avatar aguinet commented on August 23, 2024

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.

banescusebi avatar banescusebi commented on August 23, 2024

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.

aguinet avatar aguinet commented on August 23, 2024

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.

banescusebi avatar banescusebi commented on August 23, 2024

Unfortunately, it doesn't work even after installing the two packages you mentioned. Thanks for your help!

from arybo.

banescusebi avatar banescusebi commented on August 23, 2024

Thanks a lot! That worked! Note that you also have to run sudo apt-get update after the first command.

from arybo.

aguinet avatar aguinet commented on August 23, 2024

Okay nice :) I'll keep this one open 'till the documentation is updated!

from arybo.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.