Visual Studio Professional 2015 and Python...

  • Thread starter Thread starter adodd81802
  • Start date Start date
A

adodd81802

Guest
Hello,


Learning to code some Python using Visual Studio 2015 Professional

So far I have successfully done the following

- Downloaded the Python Tools

- Installed the Python Application


One thing I noticed was that Visual Studio didn't automatically detect the Python Environment, so I had to manually point to the directory (python exe, python lib e.t.c.)


What I can successfully do is run a program, so for example print('hello world') does work when I press start. But there are 2 things that are not working as expected


1 - I've constantly got a "Completion DB is not up to date. Click to start refreshing" in the top right of visual studio under the "Python Environments"

Refreshing gets stuck maybe 1/5th of the way and it just goes back to that notification


2- The "Print" key word is not getting recognised as a keyword (in blue) it's just in white like normal text, even though Visual Studio knows what to do with it.


Weirdly, if I remove the environment that I manually added, the keyword goes back to the blue, but obviously then Visual Studio doesn't know how to compile.


Hope what i've said makes sense, I've seen some similar issues reported, but not specifically the problem I'm having.

Continue reading...
 
Back
Top