Problems using Visual Studio through Anaconda
Ok so it started working for no apparent reason. I just restarted VS Code through Anaconda and this time it had no issues. As I said, I feel like VS Code is all over the place through Anaconda and not very reliable.
While Anaconda is nice, my experience trying to use Visual Studio through Anaconda is a mess. I have just ended up using Spyder which is great but I'd preferably use visual studio.
Couple of issues:
I select base conda interpreter in visual studio and proceed to try to import pandas or numpy. This results in an error (AttributeError: module 'tokenize' has no attribute 'Name').
A couple of days ago it randomly worked and now it's not. running print('hello') works just fine.
I have no issues with any imports in Spyder but I've started using Flask and it'd be much easier to have it all in one workspace.
Any understanding why I cannot import pandas.
Edit: Did a clean reinstall of both and now am able to install numpy. However, I get the error when trying to install pandas. Using 3.8.3. Pandas works in Spyder, not in VS Code.