-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error, finding obvz.py or Installation step by step guide #6
Comments
hi! (also i'm not sure how load-library works, since i haven't packaged it properly yet I just load the elisp code with |
Oh, thanks, this step is solved but next problem.
But I thought I installed PyQt5, it seems not. I used these commands.
How could I investigate correct installation of pyqt5, in which directories which files should be for example? Ubuntu 16.04 xenial here. |
Ok, I came further using: Now my error message looks as follows:
|
ah the lovely search for dependencies :) could it be a miniconda issue? I haven't used conda a lot, but iirc it has a separate package repo so idk how well it interacts with packages installed through apt. |
No I guess, maximum glibc is above for Ubuntu 16.04, and yours is a bit newer, 2.27. Searching/Googling more, if there is any solution, can report back here, if I have something. Coming always closer 🚶♂️ |
hmm the glib error seems to be due my c++ experiments where I cannot really say I understand all what's going on in the background. what i see on google is mostly the suggestion to upgrade to 18.04, but if you want to tinker with c++, eigen and pybind you could also try to compile the frucht_v3.cpp file on your system (the command i use is in the README). |
How could I activate the non-cpp, slower version, if possible? Better than nothing. Installed pybind:
|
Came further using, added -I But now getting some c++ errors.
|
i think (it's been a while) i used the eigen version from the eigen website since ubuntu repos always lag a bit behind. there's unfortunately no slower version anymore, after I saw what a speedboost c++ was I only implemented new features there. |
No problem, thanks, I can try with the other Eigen then. Do you have any guess, if this could be an error because of older/wrong Eigen version? |
Installed latest Eigen, c++ error is less, meaning still no success, looks as follows:
|
Tried enough for today, I can continue another time. Thanks for all your help. Tried one more thing, replacing isnan by something else, then it compiles, copied to obvz directory, window opens, but then I am getting other emacs errors.
Probably I should try with simpler brains first? |
no problem :) thanks for the detailed reports! i don't think it's related to eigen since isnan is afaik basic c++ functionality, maybe g++ works different between ubuntu versions. i'd try next |
std::isnan did it thanks. Now I can be sure at least I have a correct .so file, can investigate more, why now in emacs I am getting those errors, and how I can bypass those, somehow. |
When the QApplication window appears, it is empty here always, message is as follows in emacs:
|
Hey, it worked, success! Thanks a lot. This time, I started org-brain-visualize first, then started obvz, hitting n and voila, window is filled with all those entries, my brain has more than 2000 .org files, cool, can play around now. The above marathon was worth it in the end 🦘 |
Tried svg export, it works as well, great. This issue can be closed if you want. |
For installing obvz I set four parameters:
Then when running:
M-x obvz-start
I am getting following error:
/home/mj/miniconda3/bin/python: can't open file 'obvz.py': [Errno 2] No such file or directory
What I could try? Thanks in advance. My python3 is there. At least this python is used when updating pip3, for example.
python --version gives:
Python 3.7.4
The text was updated successfully, but these errors were encountered: