Hello, there is an error that there is no module name in the process of importing tensorflow from Jupyter notebook in a virtual environment.
By default, the tensorflow 2.7 version is installed in the general environment
Q1. Do I have to install tensorflow separately in the virtual environment to import from Jupyter notebook in the virtual environment?
Q2. An h5py error occurs during installation along 3.1 of the link in the virtual environment. link:Installing TensorFlow for Jetson Platform - NVIDIA Docs ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects
Do you use Python 3.6 in the virtual environment?
If yes, please also install the TensorFlow package within the virtual environment.
For other Python versions, please build the package from the source first.
An alternative is to add a --system-site-packages flag when creating the environment to leverage the native package:
For the h5py issue, please try it with the commands in the below comment: