I’m unfortunately an inexperienced linux user, you have to give me detailed steps (and explanation) please. I would love to get my nano run to use a brilliant piece of software for electronically assisted astronomy of Alain Paillou.
Therefore I had installed JetPack4.6.1 (I have tried with 5.0 which even no success).
For his software I need the following packages:
cuda (which comes with the jetpack)
NumPy (which comes with the jetpack?!)
openCV (which comes with the jetpack)
six (which comes with the jetpack)
pillow, I have manually installed
If I start python3 and look for the versions of these packages, I get a version number.
That means to me that these packages are installed, isn’t it???
Only pycuda is missing. I have read the last weeks every thread I could find and tried every hint to get it installed.
But it does not. Every time I get thousands of pages of errors. No chance. I’m done. I do not know what I could try next.
What I have done after flashing the jetpack:
sudo apt-get update && sudo apt-get upgrade
I even tried to install the packages from above, although they should allready be installed.
Maybe there is an error finding nvcc:
export PATH=/usr/local/cuda-10.2/bin:$PATH
pip3 install Cython
I have tried:
pip3 install pycuda —user
I have tried:
sudo pip3 install --global-option=build_ext --global-option=“-I/usr/local/cuda/include” --global-option=“-L/usr/local/cuda/lib64” — upgrade pycuda
Nothing works.
The beginning of the errors:
it try to find the correct numpy(1.19.5,1.15.4,1.12.1) version with the correct python3-version (3.7,3.8,3.9,3.10) and that seem to match not correctly. Installed is numpy 1.13.3. But even with a manual install of numpy this error comes up.
Then it show that it can not find libraries like mil_rt, bliss, openblas, tatlas, satlas, and so on
Well, I’m able to install everything what is needed. Then I run the python-script via IDLE, which utilize an usb-astro-camera and get an Ubuntu internal error. Details show only python. I can not rerun the script any more. I get an error : bus-error. If I start the script via terminal python3 and I get immediately this bus error.
I think that this has something to do with some of the packages numpy or opencv. These are preinstalled, right? I didn’t touch them for my workflow.
But I do not know what to do or how I can figure out what (not) going on.
Thanks for help.
Actually I got it running without the error. I do not really know what I have done. I had again problems with pycuda and installed some libraries and cython as in some threads was mentioned. And then I think I did the symbolic link wrong and removed it and reentered it. And suddenly the code was running without the error.