Use Python 3

已回答

Hi,
i suppose I'm currently using python 2 as when I run the file I see the message
/usr/bin/python2.7 /home/
How can I use python 3?

0

First, make sure you have Python 3 installed. Then, go to Project Interpreter in Settings, and make sure you have /usr/bin/python3 as the Python to use for the project. Or, even better, make a virtualenv.

0

请先登录再写评论。