proycon / gecco

Generic Environment for Context-Aware Correction of Orthography
GNU General Public License v3.0
22 stars 7 forks source link

Setup.py cannot install python-timbl #1

Closed Woseseltops closed 9 years ago

Woseseltops commented 9 years ago

(I'm just putting this here so I don't forget)

Not sure if it was supposed to be working already, but when running setup.py in a virtualenv, I got this error:

Installed /home/wstoop/gecco/lib/python3.2/site-packages/Gecco-0.1-py3.2.egg Processing dependencies for Gecco==0.1 Searching for python3-timbl Reading http://pypi.python.org/simple/python3-timbl/ Best match: python3-timbl 2013.03.29-1 Downloading https://pypi.python.org/packages/source/p/python3-timbl/python3-timbl-2013.03.29-1.tar.gz#md5=e8b1d10bf8e4893445bf8ce4fc6071f7 Processing python3-timbl-2013.03.29-1.tar.gz error: Couldn't find a setup script in /tmp/easy_install-8edeov/python3-timbl-2013.03.29-1.tar.gz

It's related to the fact that python-timbl uses setup3.py .

proycon commented 9 years ago

Ah thanks, very good point indeed! I have now pushed new versions to the Python Package index which should solve it.

Woseseltops commented 9 years ago

Solved indeed. (Next problem:

Searching for colibricore>=0.5.7
Reading http://pypi.python.org/simple/colibricore/
Couldn't retrieve index page for 'colibricore'
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for colibricore>=0.5.7
error: Could not find suitable distribution for Requirement.parse('colibricore>=0.5.7')
```)
proycon commented 9 years ago

I didn't put colibri-core on PyPI yet (since it's mostly C++ anyway), I should look into that, for now you'll have to grab it from github and compile and install.

proycon commented 9 years ago

colibri-core is now in the Python Package Index, the setup is a bit hacky but hopefully works in most situations: https://pypi.python.org/pypi/colibricore/