Python package through setup.py install -
i trying install package via python setup.py install, this. (is build/lib not exist problem?)
but when try import it, module cannot found. indeed, when go /usr/local/lib/python2.7/site-packages, there no pydp folder there! however, deepen mystery, when pip uninstall, pip seems think package there; however, there error since package not there:
if has suggestions, appreciated. using homebrewed python, , which python gets me /usr/local/bin/python. (is issue?) thanks.
there appears error in source code of package.
from setuptools import find_packages, setup setup( name='pydp', version='0.2.3', description='a python library implementing dirichlet process mixture models.', author='andrew roth', author_email='andrewjlroth@gmail.com', url='https://bitbucket.org/aroth85/pydp', package_dir = {'': 'lib'}, packages=find_packages(), license = 'gpl v3' ) note find_packages not passed parameters. changing find_packages('lib') things seem install expected. although i'm far setuptools expert, there may better way this.


Comments
Post a Comment