xeus-cling
xeus-cling copied to clipboard
Installation using pip or clean compilation without conda
Hi, I tried installation using mumba as described and it gave me error on debian buster 64 bit. Also I tried to compile as described in readme but ran into compilation error while executing:
mamba create -n xeus-cling -c conda-forge cmake xeus=1.0.0 cling=0.8 clangdev=5.0 llvmdev=5 nlohmann_json cppzmq xtl pugixml cxxopts
Is there easy way to compile using standard tools like cmake or pip installation?
Thanks FR
I tried installation using mumba as described and it gave me error on debian buster 64 bit.
Which error do you have?
Also I tried to compile as described in readme but ran into compilation error while executing: [...]
Not sure to understand, the command you posted creates a mamba environment and install the packages specified. There is no compilation involved. Or maybe you meant the compilation after you created the environment? In that case, could you post eh error message?
Is there easy way to compile using standard tools like cmake
That's what we use to build xeus-cling
. But cmake is not a package manager, so you need to get the dependencies somehow. You can either install them from conda-forge
(with mamba), or download the source, build and install them (although we highly discourage this since it's a nightmare to build all the dependencies).
or pip installation?
xeus-cling
is a pure C++ package while pip
is a python package manager. So it would not make sense to have a pip install for xeus-clig
.
@fslurrehman if you are on Debian/Ubuntu/etc Linux, I've made a Debian package, which you can find here and install using apt. No need for conda or pip.
@dimitry-ishenko the link you provided shows a 404 error for me
@JohanMabille it would be great if there was another way to install xeus-cling without conda. I have a virtual environment that contains a bunch of python and binary paths provided for me by someone else. I want to be able to run xeus-cling in that environment 😃