Hi I am able to create a virtual environment and install tensorflow. But fails to import tensorflow in that particular environment
Hi,
Could you check if this comment also works on you:
Hi,
Please remember to enable the host side package to the virtual environment.
$ virtualenv env --system-site-packages
created virtual environment CPython3.6.9.final.0-64 in 433ms
creator CPython3Posix(dest=/home/nvidia/env, clear=False, global=True)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/nvidia/.local/share/virtualenv)
added seed packages: pip==20.2.1, setuptools==49.2.1, wheel==0.34.2
activators BashActivator,CS…
Thanks.
Hi, Here you are creating an environment by picking up system site packages. But this method will fail if I need two environments with two different tensorflow versions.
Hi,
You can find the instructions for the multiple version in our document:
Thanks.