LoginSignup
2
2

More than 3 years have passed since last update.

PyCharmで「python version 2.7 does not support〜」と警告が出たときの対処法

Last updated at Posted at 2019-05-16

PyCharmでf文字列(フォーマット文字列リテラル)を利用したとき、以下のような警告メッセージが表示されるときがあります。

Python version 2.7 does not support a 'F' prefix

以下の対処を行えば、上記警告メッセージは表示されなくなります。

  1. [Preferences]を開く
  2. [Editor][Inspections]を選択
  3. 検索欄でCode compatibillityと検索し、[Code compatibillity inspection]を選択
  4. Optionsの中から2.7のチェックを外す

image.png

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2