You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I am using Python x64 3.4.3 on Windows 8.1. When I try to run the sample code you provided, I face the following error.
Traceback (most recent call last):
File "S:\Dev\python\fbchat.py", line 1, in <module>
import fbchat
File "S:\Dev\python\fbchat.py", line 3, in <module>
client = fbchat.Client("YOUR_ID", "YOUR_PASSWORD")
AttributeError: 'module' object has no attribute 'Client'
The interesting thing is that your lib works perfectly when I run the same code in the Python shell. But when I save the code in a file script.py and call python script.py, it gives me the error.
The text was updated successfully, but these errors were encountered:
Hello
I am using Python x64 3.4.3 on Windows 8.1. When I try to run the sample code you provided, I face the following error.
The interesting thing is that your lib works perfectly when I run the same code in the Python shell. But when I save the code in a file script.py and call
python script.py
, it gives me the error.The text was updated successfully, but these errors were encountered: