I just installed the latest supported TF version supported by JP 4.4 using the
sudo pip3 command in these instructions:
and it seems to be installed correctly, i am able to import tf and keras… etc. but when i try to get the version using python3 using
print(tf.__version__) i get
AttributeError: module 'tensorflow' has no attribute '__version__'
i noticed that the pip3 command installs a different wheel than the wheel thats linked a few lines above in the same instructions … lmao.
wheel from wheel link: … “tensorflow-2.1.0+nv20.3-cp36-cp36m-linux_aarch64.whl”
wheel from pip3 command: … “tensorflow-2.1.0+nv20.4-cp36-cp36m-linux_aarch64.whl”
(notice the nv20.4 and nv20.3 difference)
so i tried uninstalling and installing again with the wheel file from the link, which solved the issue. BUT now i no longer had GPU support with tensorflow. Damn. So i just went back to the GPU supported one (using pip3 command) and still have the attribute error that says
module 'tensorflow' has no attribute '__version__'
- Jetson Xavier NX Dev Kit
- JetPack 4.4
- tensorflow 2.1.0
- Python 3.6.9
- Ubuntu 18.04
Can anybody help?