# Windows: capitalization of the HOME environment variable

**URL:** https://discourse.julialang.org/t/windows-capitalization-of-the-home-environment-variable/200
**Category:** General Usage
**Created:** [November 8, 2016, 7:33pm UTC](https://discourse.julialang.org/t/windows-capitalization-of-the-home-environment-variable/200 "2016-11-08T19:33:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![tshort](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tshort/32/43_2.png) [@tshort](https://discourse.julialang.org/u/tshort)
#### Post date: [November 8, 2016, 7:33pm UTC](https://discourse.julialang.org/t/windows-capitalization-of-the-home-environment-variable/200/1 "2016-11-08T19:33:43Z")

</div>

I have `HOME` defined in an environment variable. Starting with Julia v0.5.0, I could install packages, but I could not load them with `using` or `import`. It turns out, I had the capitalization wrong in my `HOME` environment variable. That hasn’t been a problem with other programs (including Julia v0.4.x) because Windows programs don’t normally care about file/path case. Once I fixed my capitalization, things worked fine.

It might help someone else who was confused by this. The error message wasn’t obvious other than giving me a good place in the code to start looking.

---

<div class="post-metadata">

### Author: ![amellnik](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amellnik/32/137_2.png) [@amellnik](https://discourse.julialang.org/u/amellnik)
#### Post date: [November 9, 2016, 4:45pm UTC](https://discourse.julialang.org/t/windows-capitalization-of-the-home-environment-variable/200/2 "2016-11-09T16:45:21Z")

</div>

This is good to keep in mind, and a common pain point on windows systems. I use some software that looks for proxy settings in a “http\_proxy” environment variable, and others that want a “HTTP\_PROXY” environment variable, and I can’t define both…

---

<div class="post-metadata">

### Author: ![simonbyrne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simonbyrne/32/19_2.png) [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)
#### Post date: [November 9, 2016, 10:35pm UTC](https://discourse.julialang.org/t/windows-capitalization-of-the-home-environment-variable/200/3 "2016-11-09T22:35:54Z")

</div>

Did you have the capitalization of HOME wrong, or the path itself?

---

<div class="post-metadata">

### Author: ![tshort](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tshort/32/43_2.png) [@tshort](https://discourse.julialang.org/u/tshort)
#### Post date: [November 9, 2016, 10:47pm UTC](https://discourse.julialang.org/t/windows-capitalization-of-the-home-environment-variable/200/4 "2016-11-09T22:47:45Z")

</div>

My problem was the capitalization of the path.

---

<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: [November 9, 2016, 11:21pm UTC](https://discourse.julialang.org/t/windows-capitalization-of-the-home-environment-variable/200/5 "2016-11-09T23:21:19Z")

</div>

This is probably due to [https://github.com/JuliaLang/julia/pull/13542](https://github.com/JuliaLang/julia/pull/13542), which made the `using Foo` statement case-sensitive on case-insensitive filesystems like Windows.

However, making the path case-sensitive as well may have been an unintended side-effect that we should reconsider. In fact, it looks like it only does this on Windows; on Mac case-insensitive systems, it only checks the case of the module name and not the whole path.

---

<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: [November 10, 2016, 10:36pm UTC](https://discourse.julialang.org/t/windows-capitalization-of-the-home-environment-variable/200/6 "2016-11-10T22:36:06Z")

</div>

A fix has been merged for Julia 0.6.
