charm
charm copied to clipboard
Error: Could not find suitable distribution for Requirement.parse('pyparsing>=1.5.5')
I want to install the charm cryptography library on my Ubuntu (16.04) and the python version is 2.7.12. While I meet a error like this when executing make install
.
No local packages or download links found for pyparsing>=1.5.5
error: Could not find suitable distribution for
Requirement.parse('pyparsing>=1.5.5')
Makefile:97: recipe for target 'install' failed
This is the output info when executing make install
command.
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing Charm_Crypto-0.42-py2.7-linux-x86_64.egg
removing '/usr/local/lib/python2.7/dist-packages/Charm_Crypto-0.42-py2.7-linux-x86_64.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/Charm_Crypto-0.42-py2.7-linux-x86_64.egg
Extracting Charm_Crypto-0.42-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages
Charm-Crypto 0.42 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/Charm_Crypto-0.42-py2.7-linux-x86_64.egg
Processing dependencies for Charm-Crypto==0.42
Searching for pyparsing>=1.5.5
Reading http://pypi.python.org/simple/pyparsing/
Couldn't find index page for 'pyparsing' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for pyparsing>=1.5.5
error: Could not find suitable distribution for Requirement.parse('pyparsing>=1.5.5')
Makefile:97: recipe for target 'install' failed
I have tried to fix this error and google some solution, someone said I should install pip and python setuptools and then install an old version of pyparsing (1.5.7). But this will appear another error also about pyparsing. I guess the key issue is pyparsing, and these are the files under the folder python2.7/dist-packages
as following.
root@rocky-VirtualBox:/usr/local/lib/python2.7/dist-packages# ls
Charm_Crypto-0.42-py2.7-linux-x86_64.egg pyparsing-1.5.7.dist-info
distribute-0.6.24-py2.7.egg pyparsing.py
easy-install.pth pyparsing.pyc
easy_install.py setuptools
easy_install.pyc setuptools-0.6c11-py2.7.egg-info
pip setuptools-38.4.0.dist-info
pip-9.0.1.dist-info setuptools.pth
pkg_resources
why terminal still claim that No local packages or download links found for pyparsing>=1.5.5
?
Good Afternoon,
Have you tried
sudo apt-get install python-setuptools sudo easy_install pyparsing
Regards, Munachiso Ilokah
On Sun, Jan 21, 2018 at 11:53 AM, RockyZhangHKU [email protected] wrote:
I want to install the charm cryptography library on my Ubuntu (16.04) and the python version is 2.7.12. While I meet a error like this when executing make install.
No local packages or download links found for pyparsing>=1.5.5 error: Could not find suitable distribution for Requirement.parse('pyparsing>=1.5.5') Makefile:97: recipe for target 'install' failed
This is the output info when executing make installcommand.
removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing Charm_Crypto-0.42-py2.7-linux-x86_64.egg removing '/usr/local/lib/python2.7/dist-packages/Charm_Crypto-0.42-py2.7-linux-x86_64.egg' (and everything under it) creating /usr/local/lib/python2.7/dist-packages/Charm_Crypto-0.42-py2.7-linux-x86_64.egg Extracting Charm_Crypto-0.42-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages Charm-Crypto 0.42 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/Charm_Crypto-0.42-py2.7-linux-x86_64.egg Processing dependencies for Charm-Crypto==0.42 Searching for pyparsing>=1.5.5 Reading http://pypi.python.org/simple/pyparsing/ Couldn't find index page for 'pyparsing' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for pyparsing>=1.5.5 error: Could not find suitable distribution for Requirement.parse('pyparsing>=1.5.5') Makefile:97: recipe for target 'install' failed
I have tried to fix this error and google some solution, someone said I should install pip and python setuptools and then install an old version of pyparsing (1.5.7). But this will appear another error also about pyparsing. I guess the key issue is pyparsing, and these are the files under the folder python2.7/dist-packages as following.
root@rocky-VirtualBox:/usr/local/lib/python2.7/dist-packages# ls Charm_Crypto-0.42-py2.7-linux-x86_64.egg pyparsing-1.5.7.dist-info distribute-0.6.24-py2.7.egg pyparsing.py easy-install.pth pyparsing.pyc easy_install.py setuptools easy_install.pyc setuptools-0.6c11-py2.7.egg-info pip setuptools-38.4.0.dist-info pip-9.0.1.dist-info setuptools.pth pkg_resources
why terminal still claim that No local packages or download links found for pyparsing>=1.5.5?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JHUISI/charm/issues/159, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ-wouiqiGsm0J0GVuzQvhpsmfYAzBtUks5tM2ufgaJpZM4Rl4ca .
Try installing
pip install pyparsing==1.5.6