Error conecting raspberry with my arduino in a serial port
What's almost certainly happening here is that you've named your file serial.py, so the import is trying to load the library from your file within the current working directory.

To fix this problem, simply rename your serial.py script to something else, for example serial_comms.py or whatever other useful name you want.