# "Could not load module ‘Sound.OSC.FD’" error on Atom

**URL:** <https://uzu.lurk.org/t/could-not-load-module-sound-osc-fd-error-on-atom/2879>\
**Category:** TidalCycles\
**Tags:** installation\
**Created:** [11 February 2021 18:07 UTC](https://uzu.lurk.org/t/could-not-load-module-sound-osc-fd-error-on-atom/2879 "2021-02-11T18:07:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![camilleroux](https://uzu.lurk.org/user_avatar/uzu.lurk.org/camilleroux/32/1731_2.png) [@camilleroux](https://uzu.lurk.org/u/camilleroux)\
**Post date:** [11 February 2021 18:07 UTC](https://uzu.lurk.org/t/could-not-load-module-sound-osc-fd-error-on-atom/2879/1 "2021-02-11T18:07:10Z")

</div>

Hi,

I've this error message on Atom (but everything works well on VSCode) :

```
t> : error:
Could not load module ‘Sound.OSC.FD’
It is a member of the hidden package ‘hosc-0.18.1’.
You can run ‘:set -package hosc’ to expose it.
(Note: this unloads all the modules in the current scope.)

```

Where does this come from?

---

<div class="post-metadata">

**Author:** ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)\
**Post date:** [11 February 2021 18:18 UTC](https://uzu.lurk.org/t/could-not-load-module-sound-osc-fd-error-on-atom/2879/2 "2021-02-11T18:18:48Z")

</div>

What version of tidalcycles have you installed? (It should be printed in the console)

---

<div class="post-metadata">

**Author:** ![camilleroux](https://uzu.lurk.org/user_avatar/uzu.lurk.org/camilleroux/32/1731_2.png) [@camilleroux](https://uzu.lurk.org/u/camilleroux)\
**Post date:** [11 February 2021 18:23 UTC](https://uzu.lurk.org/t/could-not-load-module-sound-osc-fd-error-on-atom/2879/3 "2021-02-11T18:23:23Z")

</div>

Here is what I get when I try to evaluate `d1 $ sound "bd sn"`:

```
Choose ghcup default path: /Users/camille/.ghcup/bin

Ghci command: /Users/camille/.ghcup/bin/ghci Ghc-pkg command: /Users/camille/.ghcup/bin/ghc-pkg

Load BootTidal.hs from /Users/camille/.cabal/share/x86_64-osx-ghc-8.10.4/tidal-1.7.1/BootTidal.hs

t> Loaded package environment from /Users/camille/.ghc/x86_64-darwin-8.10.4/environments/default

t>

t> : error: Could not load module ‘Sound.OSC.FD’ It is a member of the hidden package ‘hosc-0.18.1’. You can run ‘:set -package hosc’ to expose it. (Note: this unloads all the modules in the current scope.)

t> • Variable not in scope: d1 :: ControlPattern -> t • Perhaps you meant ‘dt’ (imported from Sound.Tidal.Context)
```

---

<div class="post-metadata">

**Author:** ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)\
**Post date:** [11 February 2021 18:34 UTC](https://uzu.lurk.org/t/could-not-load-module-sound-osc-fd-error-on-atom/2879/4 "2021-02-11T18:34:01Z")

</div>

@yaxu could be something with the new release?

---

<div class="post-metadata">

**Author:** ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)\
**Post date:** [11 February 2021 19:51 UTC](https://uzu.lurk.org/t/could-not-load-module-sound-osc-fd-error-on-atom/2879/5 "2021-02-11T19:51:55Z")

</div>

I'm not sure what's going on, but this kind of problem can be fixed by deleting the package environment file reported there:

```haskell
rm /Users/camille/.ghc/x86_64-darwin-8.10.4/environments/default

```

and then reinstalling with the old style 'v1-' method:

```haskell
cabal update
cabal v1-install tidal

```
