# Easygui not working correctly with python 3.7

**URL:** <https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020>\
**Category:** Python Help\
**Created:** [February 19, 2023, 8:27pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020 "2023-02-19T20:27:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![LJpythonforum](https://avatars.discourse-cdn.com/v4/letter/l/6f9a4e/32.png) [@LJpythonforum](https://discuss.python.org/u/LJpythonforum)\
**Post date:** [February 19, 2023, 8:27pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020/1 "2023-02-19T20:27:33Z")

</div>

I got a new tablet PC and am trying to use easygui with python 3.7  
When I try to import easygui it tells me it is not found.  
Here is message  
![image|690x208](upload

 ![image](https://us1.discourse-cdn.com/flex002/uploads/python1/original/2X/1/1e18c511383fc19359dc2613e0087984e1e8c992.png)  
://4ifonhdvx9enz3pnIKOzpGTdRpE.png)

---

<div class="post-metadata">

**Author:** ![barry-scott](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@barry-scott](https://discuss.python.org/u/barry-scott)\
**Post date:** [February 19, 2023, 9:37pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020/2 "2023-02-19T21:37:32Z")

</div>

It is necessary to install packages that are not part of the core python.

Not sure why you think you are using python 3.7.  
The screen shot cleaty shows you are using python 3.10.1

For a cmd.exe prompt type:

```auto
py -m pip install easygui

```

This should install easygui for you then you can try running your code again.

---

<div class="post-metadata">

**Author:** ![steven.daprano](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/steven.daprano/32/1083_2.png) [@steven.daprano](https://discuss.python.org/u/steven.daprano)\
**Post date:** [February 19, 2023, 9:47pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020/3 "2023-02-19T21:47:00Z")

</div>

[Please don’t post screenshots or photos of code and error messages it](https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors/285557#285557).

Copy and paste the code **as text** and place it between code fences as explained here:

> [@Python Discourse Quick Start](https://discuss.python.org/t/python-discourse-quick-start/116#how-do-i-post-code-snippets-error-messages-etc-4):
>
> Python Discourse Help [About](https://discuss.python.org/about)[FAQ](https://discuss.python.org/faq) Keyboard Shortcuts Found in top right “hamburger” menu or press ? How do I bookmark a message? If one clicks the … icon below a message, it is replaced by a flag white_flag and bookmark icons. (The latter looks like a hanging banner, but represents the exposed end of a fabric bookmark.) (Silly to have to do this, but that is another topic.) In any case, click your profile image and the left of the three icons underneath is the bookmark icon. Click that you …

---

<div class="post-metadata">

**Author:** ![Queluz8](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/queluz8/32/13617_2.png) [@Queluz8](https://discuss.python.org/u/Queluz8)\
**Post date:** [July 21, 2023, 5:29pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020/4 "2023-07-21T17:29:33Z")

</div>

Where am I suppose to put this?

In python, it doesn’t work, it says “SyntaxError: invalid syntax”

---

<div class="post-metadata">

**Author:** ![barry-scott](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@barry-scott](https://discuss.python.org/u/barry-scott)\
**Post date:** [July 21, 2023, 6:58pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020/5 "2023-07-21T18:58:02Z")

</div>

Type the command at the CMD.exe prompt. Not the python prompt.

---

<div class="post-metadata">

**Author:** ![Queluz8](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/queluz8/32/13617_2.png) [@Queluz8](https://discuss.python.org/u/Queluz8)\
**Post date:** [July 21, 2023, 6:58pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020/6 "2023-07-21T18:58:38Z")

</div>

windows one, right?

---

<div class="post-metadata">

**Author:** ![barry-scott](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@barry-scott](https://discuss.python.org/u/barry-scott)\
**Post date:** [July 21, 2023, 7:03pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020/7 "2023-07-21T19:03:09Z")

</div>

Yes the windows CMD.exe.  
You can start cmd.exe like this:  
Window-key-R cmd.exe ENTER

---

<div class="post-metadata">

**Author:** ![davidism](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/davidism/32/3295_2.png) [@davidism](https://discuss.python.org/u/davidism)\
**Post date:** [July 21, 2023, 7:10pm UTC](https://discuss.python.org/t/easygui-not-working-correctly-with-python-3-7/24020/8 "2023-07-21T19:10:20Z")

</div>

Closed on July 21, 2023, 7:10pm UTC


