QuantSoftware / QuantSoftwareToolkit

QuantSoftwareToolkit
Other
467 stars 215 forks source link

pip install raises "error: Namespace package problem: QSTK is a namespace package, ..." #57

Closed femtotrader closed 10 years ago

femtotrader commented 10 years ago

Hello,

with Ubuntu 14.04 LTS

$ sudo pip install QSTK Downloading/unpacking QSTK Downloading QSTK-0.2.7.tar.gz (39.0MB): 39.0MB downloaded Running setup.py (path:/tmp/pip_build_root/QSTK/setup.py) egg_info for package QSTK

error: Namespace package problem: QSTK is a namespace package, but its
__init__.py does not call declare_namespace()! Please fix it.
(See the setuptools manual under "Namespace Packages" for details.)

Complete output from command python setup.py egg_info:
running egg_info

creating pip-egg-info/QSTK.egg-info

writing requirements to pip-egg-info/QSTK.egg-info/requires.txt

writing pip-egg-info/QSTK.egg-info/PKG-INFO

writing namespace_packages to pip-egg-info/QSTK.egg-info/namespace_packages.txt

writing top-level names to pip-egg-info/QSTK.egg-info/top_level.txt

writing dependency_links to pip-egg-info/QSTK.egg-info/dependency_links.txt

writing manifest file 'pip-egg-info/QSTK.egg-info/SOURCES.txt'

warning: manifest_maker: standard file '-c' not found

error: Namespace package problem: QSTK is a namespace package, but its

init.py does not call declare_namespace()! Please fix it.

(See the setuptools manual under "Namespace Packages" for details.)


Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/QSTK Storing debug log for failure in /home/ubuntu/.pip/pip.log

sb2nov commented 10 years ago

7a03300bb6ada9ae005149d2880ca5ec7235826b fixes it

sdann commented 9 years ago

I ran into this same problem with the 0.2.6 release:

https://github.com/QuantSoftware/QuantSoftwareToolkit/releases/tag/0.2.6

Could the repo owner create a 0.2.8 tag and release tar? That'd be a lot easier to download than the >1GB repo.

sb2nov commented 9 years ago

https://pypi.python.org/pypi/QSTK should have a release tar for 0.2.8

sb2nov commented 9 years ago

@sdann https://github.com/QuantSoftware/QuantSoftwareToolkit/releases/tag/0.2.8

Thanks for bringing this up.