But i noticed, that now i can execute command “import Jetson” without any errors (check the last line on the image).Unfortunately i still cant execute command “import jetson_inference/import jetson.inference/import Jetson_inference/import Jetson.inference”.What can i do ?
Python3.6 is not default python (default is python 3.7) in my system and to run programm with python 3.6 i launched it manually by command: “python3.6”.Is my problem associated with this ?If so, how can i make python 3.6 default for my system?
Problem with numpy : I already have numpy, but i have warning: “completed without Numpy array …”. I executed command: “sudo apt-get —reinstall install python3-numpy python-numpy” and reinstalled jetson-inference, but it didnt help.
Problem with pytorch: it seems i dont have pytorch, but i am competly sure, that it was installed with jetson-inference, because i saw green window with pytorch install options in my therminal during jetson-inference installation .
I have 3 questions:
1.How can i solve problem with numpy ?
2.Is it possible to import jetson_inference in conda venv ?If so, how can I do that ?(I installed jetson-inference directly in the venv folder, but it didnt help)
Do sudo apt-get install python3-numpy and then re-run these build steps:
cd /path/to/jetson-inference/build
cmake ../
make
sudo make install
Haven’t tried this, but it installs the Python extension modules under /usr/local/lib/python3.6/ so probably not.
Difficult to tell without seeing the log. Does pip3 show torch show anything? You can also use the jetson-inference docker container which already has it installed.
Thanks for your reply.
1.I tried this, but ,unfortunately, it didnt help, i still have the same problem.I have 2 python versions in my system : python 3.7 as default and python 3.6. To run programm with python 3.6 i launched it manually by command: “python3.6”.Is my problem associated with this ?What if command “sudo apt-get install python3-numpy” installed numpy for python 3.7 and didnt install numpy for python 3.6 ?If so how can i set python 3.6 as default ?Could you explain me please how does the system works if i have 2 (or more) versions of python installed?Does it install specific version of numpy for each of them or for only one ?
2.Could you tell me please, how to install the specific version of python (python 3.6.15) without conda ?(If i cant import jetson_inference in my venv with specific version of python. i have to install python 3.6.15 on the Jetson natively, without using conda)
You can install Python 3.6 wheels for PyTorch from: PyTorch for Jetson
Just pick one for JetPack 4 (up to PyTorch 1.10) and use the right version of pip when installing it