Another proof.
Lemma. Let $w\in\mathbb{C}$. If $u(z)$ is a holomorphic function in an open subset $G\subset \mathbb{C}$ that is not a constant function $w$, then elements in $u^{-1}(w)$ are isolated.
[Proof of the Lemma]: Without loss of generality, we may assume $w=0$. Suppose $u(z_0)=0$. Let the order of $z_0$ be $m$ (must be finite, otherwise $u\equiv 0$), then $u(z)=(z-z_0)^m h(z)$, where $h(z)$ is holomorphic in $G$ and $h(z_0)\ne0$. Then there is a neighbourhood $U\subset G$ of $z_0$ such that $h(z)\ne 0$ (thus $u(z)\ne0$) in $U\backslash \{z_0\}$. So $z_0$ is an isolated point of $u^{-1}(0)$. The proof of the Lemma is complete.
Suppose there is a holomorphic function $f$ in the open unit disk such that $f(\frac{1}{n})=\frac{1}{2^n}$ for $n=2,3,\ldots$. Then $2^{n}f(\frac{1}{n})=1$ for $n=2,3,\ldots$.
Note that $g(z)=2^{\frac{1}{z}}f(z)=\exp(\frac{1}{z}\log 2) f(z)$ is holomorphic in $D\backslash \{0\}$ where $D$ is the open unit disk, and $g(\frac1n)=1,n=2,3,\ldots$.
If $g$ is constant $1$ in $D\backslash\{0\}$, then $f(z)=2^{-\frac{1}{z}}=\exp(-\frac1z \log 2)$, by any textbook about functions of complex variable, $\exp(-\frac1z)$ has a nonremovable singularity at $z=0$, so is $f(z)$. So $f$ cannot be extended to a holomorphic function in $D$, a contradiction.
If $g$ is not constant. Note that $g^{-1}(1)$ has a limit point, a contradiction with the Lemma.
The proof is complete.