01/02/2018, 18:36
qualcuno sa aiutarmi grazie.....
ho questa versione di python
Python 3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1] on linux
Type "copyright", "credits" or "license()" for more information.
boo subito lo importa
poi fa sta roba qua
Codice:
import gpiozero
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 2218, in _find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
import gpiozero
File "/usr/lib/python3/dist-packages/gpiozero/__init__.py", line 22, in <module>
from .devices import (
File "/usr/lib/python3/dist-packages/gpiozero/devices.py", line 19, in <module>
import pkg_resources
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 34, in <module>
import email.parser
File "/home/pi/Desktop/Casa/email.py", line 1, in <module>
import smtplib
File "/usr/lib/python3.4/smtplib.py", line 47, in <module>
import email.utils
ImportError: No module named 'email.utils'; 'email' is not a package
ho questa versione di python
Python 3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1] on linux
Type "copyright", "credits" or "license()" for more information.
boo subito lo importa
poi fa sta roba qua