# Python wheels method not working

**URL:** <https://forums.ankiweb.net/t/python-wheels-method-not-working/40045>\
**Category:** Help\
**Created:** [January 20, 2024, 7:42pm UTC](https://forums.ankiweb.net/t/python-wheels-method-not-working/40045 "2024-01-20T19:42:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssshadow](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@ssshadow](https://forums.ankiweb.net/u/ssshadow)\
**Post date:** [January 20, 2024, 7:42pm UTC](https://forums.ankiweb.net/t/python-wheels-method-not-working/40045/1 "2024-01-20T19:42:50Z")

</div>

On debian 12, I try to install Anki via the python wheels method as it says on the Intro & Downloads - Anki Betas guide to installing Anki.

The first two commands of

> sudo apt install python3-pyqt5.{qtwebengine,qtmultimedia}

and

> python3 -m venv --system-site-packages pyenv

work fine, but when I try to run the last 3 commands it says

> -bash: pyenv/bin/anki: No such file or directory

I don’t know what to do now. Somebody told me before in a conversation on a recent post of mine that pip should be in pyenv/bin after the venv command. And that I need to install python3-pip and then start again. But I don’t know what this means or how to install python3-pip. I looked it up but that didn’t yield anything either and I am unsure of what to do now. I have attached a screenshot of my attempts. Does anyone know how I can fix this?

 ![Screenshot 2024-01-20 2.29.45 PM](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/e/a/ea9fb418faed9ac08b9df7695f79713e19bc4f48.png)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [January 21, 2024, 9:43am UTC](https://forums.ankiweb.net/t/python-wheels-method-not-working/40045/2 "2024-01-21T09:43:39Z")

</div>

Previous discussion: [Cannot open up the options menu in Anki app](https://forums.ankiweb.net/t/cannot-open-up-the-options-menu-in-anki-app/38882)

As mentioned there, I’m afraid I’m not sure what the problem is. When I run the python3 command in your screenshot in a Debian 12 install, the subsequent pyenv/bin/pip command works fine for me.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [February 20, 2024, 9:44am UTC](https://forums.ankiweb.net/t/python-wheels-method-not-working/40045/3 "2024-02-20T09:44:08Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
