MrTuxx / SocialPwned

SocialPwned is an OSINT tool that allows to get the emails, from a target, published in social networks such as Instagram, Linkedin and Twitter to find possible credentials leaks in PwnDB or Dehashed and obtain Google account information via GHunt.
GNU General Public License v3.0
1.05k stars 103 forks source link

AttributeError: module 'lib' has no attribute 'LinkedInAPI' #3

Closed choupit0 closed 3 years ago

choupit0 commented 3 years ago

Hello,

I read carefully your (F)Manual to install all the prerequisites and use your tool.

However I get this error message:

AttributeError: module 'lib' has no attribute 'LinkedInAPI'

LinkedInAPI

FYI I'm using Python 3.6.8:

LinkedInAPI2

Do you have an idea? I forgot something?..

MrTuxx commented 3 years ago

Hello,

The problem I think is due to the Python version, the linkedin API works with python >= 3.6. But I have been testing on an Ubuntu 16.04.7 and I had the same problem. I recommend you to upgrade to python version 3.8 which I have verified that it works correctly, for this I followed the following steps:

apt-get install python3.8
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 4
update-alternatives --config python3
python3 -V
sudo apt remove python3-pip
apt-get install python3-pip
pip3 install -r requirements.txt
python3 socialpwned.py --help

If you update the Python version, let me know if it worked correctly to close the issue.

choupit0 commented 3 years ago

Hello,

What a hell to upgrade Python to 3.8 version. It was necessary to re-install pip3, it was broken.

(https://bootstrap.pypa.io/get-pip.py)

Now your script is functionning. Thank you!