Python package through setup.py install -


i trying install package via python setup.py install, this. (is build/lib not exist problem?)

enter image description here

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:

enter image description here

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

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -