# What replaces \`sympy"eye"\` in version 1.3

**URL:** https://discourse.julialang.org/t/what-replaces-sympy-eye-in-version-1-3/32567
**Category:** New to Julia
**Created:** [December 21, 2019, 11:55pm UTC](https://discourse.julialang.org/t/what-replaces-sympy-eye-in-version-1-3/32567 "2019-12-21T23:55:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ea42gh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ea42gh/32/12000_2.png) [@ea42gh](https://discourse.julialang.org/u/ea42gh)
#### Post date: [December 21, 2019, 11:55pm UTC](https://discourse.julialang.org/t/what-replaces-sympy-eye-in-version-1-3/32567/1 "2019-12-21T23:55:48Z")

</div>

The statement `sympy"eye"(3)` does not result in a warning in julia version 0.7.  
In julia version 1.3 however, it elicicts `UndefVarError: @sympy_str not defined`

How would this function get invoked now?

* * *

Figured out one workaround:  
`Array{Sym}(I(3))`  
Is this what is intended now?

---

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [December 22, 2019, 12:22am UTC](https://discourse.julialang.org/t/what-replaces-sympy-eye-in-version-1-3/32567/2 "2019-12-22T00:22:02Z")

</div>

does this help?  
[https://github.com/JuliaPy/SymPy.jl/blob/master/examples/matrices.md#in-julia-12](https://github.com/JuliaPy/SymPy.jl/blob/master/examples/matrices.md#in-julia-12)

---

<div class="post-metadata">

### Author: ![ea42gh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ea42gh/32/12000_2.png) [@ea42gh](https://discourse.julialang.org/u/ea42gh)
#### Post date: [December 22, 2019, 12:39am UTC](https://discourse.julialang.org/t/what-replaces-sympy-eye-in-version-1-3/32567/3 "2019-12-22T00:39:32Z")

</div>

Yes it did! Thank you.

Just to record the solution, the function is now invoked with `sympy.eye(3)`

I had not thought of looking in /examples/ of the sources! And certainly not in my local installation of the packages 😀
