Skip to content

Python3 compatibility #3

@moloned

Description

@moloned

I got this to install and run with python3 under Ubuntu 20.04 (running in Windows Subsystem for Linux WSL1)

You might want to update your readme.md to reflect this

sudo apt-get install clang
sudo apt-get install libclang-dev
sudo apt-get install python3-clang

pip3 install cppyy-cling
pip3 install cppyy-backend
pip3 install CpyCppyy
pip3 install cppyy

python3

Python 3.8.2 (default, Apr 27 2020, 15:53:34)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> from clang.cindex import Config
>>> Config().lib

<CDLL 'libclang-10.so', handle e22240 at 0x7fd8666a92b0>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions