Let's look at the case of $\mathbb Z$ first. A natural way to define the uniformity of a probability distribution on a discrete set like $\mathbb Z$ is to say that a random variable $X \in \mathbb Z$ is uniformly distributed iff, for any subsets $A, B \subset \mathbb Z$,
$$\|A\| = \|B\| \iff \mathrm P(X \in A) = \mathrm P(X \in B),$$
where $\|S\|$ denotes the number of elements in the set $S$.
Now, let's make the further assumption that there exists some constant $M \in \mathbb Z$ such that $\mathrm P(|X| \le M) = \varepsilon > 0$. (A probability distribution that did not satisfy this assumption would have to be a very curious beast indeed, since a random variable so distributed would exceed any finite bound with probability $1$.)
Let $A = \{-M,\, \dotsc,\, M\}$. Then we can decompose $\mathbb Z$ into countably many disjoint subsets $A_k = A + (2M+1)k$ such that $\|A_k\| = \|A\| = 2M+1$ for all $k \in \mathbb Z$, and thus $\mathrm P(X \in A_k) = \varepsilon$ for all $k \in \mathbb Z$. But then
$$\mathrm P(X \in \mathbb Z) = \sum_{k \in \mathbb Z}\, \mathrm P(X \in A_k) = \sum_{k \in \mathbb Z}\, \varepsilon = \infty.$$
Indeed, we can even take a finite union of sufficiently many sets $A_k$ to obtain a finite set $B$ such that $\mathrm P(X \in B) \ge 1$, which is clearly absurd for a probability distribution.
Similarly, a natural property one would require of a random variable $X$ uniformly distributed over $\mathbb R$ would be that, for all $a,b,c,d \in \mathbb R$, $a \le b$, $c \le d$,
$$b-a = d-c \iff \mathrm P(X \in [a,b]) = \mathrm P(X \in [c,d]).$$
We can then carry out a similar argument as above to show that, if there exists an $M \in \mathbb R$ such that $\mathrm P(|X| \le M) = \varepsilon > 0$, then there exists a bounded set $B \in \mathbb R$ such that $\mathrm P(X \in B) \ge 1$.
Of course, this is not a complete proof of the impossibility of a uniform probability distribution over $\mathbb R$ (or $\mathbb Z$), since I haven't actually proven that there might not be a strange probability distribution for which $\mathrm P(|X| \le M) = 0$ for all $M \in \mathbb R$, yet somehow $\mathrm P(X \in \mathbb R) = 1$. But hopefully I've at least convinced you that, if a uniform probability distribution over $\mathbb R$ or $\mathbb Z$ were to exist, it would have to seriously violate our intuition about how a proper distribution ought to behave.