# Problem with "9 - Julia is fast.ipynb"

**URL:** https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951
**Category:** New to Julia
**Tags:** error-message
**Created:** [June 20, 2024, 8:06pm UTC](https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951 "2024-06-20T20:06:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![watchben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/watchben/32/210117_2.png) [@watchben](https://discourse.julialang.org/u/watchben)
#### Post date: [June 20, 2024, 8:06pm UTC](https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951/1 "2024-06-20T20:06:25Z")

</div>

Hello dear community,

I downloaded the jupiter notebook file [9 Julia is fast.ipynb](https://github.com/JuliaAcademy/Introduction-to-Julia/blob/main/9%20-%20Julia%20is%20fast.ipynb) about benchmark from intro course ([here](https://juliaacademy.com/courses/375479/lectures/5863644)).

When I run the first cell about C language (where it’s supposed to allow writing C in julia env) into in visual studio code, I obtained the following error :

```julia
{
	"name": "Base.IOError",
	"message": "IOError: could not spawn `gcc -fPIC -O3 -msse3 -xc -shared -o 'C:\\Users\\Benjamin\\AppData\\Local\\Temp\\jl_yxklA7KvEp.dll' -`: no such file or directory (ENOENT)",
	"stack": "IOError: could not spawn `gcc -fPIC -O3 -msse3 -xc -shared -o 'C:\\Users\\Benjamin\\AppData\\Local\\Temp\\jl_yxklA7KvEp.dll' -`: no such file or directory (ENOENT)

Stacktrace:
  [1] _spawn_primitive(file::String, cmd::Cmd, stdio::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
    @ Base .\\process.jl:128
  [2] #784
    @ .\\process.jl:139 [inlined]
  [3] setup_stdios(f::Base.var\"#784#785\"{Cmd}, stdios::Vector{Union{RawFD, Base.Libc.WindowsRawSocket, IO}})
    @ Base .\\process.jl:223
  [4] _spawn
    @ .\\process.jl:138 [inlined]
  [5] open(cmds::Cmd, stdio::Base.DevNull; write::Bool, read::Bool)
    @ Base .\\process.jl:397
  [6] open
    @ .\\process.jl:383 [inlined]
  [7] open(cmds::Cmd, mode::String, stdio::Base.DevNull)
    @ Base .\\process.jl:366
  [8] open
    @ .\\process.jl:361 [inlined]
  [9] open(f::var\"#9#10\", cmds::Cmd, args::String; kwargs::@Kwargs{})
    @ Base .\\process.jl:415
 [10] open(f::Function, cmds::Cmd, args::String)
    @ Base .\\process.jl:414

}

```

Does anyone has an idea where the problem comes from ?  
Is my vs-code missing something ?

Thanks in advance !

watchben

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [June 20, 2024, 8:11pm UTC](https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951/2 "2024-06-20T20:11:58Z")

</div>

> [@watchben](#):
>
> `"IOError: could not spawn `gcc -fPIC -O3 -msse3 -xc -shared -o 'C:\\Users\\Benjamin\\AppData\\Local\\Temp\\jl_yxklA7KvEp.dll' -`: no such file or directory (ENOENT)"`

This error message tells you what is going on — that notebook compiles C code by launching `gcc` to compile it, which works well on Unix and Mac systems that have a compiler named `gcc` installed, but is failing for you on Windows because you probably don’t have that compiler.

You could install `gcc` or modify that code to launch some other C compiler you have (changing the command-line arguments accordingly).

---

<div class="post-metadata">

### Author: ![watchben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/watchben/32/210117_2.png) [@watchben](https://discourse.julialang.org/u/watchben)
#### Post date: [June 20, 2024, 8:44pm UTC](https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951/3 "2024-06-20T20:44:47Z")

</div>

> [@stevengj](#):
>
> ailing for you on Windows because you probably don’t have that compiler

Okay, I will check on that, thank you for your help !

\*\* EDIT : problem solved ✅\*\*

I installed MinGW, following this vs-code [tutorial].([Get Started with C++ and MinGW-w64 in Visual Studio Code](https://code.visualstudio.com/docs/cpp/config-mingw))

Thank you again @stevengj for your guidance !

Have a nice day !
