# Julia + VSCode Import error from ModelingToolkit

**URL:** <https://discourse.julialang.org/t/julia-vscode-import-error-from-modelingtoolkit/75720>\
**Category:** General Usage\
**Tags:** question, package, modelingtoolkit\
**Created:** [February 3, 2022, 11:01am UTC](https://discourse.julialang.org/t/julia-vscode-import-error-from-modelingtoolkit/75720 "2022-02-03T11:01:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![koustavpal](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@koustavpal](https://discourse.julialang.org/u/koustavpal)\
**Post date:** [February 3, 2022, 11:01am UTC](https://discourse.julialang.org/t/julia-vscode-import-error-from-modelingtoolkit/75720/1 "2022-02-03T11:01:32Z")

</div>

Hi,

I’m trying to get started with ModelingToolKit. I’m using Julia through a jupyter notebook in VSCode. The environment is different from the default environment used by the command line julia executable. Julia itself is installed under a conda environment.

I’m running into an import error from ModelingToolKit

```julia
ERROR: LoadError: MethodError: no method matching static_loop(::Symbol, ::Int64, ::Int64, ::Missing)
Closest candidates are:
  static_loop(::Symbol, ::Int64, ::Int64, ::Int64) at ~/anaconda3/envs/julia-1.7.1/share/julia/packages/LoopVectorization/ndGJi/src/reconstruct_loopset.jl:64

```

ModelingToolkit was installed using `Pkg.add("ModelingToolkit", preserve = PRESERVE_ALL)` which should preserve all dependencies from ModelingToolkit. How can I rectify this error?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [February 3, 2022, 11:40am UTC](https://discourse.julialang.org/t/julia-vscode-import-error-from-modelingtoolkit/75720/2 "2022-02-03T11:40:07Z")

</div>

Please don’t double post.

[https://github.com/SciML/ModelingToolkit.jl/issues/1444](https://github.com/SciML/ModelingToolkit.jl/issues/1444)

We can continue this there. I already notified @Elrod
