Add directory to Python path in PyCharm?

前端 未结 3 929
北海茫月
北海茫月 2020-12-05 13:30

I want to be able to use the paraview.simple library in PyCharm. I already have paraview installed in my computer. This package cannot be installed with p

3条回答
  •  甜味超标
    2020-12-05 14:23

    • Use anaconda with Pycharm
    • To install paraview with anaconda run the following command: conda install -c conda-forge paraview
    • If conda command is not recognized then register the Anaconda path to environment variable
    • Now open pycharm and give the configuration path as the Anaconda path
    • File -> Settings -> Project Interpreter
    • In Project Interpreter give similar path : "C:\Users\username\Anaconda3\python.exe"

提交回复
热议问题