Python transformers issue
Hello,I installed tensorflow and tranformers we I do a pip3 list I found tranformers 4.26.1When I try to test I get the following error message :CLI> python3 -c “from transformers import pipeline; print(pipeline(‘sentiment-analysis’)(‘we love you’))”Traceback (most recent call last):File “”, line 1, inModuleNotFoundError: No module named ‘transformers’Any help would be highly appreciated
2023-03-08T12:20:15Z
please make sure you are operating in python virtual environment
2023-03-08T13:07:03Z
Thanks for your reply.It was because the module was installed with python3.7 and was executed with python3.6