I just started to use Python ASE module for research. When I work on the shell this module works perfectly but when I try to use it on idle it gives an error. I don't know how to solve this problem. Any suggestions would be appreciated. I'm using Ubuntu 18.04. Both Python3.6 and 2.7 are installed. I'm using Python3.6 for both shell and idle. For a better understanding I'm writing what I got:
from ase import Atoms
Traceback (most recent call last):
File "/home/birkan/Desktop/archive/Python/ase.py", line 1, in <module>
from ase import Atoms
File "/home/birkan/Desktop/archive/Python/ase.py", line 1, in <module>
from ase import Atoms
ImportError: cannot import name 'Atoms'
[Finished in 0.1s with exit code 1]
[cmd: ['/usr/bin/python3.6', '/home/birkan/Desktop/archive/Python /ase.py']]
[dir: /home/birkan/Desktop/archive/Python]
[path: /home/birkan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr /sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]