InstaPy / instagram-profilecrawl

📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'selenium' nor 'exceptions'

iBocchese opened this issue · comments

Hi Guys,

little premise: unfortunately for me, I am not a CS student. But I am learning on my own and luckily Github and Stackflow communities are very helpful. Thus, I would like to say that I have already tried almost all the online suggestions I have found to solve previusly my issue (such as easy_install / sudo pip install / pip install...)

yet, this error message is still shown:

Isabellas-Air:instagram-profilecrawl isabellabocchese$ python3.6 crawl_profile.py ibocchese
Traceback (most recent call last):
File "crawl_profile.py", line 5, in
from util.datasaver import Datasaver
File "/Users/isabellabocchese/instagram-profilecrawl/util/datasaver.py", line 5, in
from .util import check_folder
File "/Users/isabellabocchese/instagram-profilecrawl/util/util.py", line 1, in
from selenium.common.exceptions import NoSuchElementException
ModuleNotFoundError: No module named 'selenium'
Isabellas-Air:instagram-profilecrawl isabellabocchese$

AND

Isabellas-Air:instagram-profilecrawl isabellabocchese$ pip install exceptions selenium
Collecting exceptions
Could not find a version that satisfies the requirement exceptions (from versions: )
No matching distribution found for exceptions
Isabellas-Air:instagram-profilecrawl isabellabocchese$ easy_install exceptions selenium
Searching for exceptions
Reading https://pypi.python.org/simple/exceptions/
Download error on https://pypi.python.org/simple/exceptions/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) -- Some packages may not be found!
Couldn't find index page for 'exceptions' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) -- Some packages may not be found!
No local packages or working download links found for exceptions
error: Could not find suitable distribution for Requirement.parse('exceptions')

Any suggestions ? ;) thank you !!

So, if I you have selenium and other modules? What about pip install -r requirements.txt

On Fri, Dec 21, 2018, 11:52 AM Isabella @.*** wrote: Hi Guys, little premise: unfortunately for me, I am not a CS student. But I am learning on my own and luckily Github and Stackflow communities are very helpful. Thus, I would like to say that I have already tried almost all the online suggestions I have found to solve previusly my issue (such as easy_install / sudo pip install / pip install...) yet, this error message is still shown: Isabellas-Air:instagram-profilecrawl isabellabocchese$ python3.6 crawl_profile.py ibocchese Traceback (most recent call last): File "crawl_profile.py", line 5, in from util.datasaver import Datasaver File "/Users/isabellabocchese/instagram-profilecrawl/util/datasaver.py", line 5, in from .util import check_folder File "/Users/isabellabocchese/instagram-profilecrawl/util/util.py", line 1, in from selenium.common.exceptions import NoSuchElementException ModuleNotFoundError: No module named 'selenium' Isabellas-Air:instagram-profilecrawl isabellabocchese$ AND Isabellas-Air:instagram-profilecrawl isabellabocchese$ pip install exceptions selenium Collecting exceptions Could not find a version that satisfies the requirement exceptions (from versions: ) No matching distribution found for exceptions Isabellas-Air:instagram-profilecrawl isabellabocchese$ easy_install exceptions selenium Searching for exceptions Reading https://pypi.python.org/simple/exceptions/ Download error on https://pypi.python.org/simple/exceptions/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) -- Some packages may not be found! Couldn't find index page for 'exceptions' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) -- Some packages may not be found! No local packages or working download links found for exceptions error: Could not find suitable distribution for Requirement.parse('exceptions') Any suggestions ? ;) thank you !! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#119>, or mute the thread https://github.com/notifications/unsubscribe-auth/AgZdwTaTarHEiBeQ1uBpOub3BI1jF5Xpks5u7L1-gaJpZM4Zdyqp .

hi justdvl,

of course, I did ! all the requisites have been correctly executed.

perhaps you have installed more than one version of python.
what's your version?
pip -V
perhaps this would help?
pip3 install -r requirements.txt

Thanks @timmoh ! it worked smoothly