Giter VIP home page Giter VIP logo

Comments (8)

iojw avatar iojw commented on August 28, 2024

What is the command you are running that causes the above error?

from socialscan.

UmerYasin1 avatar UmerYasin1 commented on August 28, 2024

When I run my program this error pop up in terminal ....

from socialscan.

UmerYasin1 avatar UmerYasin1 commented on August 28, 2024

My code :

from socialscan.util import Platforms, sync_execute_queries
import pandas

INPUT_FILE = 'Book1.xlsx'

df = pandas.read_excel(INPUT_FILE, 'Sheet1', usecols=['Emails'])
listt =df['Emails'].tolist()

platforms = [Platforms.GITHUB, Platforms.LASTFM , Platforms.Instagram,
Platforms.Twitter, Platforms.Tumblr, Platforms.Pinterest,
Platforms.Spotify, Platforms.Firefox, Platforms.Pinterest]

results = sync_execute_queries(listt, platforms)
for result in results:
print(f"{result.query} on {result.platform}: {result.message} (Success: {result.success}, Valid: {result.valid}, Available: {result.available})")

from socialscan.

iojw avatar iojw commented on August 28, 2024

It may be because your file is named socialscan.py. Try a different name. Otherwise, it's an issue with your Python PATH configuration.

from socialscan.

UmerYasin1 avatar UmerYasin1 commented on August 28, 2024

Thanks It works ..... I need one more help when i run my code i got this error in terminal .....

raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Can you please resolve it .....

from socialscan.

iojw avatar iojw commented on August 28, 2024

What's your OS and Python version?

from socialscan.

UmerYasin1 avatar UmerYasin1 commented on August 28, 2024

I am Using Python 3.9 and Window 10 OS
And Code editor Pycharm ....

from socialscan.

iojw avatar iojw commented on August 28, 2024

This is related to #2.

Closing this as it is stale. If this issue still occurs, could you post more details about the socialscan version you are using in that issue?

from socialscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.