yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Mac OS X Yosemite readline error

Open dezember opened this issue 11 years ago • 1 comments

Hello,

I am unsure if anybody has reported any error on Mac. I have successfully installed Yowsup virtually on Ubuntu but its pain to start the virtual machine everytime I have to use it.

I have used the earlier version of Yowsup on Windows when I didn't required the Setup.py installation and it worked successfully back in August.

Well, back to my problem.

I have tried installing on mac and trying to troubleshoot python readline package yet I get the following error.

Processing dependencies for yowsup2==2.0.53
Searching for readline
Reading https://pypi.python.org/simple/readline/
Download error on https://pypi.python.org/simple/readline/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!
Couldn't find index page for 'readline' (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: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!
No local packages or download links found for readline
error: Could not find suitable distribution for Requirement.parse('readline')

Does anyone have solution for this? I have tried easy install but was futile. And I think there is some problem with readline package for Mac.

Let me know, if you have similar problem or solution. Thank you.

dezember avatar Jan 02 '15 01:01 dezember

I would like to mark this issue resolved.

I think this was the problem with my system compiling readline 6.2.1 package with gcc.

As I am using Python from Anaconda Package, I found readline in their package list. Therefore, I installed the readline package as:

conda install readline

Now setup.py would still try to download the 'readline' from PIP. So, I bypassed this step as I had fulfilled the dependency by,

if platform.system().lower() == "windows":
    deps.append('pyreadline')
    #else:
#deps.append('readline')

Nothing great. Just a small bug with compiling. So, if you have the same problem, the above method may work for you.

dezember avatar Jan 06 '15 05:01 dezember