Instagram scraper - kako da obrisem

Prvo da Vas pozdravim :smiley:

Pa tek onda da predjem na problem, instalirao sam instagram scraper ali mi nesto ne ide… hteo bih da ga obrisem ali ne znam kako sad…
Evo koda:

pip uninstall igramscraper

Imam instaliran Python3, medjutim ovo dobijam:

[email protected]:~$ pip uninstall igramscraper
bash: pip: command not found

ΠŸΡ€ΠΎΠ±Π°Ρ˜ са:

pip3 uninstall igramscraper

da, probao sam…

Pozdrav,
ja sam ga uspesno instalirao i unsintalirao na centos7.

U mom slucaju komanda za instaliranje je bila sledeca:
sudo pip-3.6 install igramscraper

A za unsinstaliranje:
sudo pip-3.6 uninstall igramscraper

[[email protected] ~]$ sudo pip-3.6 install igramscraper
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip-3.6 install --user` instead.
Collecting igramscraper
  Downloading https://files.pythonhosted.org/packages/1c/ef/f86b3ed24902305a0b4d318ecc78b86c168fc4979814fd31ce8dfa6278cc/igramscraper-0.3.5.tar.gz
Collecting requests>=2.21.0 (from igramscraper)
  Downloading https://files.pythonhosted.org/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl (61kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 1.8MB/s
Collecting python-slugify==3.0.2 (from igramscraper)
  Downloading https://files.pythonhosted.org/packages/c1/19/c3cf1dc65e89aa999f85a4a3a4924ccac765a6964b405d487b7b7c8bb39f/python-slugify-3.0.2.tar.gz
Collecting idna<3,>=2.5 (from requests>=2.21.0->igramscraper)
  Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 8.1MB/s
Collecting certifi>=2017.4.17 (from requests>=2.21.0->igramscraper)
  Downloading https://files.pythonhosted.org/packages/c1/6f/3d85f0850962279a7e4c622695d7b3171e95ac65308a57d3b29738b27149/certifi-2020.11.8-py2.py3-none-any.whl (155kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 163kB 2.6MB/s
Collecting chardet<4,>=3.0.2 (from requests>=2.21.0->igramscraper)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 143kB 4.5MB/s
Collecting urllib3<1.27,>=1.21.1 (from requests>=2.21.0->igramscraper)
  Downloading https://files.pythonhosted.org/packages/f5/71/45d36a8df68f3ebb098d6861b2c017f3d094538c0fb98fa61d4dc43e69b9/urllib3-1.26.2-py2.py3-none-any.whl (136kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 143kB 4.8MB/s
Collecting text-unidecode==1.2 (from python-slugify==3.0.2->igramscraper)
  Downloading https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl (77kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 81kB 3.3MB/s
Installing collected packages: idna, certifi, chardet, urllib3, requests, text-unidecode, python-slugify, igramscraper
  Running setup.py install for python-slugify ... done
  Running setup.py install for igramscraper ... done
Successfully installed certifi-2020.11.8 chardet-3.0.4 idna-2.10 igramscraper-0.3.5 python-slugify-3.0.2 requests-2.25.0 text-unidecode-1.2 urllib3-1.26.2
[[email protected] ~]$ sudo pip-3.6 uninstall igramscraper
Uninstalling igramscraper-0.3.5:
  /usr/local/lib/python3.6/site-packages/examples/__init__.py
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/add_and_delete_comment.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/block_unblock_account.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/context.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/follow_unfollow_account.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_by_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_by_username.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_followers.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_following.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_medias_by_username.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_current_top_medias_by_location_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_current_top_medias_by_tag_name.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_location_by_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_by_code.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_by_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_by_url.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_comments.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_likes.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_tagged_users.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_medias_by_location_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_medias_by_tag.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_medias_from_feed.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_stories.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/like_and_unlike_media.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/search_accounts_by_username.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/add_and_delete_comment.py
  /usr/local/lib/python3.6/site-packages/examples/block_unblock_account.py
  /usr/local/lib/python3.6/site-packages/examples/context.py
  /usr/local/lib/python3.6/site-packages/examples/follow_unfollow_account.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_by_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_by_username.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_followers.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_following.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_medias_by_username.py
  /usr/local/lib/python3.6/site-packages/examples/get_current_top_medias_by_location_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_current_top_medias_by_tag_name.py
  /usr/local/lib/python3.6/site-packages/examples/get_location_by_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_by_code.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_by_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_by_url.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_comments.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_likes.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_tagged_users.py
  /usr/local/lib/python3.6/site-packages/examples/get_medias_by_location_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_medias_by_tag.py
  /usr/local/lib/python3.6/site-packages/examples/get_medias_from_feed.py
  /usr/local/lib/python3.6/site-packages/examples/get_stories.py
  /usr/local/lib/python3.6/site-packages/examples/like_and_unlike_media.py
  /usr/local/lib/python3.6/site-packages/examples/search_accounts_by_username.py
  /usr/local/lib/python3.6/site-packages/igramscraper-0.3.5-py3.6.egg-info
  /usr/local/lib/python3.6/site-packages/igramscraper/__init__.py
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/endpoints.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/helper.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/instagram.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/session_manager.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/endpoints.py
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__init__.py
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__pycache__/instagram_auth_exception.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__pycache__/instagram_exception.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__pycache__/instagram_not_found_exception.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/instagram_auth_exception.py
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/instagram_exception.py
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/instagram_not_found_exception.py
  /usr/local/lib/python3.6/site-packages/igramscraper/helper.py
  /usr/local/lib/python3.6/site-packages/igramscraper/instagram.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__init__.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/account.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/carousel_media.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/comment.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/initializer_model.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/location.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/media.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/story.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/tag.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/user_stories.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/account.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/carousel_media.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/comment.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/initializer_model.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/location.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/media.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/story.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/tag.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/user_stories.py
  /usr/local/lib/python3.6/site-packages/igramscraper/session_manager.py
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/__init__.py
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/__pycache__/console_verification.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/__pycache__/two_step_verification_abstract_class.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/console_verification.py
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/two_step_verification_abstract_class.py
Proceed (y/n)? y
  Successfully uninstalled igramscraper-0.3.5
[[email protected] ~]$

Ono sto ja vidim iz tog loga sto si postavio jeste da path β€˜/home/b/.local/bin’ nije stavljen u variablu.
Taj problem bi trebala da ti resi sledeca komanda:
PATH=$PATH:/home/b/.local/bin

a zatim pokusaj da deinstaliras paket.

jesam probao, nakon komande isto nece:

[email protected]:~$ PATH=$PATH:/home/b/.local/bin
[email protected]:~$ sudo pip-3.6 uninstall igramscraper
[sudo] password for b:
sudo: pip-3.6: command not found

Pomesao si sta sam ti rekao.
Ako imas pip3 onda koristis pip3.
Ako imas pip3-nesto-tako onda koristis pip3-nesto-tako

U tvom slucaju je koliko vidim koristis pip3. Ako si sada dodao path, pokusaj da uninstaliras sa komandom pip3.
Ako nista, barem mora da ti se resi warning za PATH :slight_smile:

Znaci:
PATH=$PATH:/home/b/.local/bin
pip3 uninstall igramscraper