# Difficulty & Unique Issues Getting Julia

**URL:** <https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450>\
**Category:** New to Julia\
**Created:** [December 9, 2022, 1:46am UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450 "2022-12-09T01:46:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derek\_Stevens](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/derek_stevens/32/32462_2.png) [@Derek\_Stevens](https://discourse.julialang.org/u/Derek_Stevens)\
**Post date:** [December 9, 2022, 1:46am UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/1 "2022-12-09T01:46:35Z")

</div>

Hi All totally annoying & newbie question here,  
I’m trying to install Julia onto a Mac M1 anaconda environment, and, as per usual with my installation attempts, I’m getting errors installing. Specifically I’m getting the output:

```julia
conda install -c "conda-forge/label/broken" Julia

Collecting package metadata (current_repodata.json): / WARNING conda.models.version:get_matcher(535): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.*, but conda is ignoring the .* and treating it as 1
done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: | 
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed                                                                          

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package libcxx conflicts for:
python=3.9 -> libffi[version='>=3.2.1,<3.3.0a0'] -> libcxx[version='>=4.0.1']
python=3.9 -> libcxx[version='>=10.0.0|>=10.0.1|>=14.0.6|>=12.0.0']

Package zlib conflicts for:
python=3.9 -> zlib[version='>=1.2.11,<1.3.0a0|>=1.2.13,<1.3.0a0|>=1.2.12,<1.3.0a0']
julia -> zlib[version='>=1.2.11,<1.3.0a0']
julia -> git -> zlib=1.2

```

Any advice? I assume this isn’t too common as I can’t find any fixes.

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [December 9, 2022, 2:10am UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/2 "2022-12-09T02:10:01Z")

</div>

Hi there,

Don’t install Julia via conda. Use the official downloads from [Download Julia](https://julialang.org/downloads/).

There’s also the excellent `juliaup` which lets you install and manage various installations of Julia on the same machine: [GitHub - JuliaLang/juliaup: Julia installer and version multiplexer](https://github.com/JuliaLang/juliaup#mac-and-linux)

---

<div class="post-metadata">

**Author:** ![TheCedarPrince](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thecedarprince/32/17323_2.png) [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Post date:** [December 9, 2022, 3:49am UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/3 "2022-12-09T03:49:44Z")

</div>

Also, not annoying question! M1 set-up can be a bit of a challenge. Welcome to the Julia Community! I fully recommend juliaup as well. 🙂

---

<div class="post-metadata">

**Author:** ![fortunewalla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fortunewalla/32/36960_2.png) [@fortunewalla](https://discourse.julialang.org/u/fortunewalla)\
**Post date:** [December 9, 2022, 6:48am UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/4 "2022-12-09T06:48:10Z")

</div>

what is the reason that you wish to install Julia through Conda?

Are you planning or trying something that requires both Conda & Julia to interact?

---

<div class="post-metadata">

**Author:** ![viowiz](https://avatars.discourse-cdn.com/v4/letter/v/58956e/32.png) [@viowiz](https://discourse.julialang.org/u/viowiz)\
**Post date:** [December 9, 2022, 8:00am UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/5 "2022-12-09T08:00:56Z")

</div>

I guess creating a new environment in conda and then setting up julia might solve your problem.

---

<div class="post-metadata">

**Author:** ![Derek\_Stevens](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/derek_stevens/32/32462_2.png) [@Derek\_Stevens](https://discourse.julialang.org/u/Derek_Stevens)\
**Post date:** [December 9, 2022, 8:17pm UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/6 "2022-12-09T20:17:01Z")

</div>

Thanks all, the easiest way to get packages/languages is to manage it all through anaconda at my work from a security standpoint. Having installed Julia via the Julia website, I have it functioning stand alone, however when I try to launch a Julia driven Kernel in Jupyter I get the below error:

```julia
Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.9/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/opt/anaconda3/lib/python3.9/site-packages/tornado/gen.py", line 769, in run
    yielded = self.gen.throw(*exc_info) # type: ignore
  File "/opt/anaconda3/lib/python3.9/site-packages/notebook/services/sessions/handlers.py", line 74, in post
    model = yield maybe_future(
  File "/opt/anaconda3/lib/python3.9/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/opt/anaconda3/lib/python3.9/site-packages/tornado/gen.py", line 769, in run
    yielded = self.gen.throw(*exc_info) # type: ignore
  File "/opt/anaconda3/lib/python3.9/site-packages/notebook/services/sessions/sessionmanager.py", line 98, in create_session
    kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
  File "/opt/anaconda3/lib/python3.9/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/opt/anaconda3/lib/python3.9/site-packages/tornado/gen.py", line 769, in run
    yielded = self.gen.throw(*exc_info) # type: ignore
  File "/opt/anaconda3/lib/python3.9/site-packages/notebook/services/sessions/sessionmanager.py", line 110, in start_kernel_for_session
    kernel_id = yield maybe_future(
  File "/opt/anaconda3/lib/python3.9/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/opt/anaconda3/lib/python3.9/site-packages/notebook/services/kernels/kernelmanager.py", line 176, in start_kernel
    kernel_id = await maybe_future(self.pinned_superclass.start_kernel(self, **kwargs))
  File "/opt/anaconda3/lib/python3.9/site-packages/jupyter_client/multikernelmanager.py", line 186, in start_kernel
    km.start_kernel(**kwargs)
  File "/opt/anaconda3/lib/python3.9/site-packages/jupyter_client/manager.py", line 341, in start_kernel
    self.kernel = self._launch_kernel(kernel_cmd, **kw)
  File "/opt/anaconda3/lib/python3.9/site-packages/jupyter_client/manager.py", line 249, in _launch_kernel
    return launch_kernel(kernel_cmd, **kw)
  File "/opt/anaconda3/lib/python3.9/site-packages/jupyter_client/launcher.py", line 132, in launch_kernel
    proc = Popen(cmd, **kwargs)
  File "/opt/anaconda3/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/opt/anaconda3/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/anaconda3/envs/julia/bin/julia'

```

Could this be driven by the Julia install being outside of my anaconda env’t which doesn’t have Julia?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 9, 2022, 8:49pm UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/7 "2022-12-09T20:49:05Z")

</div>

I’m the lead maintainer of the conda-forge julia-feedstock:

> **[GitHub - conda-forge/julia-feedstock: A conda-smithy repository for julia.](https://github.com/conda-forge/julia-feedstock)**
>
> A conda-smithy repository for julia. Contribute to conda-forge/julia-feedstock development by creating an account on GitHub.

Native M1 support is broken on multiple levels. It is labeled as such for a reason. If you want native M1 support, use the official binaries, please.

If you really want to use for conda for this, use the x86-64 version of mamba-forge:

> **[GitHub - conda-forge/miniforge: A conda-forge distribution.](https://github.com/conda-forge/miniforge)**
>
> A conda-forge distribution. Contribute to conda-forge/miniforge development by creating an account on GitHub.

If you want a managed julia install, try [GitHub - JuliaLang/juliaup: Julia installer and version multiplexer](https://github.com/JuliaLang/juliaup) .

I’ll repeat this one more time. Julia for M1 Macs via conda-forge is not ready. It is broken. Do not use it.

---

<div class="post-metadata">

**Author:** ![fortunewalla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fortunewalla/32/36960_2.png) [@fortunewalla](https://discourse.julialang.org/u/fortunewalla)\
**Post date:** [December 17, 2022, 1:02pm UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/8 "2022-12-17T13:02:50Z")

</div>

I have installed Julia through the official installs but I just tried it through `micromamba`. It cannot seem to solve it! Does it only work for `conda` & `mamba`?

win10/micromamba/python 3.9

### micromamba install julia -c conda-forge

```julia-auto
micromamba install julia -c conda-forge

                                           __
          ________  _______  ________ / /_ ____ _
         / / / / __`__ \/ __`/__ ` __\/__ \/ __ `/
        / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
       / . ___/_/ /_/ /_/\__ ,_/_/ /_/ /_/_. ___/\__ ,_/
      /_/

conda-forge/noarch 10.6MB @ 416.8kB/s 26.4s
conda-forge/win-64 18.4MB @ 678.5kB/s 28.5s

Pinned packages:
  - python 3.9.*

error libmamba Could not solve for environment specs
    Encountered problems while solving:
      - nothing provides requested julia

    The environment can't be solved, aborting the operation

critical libmamba Could not solve for environment specs

```

### micromamba install -c “conda-forge/label/broken” julia

```julia-auto
micromamba install -c "conda-forge/label/broken" julia

                                           __
          ________  _______  ________ / /_ ____ _
         / / / / __`__ \/ __`/__ ` __\/__ \/ __ `/
        / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
       / . ___/_/ /_/ /_/\__ ,_/_/ /_/ /_/_. ___/\__ ,_/
      /_/

conda-forge/label/broken/noarch 50.9kB @ 23.6kB/s 2.2s
conda-forge/label/broken/win-64 249.6kB @ 81.3kB/s 3.1s

Pinned packages:
  - python 3.9.*

error libmamba Could not solve for environment specs
    Encountered problems while solving:
      - nothing provides requested julia

    The environment can't be solved, aborting the operation

critical libmamba Could not solve for environment specs

```

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 18, 2022, 2:11am UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/9 "2022-12-18T02:11:43Z")

</div>

There is no julia conda-forge package for Windows due to limitations of the conda-forge build infrastructure. They would basically have to import the entire msys2 build tool chain. The one that is there is not well maintained.

The msys2 folks also have a build:  
[https://packages.msys2.org/package/mingw-w64-x86\_64-julia?repo=mingw64](https://packages.msys2.org/package/mingw-w64-x86_64-julia?repo=mingw64)

I recommend using juliaup for Windows. Easiest way to install that is via the Windows store:  
[https://apps.microsoft.com/store/detail/julia/9NJNWW8PVKMN?hl=en-us&gl=us](https://apps.microsoft.com/store/detail/julia/9NJNWW8PVKMN?hl=en-us&gl=us)

Juliaup will install official julia binaries.

---

<div class="post-metadata">

**Author:** ![fortunewalla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fortunewalla/32/36960_2.png) [@fortunewalla](https://discourse.julialang.org/u/fortunewalla)\
**Post date:** [December 18, 2022, 11:19am UTC](https://discourse.julialang.org/t/difficulty-unique-issues-getting-julia/91450/10 "2022-12-18T11:19:39Z")

</div>

thanks for the quick response. I guess I didn’t properly notice the OS tag. 🤦‍♀️
