IntelliJ Python Facet vs Python Module

268 views Asked by At

In IntelliJ, I have a Java project (JAVA_MODULE) that also has some Python code. The python code imports numpy, scipy and some other libraries.

If I set my Module type to Python, all the import works and there is no squiggly lines. If I set my module type to Java, then add a Python facet, there are squiggly lines for imports of any non-standard libraries. i.e. import of os and sys works but numpy, scipy aren't.

Is there a difference in PYTHONPATH for Python Facet and Python Module?

0

There are 0 answers