skip to Main Content

I am trying to run a code in vs code in virtual env (python=3.9). and I have 2 questions:

1.just recently, the env that I used to work with this code all the time, does not recognize the python packages. I reinstalled the packages and the issue is not solved. I created a new env and installed the packages but it is the same.Any ideas how I can fix this?

Thanks in advance,

I searched for the issues and it seemed reinstalling keras helps, but it didn’t for me

2

Answers


  1. Chosen as BEST ANSWER

    Ok thanks you all for your responses. I do not use virtualenv so I did not try that. That issue had happened because I had installed Xcode. I uninstalled it, and reinstalled vscode and created a new env and installed all the packages and the problem is solved.


  2. You can also look in the lower righthand corner to check what version of Python you are using, you can also use cmd+P(Mac) or ctrl+P(Windows) and type > to pull up developer options

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search