Apr-25-2017, 12:18 AM
(Apr-24-2017, 07:21 PM)nilamo Wrote: You didn't name any of your files linkedin, did you? Because python tries to load anything in the current directory before checking site-packages.You'd usually get something more about a module not having an attribute, not that the module can't be found at all.
I think buran has the right idea. I just did
sudo pip install linkedin
followed by (in a Python interpreter) import linkedin
and had no problems.@emilevs: what do you get from these two commands?
Output:$ pip --version
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
$ python --version
Python 2.7.3