# Compatibility issues running CYCLOPS-2.0 with modern Julia (from 1.6 to latest)

**URL:** <https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868>\
**Category:** Community\
**Created:** [May 9, 2025, 10:03am UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868 "2025-05-09T10:03:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![drwei](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@drwei](https://discourse.julialang.org/u/drwei)\
**Post date:** [May 9, 2025, 10:03am UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/1 "2025-05-09T10:03:29Z")

</div>

Hi everyone, I’m a beginner with Julia and currently trying to run a project I found on GitHub:  
[CYCLOPS-2.0](https://github.com/ranafi/CYCLOPS-2.0/commit/df000ce2895c76b7eb6b735538d5df866ebe1864#diff-4f6741cf21cc83d2593e12132b90cbc8cb542750a51eecb886bf63498804485d)

The project was originally written for Julia 1.6, but I’m using a newer version of Julia. Unfortunately, I keep encountering various errors when trying to run the code — likely due to changes in package APIs or syntax between versions.

As someone without much programming experience, I’m struggling to fix the errors myself. I would deeply appreciate any help or advice from the community:

- Has anyone successfully run this project on newer Julia versions?
- Are there known compatibility fixes or ways to downgrade the environment easily?

Any help or suggestions would mean a lot to me — thank you in advance! 🙏

---

<div class="post-metadata">

**Author:** ![mike\_k](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike_k/32/211864_2.png) [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Post date:** [May 9, 2025, 11:28am UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/2 "2025-05-09T11:28:59Z")

</div>

Welcome!  
Julia is in active development and therefore syntax can change over time. Changes are typically announced by depreciated warnings (together with a proposal how to adapt it to the new syntax). Then at some revision, the depreciated syntax will not work anymore. Without having tested it, this seems to be the case here. The last commit of CYCLOPS was 6 years ago, and seemingly the package was only developed for a paper.

If you only want to test it, I suggest that you use it with Julia 1.6. I typically have several different (portable) Julia versions on my machines. Download a portable version 1.6 and give it a try. This way, you do not need to downgrade your existing installation.

Unfortunately, the repo does not contain a Project.toml file (meaning that the used versions of the dependecies are unclear). If the approach above does not work, you could also contact the developer.

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [May 9, 2025, 11:47am UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/3 "2025-05-09T11:47:19Z")

</div>

> [@mike\_k](#):
>
> Julia is in active development and therefore syntax can change over time. Changes are typically announced by depreciated warnings (together with a proposal how to adapt it to the new syntax). Then at some revision, the depreciated syntax will not work anymore. Without having tested it, this seems to be the case here.

Just to clarify, Julia abides by semantic versioning: in theory, the code that worked on Julia 1.6 should still work on Julia 1.11, and can only be allowed to break starting with Julia 2.0 (which may never come).  
The more likely culprits are package versions though. If you want to be as close as possible to what was done by the authors, I suggest trying to reproduce [their package setup](https://github.com/ranafi/CYCLOPS-2.0?tab=readme-ov-file#7-packages) along with the corresponding version of the language itself.

---

<div class="post-metadata">

**Author:** ![mike\_k](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike_k/32/211864_2.png) [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Post date:** [May 9, 2025, 11:56am UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/4 "2025-05-09T11:56:03Z")

</div>

Thank you for the clarification. I thought that changes in syntax can be caused by both: package versions, and the julia versions.

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [May 9, 2025, 12:09pm UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/5 "2025-05-09T12:09:33Z")

</div>

> [@drwei](#):
>
> The project was originally written for Julia 1.6, but I’m using a newer version of Julia.

I suggest you simply try running it with Julia v1.6, as a troubleshooting step.

> [@drwei](#):
>
> I keep encountering various errors when trying to run the code — likely due to changes in package APIs or syntax between versions.

As indicated above, syntax breakage because of a Julia release is not likely.

> [@drwei](#):
>
> Has anyone successfully run this project on newer Julia versions?

No idea, however, if I were you, I’d try asking on the Github page of the project. The code authors should be well placed to help you and fix any issues.

NB: this code, while it is Julia code, is not strictly a “Julia project” - it’s missing a Project.toml file. Having a Project.toml is a good and standard practice. The authors should probably package their code properly.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [May 9, 2025, 2:50pm UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/6 "2025-05-09T14:50:33Z")

</div>

Appreciate that this can all be a bit daunting for a newbie, so just to give a concrete suggestion:

If you are managing your Julia installation with [`juliaup`](https://github.com/JuliaLang/juliaup) (as suggested on Julia’s Download page), you can do

```julia
$> juliaup add 1.6

$> julia +1.6

```

to start Julia 1.6. Then hit the closing square bracket `]` to enter the Package REPL and do:

```julia
julia> #hit ]

(@v1.6) pkg> activate --temp
  Activating new project at `...\Temp\jl_qSjqz4`

(jl_qSjqz4) pkg> add CSV@0.10.4 DataFrames@1.3.4 Distributions@0.25.68 #...etc for all the packages listed in the readme

```

Which should give you an environment that allows running the code as is.

---

<div class="post-metadata">

**Author:** ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)\
**Post date:** [May 9, 2025, 9:17pm UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/7 "2025-05-09T21:17:37Z")

</div>

I’d have trouble too, it’s very weird that the compatibility constraints are documented entirely in the README instead of being specified in a project file and possibly a manifest file for users to activate and instantiate the environment for the scripts (though you would still have to run the right Julia version to begin with). If the developers didn’t design the project to be used for versions beyond what they specified, it’s not a realistic expectation for users with far less knowledge about the project to make it work on newer versions. Start a Julia 1.6 REPL, start an environment (`cd` to your working directory, enter the Pkg REPL mode with `]`, run `activate .`), add all the listed packages with their specified versions e.g. `add CSV@0.10.4`, run `pin --all` to prevent any updates for the environment, finally exit the Pkg REPL mode with backspace to the normal REPL mode where you can run the scripts.

---

<div class="post-metadata">

**Author:** ![drwei](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@drwei](https://discourse.julialang.org/u/drwei)\
**Post date:** [May 10, 2025, 6:48am UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/8 "2025-05-10T06:48:59Z")

</div>

Thank you very much for the clarification and helpful suggestion!

You’re absolutely right — the issue was indeed related to package compatibility rather than Julia itself. After switching to Julia 1.6 and adjusting the package setup accordingly, I was able to successfully run the code.

I really appreciate your insight — it helped point me in the right direction.

---

<div class="post-metadata">

**Author:** ![drwei](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@drwei](https://discourse.julialang.org/u/drwei)\
**Post date:** [May 10, 2025, 6:50am UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/9 "2025-05-10T06:50:00Z")

</div>

Thanks so much for the concrete steps and detailed explanation!

As a newcomer to Julia, I really appreciate you taking the time to lay this out so clearly. Your suggestion to use `juliaup` and replicate the exact package versions was extremely helpful — I followed the steps and was able to get everything running smoothly on Julia 1.6.

Thanks again for your support!

---

<div class="post-metadata">

**Author:** ![drwei](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@drwei](https://discourse.julialang.org/u/drwei)\
**Post date:** [May 10, 2025, 6:50am UTC](https://discourse.julialang.org/t/compatibility-issues-running-cyclops-2-0-with-modern-julia-from-1-6-to-latest/128868/10 "2025-05-10T06:50:43Z")

</div>

Thank you very much for the detailed explanation and advice! It really helped me understand the proper way to set up the environment, and I appreciate you taking the time to share it.
