# Installation troubles

**URL:** <https://discourse.julialang.org/t/installation-troubles/36634>\
**Category:** New to Julia\
**Created:** [March 28, 2020, 11:27am UTC](https://discourse.julialang.org/t/installation-troubles/36634 "2020-03-28T11:27:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![leiteiro](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@leiteiro](https://discourse.julialang.org/u/leiteiro)\
**Post date:** [March 28, 2020, 11:27am UTC](https://discourse.julialang.org/t/installation-troubles/36634/1 "2020-03-28T11:27:51Z")

</div>

I am on Windows64, Julia 1.4.0, using VS Code.

(1) In the terminal:

```
julia> using HTTP
julia> HTTP.get("http://google.com")
HTTP.Messages.Response: HTTP/1.1 200 OK ...

```

(2) Executing my program returns in the output window:

```
ERROR: LoadError: ArgumentError: Package HTTP not found 
in current path: - Run `import Pkg; Pkg.add("HTTP")` 

```

How is this possible? How to fix it?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [March 28, 2020, 1:43pm UTC](https://discourse.julialang.org/t/installation-troubles/36634/2 "2020-03-28T13:43:44Z")

</div>

Check your VS Code/Julia extension settings for “Environment Path” and “Executable Path” and check if this matches what you have in your REPL (see lower blue status line for Julia env).  
This is what comes to my mind as what may be wrong.

---

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [March 28, 2020, 7:27pm UTC](https://discourse.julialang.org/t/installation-troubles/36634/3 "2020-03-28T19:27:26Z")

</div>

I would try:

```julia
]
activate .
add HTTP

```

My guess is your program is using it’s own environment and that environment doesn’t have HTTP…

---

<div class="post-metadata">

**Author:** ![leiteiro](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@leiteiro](https://discourse.julialang.org/u/leiteiro)\
**Post date:** [March 28, 2020, 8:35pm UTC](https://discourse.julialang.org/t/installation-troubles/36634/4 "2020-03-28T20:35:11Z")

</div>

Thanks! I have two environments:

```
Julia env: v1.4
Julia env: myproject.jl

```

In settings.json

```
Julia:Executable Path points to Julia-1.4.0\bin\julia.exe
Julia:Environment is not in settings.json.

```

The latter may be the error. What is the exact syntax of what I should insert in settings.json?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [March 28, 2020, 10:22pm UTC](https://discourse.julialang.org/t/installation-troubles/36634/5 "2020-03-28T22:22:32Z")

</div>

e.g.  
“julia.environmentPath”: “C:\Users\USER\.julia\environments\v1.4”

There is also a launch.json file which lets you modify your running environment, it looks like:

```julia
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "julia",
            "request": "launch",
            "name": "Run active Julia file",
            "program": "${file}",
            "stopOnEntry": false,
            "cwd": "${workspaceFolder}",
            "juliaEnv": "${command:activeJuliaEnvironment}"
        }
    ]
}

```

Maybe you have modified that and forgot it?

But I can’t tell what the right settings are for you, as I don’t know which environments you are using. Check also @pixel27 suggestion.
