kennethkn / instagram-activities-wipe

Wipe Instagram comments/likes with Selenium Python
MIT License
35 stars 3 forks source link

Installing required dependencies #9

Open WanderingPython opened 2 months ago

WanderingPython commented 2 months ago

I am new to Python and am running into the error “no such file or directory found” when trying to install the required dependencies using the “pip install -r” command prior to running this script. I am running Python3 in the terminal of my MacBook. I successfully cloned the repository and am already navigated to the directory where Python script and other files are. Any insights would be appreciated! Thank you.

kennethkn commented 2 months ago

Could you provide a screenshot so I can help you debug?

Since you mentioned that you are using the python3 command, this command might help: python3 -m pip install -r requirements.txt

WanderingPython commented 1 month ago

Thank you for your reply! This is my code in the terminal:

MacBook-Pro ~ % cd /Users/username/Desktop/Python/instagram-activities-wipe MacBook-Pro instagram-activities-wipe % python3 Python 3.12.5 (v3.12.5:ff3bc82f7c9, Aug 7 2024, 05:32:06) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin Type "help", "copyright", "credits" or "license" for more information.

python3 -m pip install -r requirements.txt File "", line 1 python3 -m pip install -r requirements.txt ^^^ SyntaxError: invalid syntax

WanderingPython commented 1 month ago

Here also is a screenshot. IMG_2864

WanderingPython commented 3 weeks ago

Hello! I am following up here. Would anyone be able to assist with determining the error in my code? Thank you!

extrakerned commented 6 days ago

Hello! I am following up here. Would anyone be able to assist with determining the error in my code? Thank you!

In your second command, once you're in python3, simply enter "pip install -r requirements.txt", don't enter "pyython3 pip install -r requirements.txt".

If you follow the instructions in readme.md to the letter it should work great.