# Makemesh example errors

**URL:** <https://discourse.mcneel.com/t/makemesh-example-errors/83512>\
**Category:** compute.rhino3d\
**Created:** [May 20, 2019, 4:27pm UTC](https://discourse.mcneel.com/t/makemesh-example-errors/83512 "2019-05-20T16:27:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivelin.peychev](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ivelin.peychev/32/676038_2.png) [@ivelin.peychev](https://discourse.mcneel.com/u/ivelin.peychev)\
**Post date:** [May 20, 2019, 4:27pm UTC](https://discourse.mcneel.com/t/makemesh-example-errors/83512/1 "2019-05-20T16:27:51Z")

</div>

Hi,

I am talking about [this](https://github.com/mcneel/rhino3dm/blob/master/samples/python/makemesh.py) example.

1. import tkinter as Tkinter is required due to misspelled name of the module.
2. After [1] and passing the auth\_token I get an error:

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/2/d/2d4067515fa5260f8d454b1d298811b59d70ed80.png)

Any ideas what’s that about?

---

<div class="post-metadata">

**Author:** ![ivelin.peychev](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ivelin.peychev/32/676038_2.png) [@ivelin.peychev](https://discourse.mcneel.com/u/ivelin.peychev)\
**Post date:** [May 20, 2019, 4:30pm UTC](https://discourse.mcneel.com/t/makemesh-example-errors/83512/2 "2019-05-20T16:30:41Z")

</div>

Ahh, just realized on this machine I don’t have RhinoWIP installed.  
Could that be it?

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/772741_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [May 20, 2019, 4:32pm UTC](https://discourse.mcneel.com/t/makemesh-example-errors/83512/3 "2019-05-20T16:32:20Z")

</div>

`Tkinter` has been renamed to `tkinter` in Python 3.

– Dale

---

<div class="post-metadata">

**Author:** ![ivelin.peychev](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ivelin.peychev/32/676038_2.png) [@ivelin.peychev](https://discourse.mcneel.com/u/ivelin.peychev)\
**Post date:** [May 20, 2019, 4:35pm UTC](https://discourse.mcneel.com/t/makemesh-example-errors/83512/4 "2019-05-20T16:35:38Z")

</div>

Hi @dale,

I agree but it is not specified here:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/f/1/f1a77b123dfdaaebaebf243af8edc301ca5490c3.png)

May I suggest a change:

```python
import platform
import sys

pyver = sys.version_info[0]
pyimpl = platform.python_implementation()

if pyimpl == "CPython"and pyver == 3:
    import tkinter as Tkinter
elif pyimpl == "CPython" and pyver == 2:
    import Tkinter

```

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/772741_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [May 20, 2019, 5:43pm UTC](https://discourse.mcneel.com/t/makemesh-example-errors/83512/5 "2019-05-20T17:43:51Z")

</div>

The samples are open-source - submit a pull request.

– Dale

---

<div class="post-metadata">

**Author:** ![ivelin.peychev](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ivelin.peychev/32/676038_2.png) [@ivelin.peychev](https://discourse.mcneel.com/u/ivelin.peychev)\
**Post date:** [May 20, 2019, 5:50pm UTC](https://discourse.mcneel.com/t/makemesh-example-errors/83512/6 "2019-05-20T17:50:42Z")

</div>

The second issue is more disturbing, what about that one?
