# Wierd error in Aesara

**URL:** <https://discourse.pymc.io/t/wierd-error-in-aesara/10389>\
**Category:** v5\
**Tags:** bug\
**Created:** [September 13, 2022, 10:19pm UTC](https://discourse.pymc.io/t/wierd-error-in-aesara/10389 "2022-09-13T22:19:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HuangHam](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/huangham/32/4666_2.png) [@HuangHam](https://discourse.pymc.io/u/HuangHam)\
**Post date:** [September 13, 2022, 10:19pm UTC](https://discourse.pymc.io/t/wierd-error-in-aesara/10389/1 "2022-09-13T22:19:16Z")

</div>

I took a toy code from Aesara official doc and it’s giving me a weird error. I didn’t get this error in another virtual environment so maybe there is some dependency on other packages? Here is the code

```auto
import aesara
import pymc
import aesara.tensor as at
print(pymc. __version__ )
print(aesara. __version__ )
a, b, c, d = at.scalars('abcd')
X = at.stacklists([[a, b], [c, d]])
f = aesara.function([a, b, c, d], X)
f(1, 2, 3, 4)

```

Here is the error message

 ![Screen Shot 2022-09-13 at 6.16.39 PM](https://canada1.discourse-cdn.com/flex036/uploads/pymc3/original/2X/c/c24c65a1c8af28d50c1ecf139fa458db93c7e61e.png)

---

<div class="post-metadata">

**Author:** ![cluhmann](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/cluhmann/32/3083_2.png) [@cluhmann](https://discourse.pymc.io/u/cluhmann)\
**Post date:** [September 13, 2022, 10:38pm UTC](https://discourse.pymc.io/t/wierd-error-in-aesara/10389/2 "2022-09-13T22:38:58Z")

</div>

Yes, this looks like an environment/dependency error. How did you install PyMC in this environment?

---

<div class="post-metadata">

**Author:** ![HuangHam](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/huangham/32/4666_2.png) [@HuangHam](https://discourse.pymc.io/u/HuangHam)\
**Post date:** [September 13, 2022, 11:34pm UTC](https://discourse.pymc.io/t/wierd-error-in-aesara/10389/3 "2022-09-13T23:34:13Z")

</div>

through anaconda. conda install -c conda-forge pymc=4.1.6
