Skip to content

Commit df5e3ae

Browse files
committed
Fixed collections import error
1 parent f6ecb23 commit df5e3ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pymc3/util.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import re
22
import numbers
3-
from collections.abc import Hashable
3+
try:
4+
from collections.abc import Hashable
5+
except ImportError:
6+
from collections import Hashable
47
import functools
58
import numpy as np
69
from numpy import asscalar

0 commit comments

Comments
 (0)