ModuleNotFoundError: No module named 'Eto'

C:\Users\tonyl\anaconda3\python.exe C:/Users/tonyl/PycharmProjects/pythonProject6/main.py
Traceback (most recent call last):
File “C:\Users\tonyl\PycharmProjects\pythonProject6\main.py”, line 2, in
import Eto.Drawing as drawing
ModuleNotFoundError: No module named ‘Eto’

I have installed ETo

The module is not ETo, but Eto.Forms. This is a .NET GUI library. The Eto-stubs are supposed to help here, but to be honest I haven’t used these to be able to tell you how it is supposed to work. This project is from GitHub - mcneel/pythonstubs: Python stubs for .NET assemblies and is created by @stevebaer

how can I work in python?

Depends on what you are trying to do. Perhaps you can explain.

Python scripts using Rhino and Eto.Forms are intended to run in Rhino, and at least untit Rhino 7 that is all Python 2.7 level, for instance using _EditPythonScript or via a toolbar button. Rhino 8 will bring Python 3.x integration via _RhinoCode.

Typically you don’t run these scripts outside Rhino.

At most you can use Rhino Inside CPython, but that still requires a licensed Rhino installation to work on the machine you intend to run your scripts on.

assigned to Scripting category.