I am working on Nvidia Geforce RTX 3050 with Windows 11 preinstalled and Ubuntu 22.04 LTS installed as WSL2.
I have followed the instructions in https://learn.microsoft.com/en-us/windows/ai/directml/gpu-tensorflow-plugin
I have created an env tfdml_plugin
as per the instructions of the above link.
I have installed jupyter notebook and numpy
conda list
gives the following output:
jupyter_client 7.4.9
jupyter_core 5.3.0
numpy 1.24.3
Now when I run jupyter notebook and in that rum:
import numpy
This returns the error:
ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import numpy as np
ModuleNotFoundError: No module named 'numpy'
When i type like this:
type(tfdml_plugin) xxxx@xxxx :~$ python
Python 3.10.11 (main, Apr 20 2023, 19:02:41) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> a=numpy.array([1,2,3])
>>> print(a)
[1 2 3]
there is no error?
why is this occuring like this?