SIC Import Errors
try reinstalling using
pip install social_interaction_cloud
.check that the pip version corresponds to your Python version (if you have both Python 2 and 3 installed on your machine, you may need to run
pip3
instead ofpip
if you installed the SIC package in a Python environment, check that the environment is activated
if you’re running the script from an IDE, check that the Python path in your IDE is the same as the one pip used
if you’re running the script from the terminal, check that you don’t have multiple Python versions (e.g.: 3.8 and 3.9). If you do, check again that you are running the script with the Python version corresponding to the pip installation path
...
Install everything on Windows instead of using the Linux subsystem.
Failed to connect to X:X: No such file or directory
check that there are no firewalls/antiviruses blocking your ports
check that the
cert.
...
Cannot find espeak
in /usr/local/bin
on Mac M1 chips when installed with homebrew
...
pem
file is in the same directory where you try to run the script
Dialogflow (IAM) Permissions Issues
Open your Dialogflow agent in the browser (dialogflow.google.com)
Navigate to the settings of the agent
Click on the Project ID name. This should redirect you to the Google Cloud account page
Check if the name of the project you are logged in matches the one of your robot Project ID. If it doesn’t select the right project
Navigate to the IAM settings of your Google Cloud account. If the permissions are set correctly you should find both the email you are logged in with in your Google Cloud account, and also the service account email
If one of those emails are missing, add it via the “Grant Access” button at the top of the page
Fill in the missing email in the “Add principals” field, and give it the role of “Owner”. Save.
You should now have the proper permissions to your Dialogflow agent
Tip: You can find your Service Account email by navigating to the “Service Accounts” page
...