Can't find the modules that have been installed by pip

前端 未结 1 786

I use PyCharm, normally I install 3rd party libraries with the Project Interpreter in PyCharm. Today I installed plotly by running pi

1条回答
  •  生来不讨喜
    2020-12-21 16:52

    I figured out where the problem is.
    pip installs packages under python2.7/site-packages
    pip3 installs packages under python3.6/site-packages

    So I should use pip3 install plotly==2.7 since I'm using Python3.6

    0 讨论(0)
提交回复
热议问题