pierreleocadie / ScrapeGram

OSINT tool to scraping data from someone's Instagram account.
MIT License
7 stars 5 forks source link

Error #1

Closed aditya-pushkar closed 1 year ago

aditya-pushkar commented 1 year ago
Traceback (most recent call last):
  File "/Users/Desktop/instabot/ScrapeGram/src/main.py", line 1, in <module>
    from Queries import Queries
  File "/Users/Desktop/instabot/ScrapeGram/src/Queries.py", line 1, in <module>
    import requests, json, constants, logging, os
  File "/Users/Desktop/instabot/ScrapeGram/src/constants.py", line 10, in <module>
    os.mkdir(os.path.join("src", "logs"))

error while starting the file

pierreleocadie commented 1 year ago

Hey ! What is your Python version ? Did you install the requirements (requirements.txt) ? Can you provide more information about your environment ?

aditya-pushkar commented 1 year ago

yes, I installed all the requirements and im using python 3.9.6 and using virtualenv for virtual enviroment, my operating system is mac.

aditya-pushkar commented 1 year ago

@pierreleocadie any update ?

pierreleocadie commented 1 year ago

I'll take a look and I'll fix it !

pierreleocadie commented 1 year ago

@aditya-pushkar I think you must be using Python version 3.10.0 or later. Try it and keep me informed :)

aditya-pushkar commented 1 year ago

@pierreleocadie I'm using Python 3.9.6

aditya-pushkar commented 1 year ago

can you run this code on replit.com ?

pierreleocadie commented 1 year ago

@aditya-pushkar You can't run it on replit.com, I tried and I can't. I had the same error as you

aditya-pushkar commented 1 year ago

@pierreleocadie what are your python version and operating system?

pierreleocadie commented 1 year ago

@aditya-pushkar my python version is 3.10.0 and my operating system is macOS Monterey

aditya-pushkar commented 1 year ago

If the bot is running on your system then just containerized it and upload the Dockerfile, I think it is the easiest way.

pierreleocadie commented 1 year ago

I'll do it ! Thanks for the idea !

aditya-pushkar commented 1 year ago

@pierreleocadie can you able to do it today? it will help me a lot ? thanks

pierreleocadie commented 1 year ago

@aditya-pushkar yep but can you try to run main.py from ScrapeGram folder like this :

cd ScrapeGram
python3 src/main.py #or python src/main.py

I think this could solve the problem. Keep me informed