-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation issues from the repository #755
Comments
Yes, there is no release at the moment for jammy, the supported version of Ubuntu is 20.04. We will address this, in the meantime you can install from sources any time. |
Many thanks, Luca. I think I managed to install from sources and was hoping to use your tool via Python, but can't get examples to work as it doesn't find pyrariadne module. Any suggestions? |
What does the test suite do? Have you verified that CMake found everything as expected? I will need a clean log of the CMake setup output first. After the install, the pyariadne.so library should be installed in the proper directory. |
I just followed instructions your instructions, output from cmake --build . --target everything [ 2%] Built target ariadne-hybrid |
I need the results of the initial CMake configuration, so remove all files in the build/ directory and from there do cmake .. (plus any arguments that pertain to your installation, such as the compiler and the build type) copying the results here. |
It doesn't seem to find pytest package, though I have it. -- CMake version 3.26.4 -- Configuring done (2.8s) |
Never had this pytest package problem on Ubuntu, only on macOS (and it could only be solved by upgrading the macOS image). However, while not strictly necessary, if we want to check what's wrong with your pyariadne import it may be useful to make this work. For the time being though, just do a full build and then copy-paste the results of the cmake install command, so I can see where pyariadne.so is installed. |
Sorry for the delay. After command cmake install I get the following. [100%] Built target pyariadne-algebra |
Got it, all good there.
Does Python not find the pyariadne.so module or the libariadne.so lib?
In the latter case, you should just
export LD_LIBRARY_PATH=/usr/local/lib
In the former case, this may work:
export PYTHONPATH=/usr/lib/python3/dist-packages/
|
I tried the latter PYTHONPATH and know getting the following when running one of the examples (it's different from the previous message): Traceback (most recent call last): |
It looks here you are not using the standard libstdc++ but rather one installed by you. And the corresponding glibcxx is not matching the version required by pyariadne. Can't you use the default standard library? |
Many thanks, Luca, I made some further changes. I just get the following error (from running attractor.py example), but this is probably to do with the code and I might figure it out. Traceback (most recent call last): |
The example apparently has not been updated. I will file an issue. Just refer to Python tutorials (which are tested in GitHub Actions so they must be correct) in case you are having problems with the examples. Closing this. |
Tried installing ariadne as suggested, but received the following issue and can't seem to progress. Any advice?
E: The repository 'https://ppa.launchpadcontent.net/ariadne-cps/ariadne/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
The text was updated successfully, but these errors were encountered: