Closed FRadice1977 closed 8 years ago
I am not sure what you mean.
Could you list the commands you run?
I suspect maybe you're trying to install the Python package globally on your system, which would require super user permissions.
It is often much easier and safer to install packages in a virtual environment, which helps avoid contaminating your system and creating conflicts with other packages you install. These days, pip is also the preferred tool over easy_install for installing Python packages because it makes uninstalling and upgrading packages much easier.
Here's a guide about Python packing using pip and virtualenv: https://www.digitalocean.com/community/tutorials/common-python-tools-using-virtualenv-installing-with-pip-and-managing-packages
Read through that and see if that applies to your question.
I am unable to run python run.py after downloading Elastic Search and Python. Could you please tell me, by looking at this error message what perhaps it may be?
File "/Users/FDR/Downloads/annotator-store-master-4/pyenv/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 85, in perform_request raise ConnectionError('N/A', str(e), e) elasticsearch.exceptions.ConnectionError: ConnectionError(('Connection aborted.', error(61, 'Connection refused'))) caused by: ProtocolError(('Connection aborted.', error(61, 'Connection refused'))) (pyenv)Francescas-MBP:annotator-store-master-4 FDR$
It looks to be python and elastic search's connection with the run.py document that doesn't seem to work. Would you be able to point me towards information relating run.py and the errors I am getting?
First check that Elasticsearch is running.
Try going to http://localhost:9200/
It may be hard you installed Elasticsearch but did not start it?
On Wed, Jul 1, 2015, 06:29 FRadice1977 notifications@github.com wrote:
I am unable to run python run.py after downloading Elastic Search and Python. Could you please tell me, by looking at this error message what perhaps it may be?
File "/Users/FDR/Downloads/annotator-store-master-4/pyenv/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 85, in perform_request raise ConnectionError('N/A', str(e), e) elasticsearch.exceptions.ConnectionError: ConnectionError(('Connection aborted.', error(61, 'Connection refused'))) caused by: ProtocolError(('Connection aborted.', error(61, 'Connection refused'))) (pyenv)Francescas-MBP:annotator-store-master-4 FDR$
It looks to be python and elastic search's connection with the run.py document that doesn't seem to work. Would you be able to point me towards information relating run.py and the errors I am getting?
— Reply to this email directly or view it on GitHub https://github.com/openannotation/annotator-store/issues/127#issuecomment-117676448 .
No activity. If this is still a problem please re-open with more information.
After downloading the files, Python and Elastic Search, I then tries to access the easy_installs package via terminal. When attempting to upload files I find I do not have write access to this directory. Could you tell me how one gets write access to the annotator-store files?
Francesca.