# Failed to run \`pip install vtk'.

**URL:** https://discourse.vtk.org/t/failed-to-run-pip-install-vtk/3487
**Category:** Support
**Created:** [June 8, 2020, 1:02am UTC](https://discourse.vtk.org/t/failed-to-run-pip-install-vtk/3487 "2020-06-08T01:02:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Hongyi\_Zhao](https://discourse.vtk.org/user_avatar/discourse.vtk.org/hongyi_zhao/32/1695_2.png) [@Hongyi\_Zhao](https://discourse.vtk.org/u/Hongyi_Zhao)
#### Post date: [June 8, 2020, 1:02am UTC](https://discourse.vtk.org/t/failed-to-run-pip-install-vtk/3487/1 "2020-06-08T01:02:21Z")

</div>

Hi,

I try to install vtk from pypi but failed as following:

```
$ python -V
Python 3.8.3
$ pip install vtk
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement vtk (from versions: none)
ERROR: No matching distribution found for vtk

```

Any hints for solving this problem?

Regards

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [June 8, 2020, 12:05pm UTC](https://discourse.vtk.org/t/failed-to-run-pip-install-vtk/3487/2 "2020-06-08T12:05:53Z")

</div>

I suspect you’re using a 32-bit Python. We only provide 64-bit wheels.

---

<div class="post-metadata">

### Author: ![Euan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/euan/32/1853_2.png) [@Euan](https://discourse.vtk.org/u/Euan)
#### Post date: [June 12, 2020, 7:43am UTC](https://discourse.vtk.org/t/failed-to-run-pip-install-vtk/3487/3 "2020-06-12T07:43:56Z")

</div>

I had the same problem - I was trying to install this from within a venv python environment. I fixed this by installing it as a system library, and then rebuilding my venv space with the --system-site-packages option.

I see that there is also a pip library vext.vtk that may allow you to retro-actively add it to a venv environment.

---

<div class="post-metadata">

### Author: ![Hongyi\_Zhao](https://discourse.vtk.org/user_avatar/discourse.vtk.org/hongyi_zhao/32/1695_2.png) [@Hongyi\_Zhao](https://discourse.vtk.org/u/Hongyi_Zhao)
#### Post date: [June 12, 2020, 8:17am UTC](https://discourse.vtk.org/t/failed-to-run-pip-install-vtk/3487/4 "2020-06-12T08:17:49Z")

</div>

Euan de Kock via VTK [noreply@discourse.vtk.org](mailto:noreply@discourse.vtk.org) 于2020年6月12日周五 下午3:43写道：

> I had the same problem - I was trying to install this from within a venv python environment. I fixed this by installing it as a system library, and then rebuilding my venv space with the --system-site-packages option.

See here for more details on the reason for this problem:

> <https://github.com/KitwareMedical/VTKPythonPackage/issues/43#issuecomment-642039449>
>
> Hi,
> 
> What's the differences between VTK Python Wrapper and VTKPythonPackage?
> …
> Regards,
> HY

> I see that there is also a pip library vext.vtk that may allow you to retro-actively add it to a venv environment.

Thanks for your above note. I’ll give a try.
