I am trying to solve partial differential equations with Python using FEniCS. I installed it with anaconda
and conda-forge
and to use it, I activate the fenicsproject
environment
source activate fenicsproject
I run my scripts in jupyter
(that works), but often it is more convenient to use VS Code for more elaborate code. When I run the scripts written in VS Code in the (built-in) terminal, they run without error as long as I have the fenicsproject
environment enabled.
But in the editor I get a lot of errors like this
[pylint] Unable to import '...' [E0401]'
[pylint] Undefined variable '...' [E0602]
How can I get rid of those errors in the editor, so that the real errors can stand out.
What would be even better, make it that auto-complete and suggestions work for the packages like fenics
, mshr
etc.