# Building Neo4j Applications with Pytho - Gitpod does not let me install neo4j

**URL:** <https://community.neo4j.com/t/building-neo4j-applications-with-pytho-gitpod-does-not-let-me-install-neo4j/64434>\
**Category:** Graph Academy\
**Created:** [October 11, 2023, 8:35am UTC](https://community.neo4j.com/t/building-neo4j-applications-with-pytho-gitpod-does-not-let-me-install-neo4j/64434 "2023-10-11T08:35:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joa.jordan12](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/joa.jordan12/32/29539_2.png) [@joa.jordan12](https://community.neo4j.com/u/joa.jordan12)\
**Post date:** [October 11, 2023, 8:35am UTC](https://community.neo4j.com/t/building-neo4j-applications-with-pytho-gitpod-does-not-let-me-install-neo4j/64434/1 "2023-10-11T08:35:38Z")

</div>

When trying to execute  
$ pip install neo4j  
I get an error:  
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?  
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.  
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.  
│ exit code: 1  
╰─\> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

How to fix this?

---

<div class="post-metadata">

**Author:** ![martin.ohanlon](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/martin.ohanlon/32/35829_2.png) [@martin.ohanlon](https://community.neo4j.com/u/martin.ohanlon)\
**Post date:** [October 11, 2023, 9:28am UTC](https://community.neo4j.com/t/building-neo4j-applications-with-pytho-gitpod-does-not-let-me-install-neo4j/64434/2 "2023-10-11T09:28:40Z")

</div>

Hi,

I think the issue is occuring due to gitpod changing to use Python 3.12 as default. Currently the Neo4j Python driver only supports up to Python 3.11.

You can install Python 3.11 in gitpod by running the following commands to install and set it to be used. You can then install the driver.

```auto
pyenv install 3.11
pyenv global 3.11
pip install neo4j

```

I am looking at the implications of this.

Martin

---

<div class="post-metadata">

**Author:** ![rouven\_bauer](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rouven_bauer/32/16547_2.png) [@rouven\_bauer](https://community.neo4j.com/u/rouven_bauer)\
**Post date:** [October 11, 2023, 9:32am UTC](https://community.neo4j.com/t/building-neo4j-applications-with-pytho-gitpod-does-not-let-me-install-neo4j/64434/3 "2023-10-11T09:32:57Z")

</div>

Yep. Sadly Python 3.12 not working with the latest released version of the driver due to `setuptools` breaking 😕

Will be supported in the next release

> <https://github.com/neo4j/neo4j-python-driver/pull/972>
>
> Depends on:
> \* https://github.com/neo-technology/driver-teamcity-pipelines/pull…/206 (then re-run the pipelines)

---

<div class="post-metadata">

**Author:** ![martin.ohanlon](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/martin.ohanlon/32/35829_2.png) [@martin.ohanlon](https://community.neo4j.com/u/martin.ohanlon)\
**Post date:** [October 11, 2023, 9:51am UTC](https://community.neo4j.com/t/building-neo4j-applications-with-pytho-gitpod-does-not-let-me-install-neo4j/64434/4 "2023-10-11T09:51:06Z")

</div>

In the mean time a change has been made when launching the project in gitpod to download and install python 3.11.

@joa.jordan12 I suspect you will still need to download and setup 3.11 in gitpod manually as you project was created before this change.

---

<div class="post-metadata">

**Author:** ![rubeenatalha313](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/rubeenatalha313/32/29449_2.png) [@rubeenatalha313](https://community.neo4j.com/u/rubeenatalha313)\
**Post date:** [November 9, 2023, 6:08pm UTC](https://community.neo4j.com/t/building-neo4j-applications-with-pytho-gitpod-does-not-let-me-install-neo4j/64434/5 "2023-11-09T18:08:11Z")

</div>

# [AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?](https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean)

[Ask Question](https://stackoverflow.com/questions/ask)
