python3 --version shows “NameError: name 'python3' is not defined”

前端 未结 2 721
小蘑菇
小蘑菇 2020-11-22 13:51

When we type

python3 --version (or --V)

it is supposed to show us the version of the python right?

However, when I do this I get t

2条回答
  •  无人及你
    2020-11-22 14:02

    If you're using windows you can try in a Python prompt:

    >>>>import pip
    >>>>pip.main(['install', 'foobar'])
    

提交回复
热议问题