google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Installation fails #186

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
django-page-cms cannot be installed with easy_install or pip. It will result in 
throwing a warning:

    warning: install_lib: 'build/lib' does not exist -- no Python modules to install

Steps to reproduce:
    1. easy_install django-page-cms
    2. python -c 'import pages'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named pages

This is due to line 23 in the setup.py that is commented out. Uncommenting the 
line fixes this problem.

Original issue reported on code.google.com by koziel.a...@googlemail.com on 30 Nov 2009 at 2:19

GoogleCodeExporter commented 9 years ago

Hello i can solve that trouble:
 if you have the directory: django-page-cms-1.0.8/pages copy to the full path for 
django. 
In Ubuntu will need to also copy or make a link
/usr/local/lib/python2.6/dist-packages/[here pages]
/usr/lib/python2.6/dist-packages/[link here pages]

python -c 'import pages'

without ERROR 

Original comment by net...@gmail.com on 2 Dec 2009 at 7:04

GoogleCodeExporter commented 9 years ago
It's definitely an error if the package doesn't install properly. This is what 
I get 
when I install :

$ sudo easy_install django-page-cms
/usr/lib/python2.6/dist-packages/setuptools/package_index.py:155: UserWarning: 
Unbuilt egg for setuptools [unknown version] 
(/usr/local/lib/python2.6/dist-packages)
  Environment.__init__(self,*args,**kw)
/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py:191: 
UserWarning: 
Unbuilt egg for setuptools [unknown version] 
(/usr/local/lib/python2.6/dist-packages)
  self.local_index = Environment(self.shadow_path+sys.path)
Searching for django-page-cms
Reading http://pypi.python.org/simple/django-page-cms/
Reading http://code.google.com/p/django-page-cms/
Reading http://code.google.com/p/django-page-cms/downloads/list
Best match: django-page-cms 1.0.8
Downloading 
http://django-page-cms.googlecode.com/files/django-page-cms-1.0.8.tar.gz
Processing django-page-cms-1.0.8.tar.gz
Running django-page-cms-1.0.8/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-
YwFtt3/django-page-cms-1.0.8/egg-dist-tmp-uOvccq
warning: no files found matching '*' under directory 'docs'
warning: install_lib: 'build/lib.linux-i686-2.6' does not exist -- no Python 
modules 
to install
Adding django-page-cms 1.0.8 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/django_page_cms-1.0.8-py2.6.egg
Processing dependencies for django-page-cms
Finished processing dependencies for django-page-cms

It seems to work well for me.

Original comment by batiste....@gmail.com on 3 Dec 2009 at 10:28

GoogleCodeExporter commented 9 years ago
Well, you get the same error: "warning: install_lib: 'build/lib.linux-i686-2.6' 
does not exist -- no Python 
modules". Which means that setuptools doesn't install any Python modules. Are 
you sure the "pages" module 
wasn't already in the site-packages?

Original comment by koziel.a...@googlemail.com on 3 Dec 2009 at 10:33

GoogleCodeExporter commented 9 years ago
I uploaded a new version of the package. And it install well with pip and 
easy_install 
for me. Can you confirm on your side?

Original comment by batiste....@gmail.com on 3 Dec 2009 at 3:21

GoogleCodeExporter commented 9 years ago
Yep, 1.0.9 works fine.

Original comment by koziel.a...@googlemail.com on 3 Dec 2009 at 5:51

GoogleCodeExporter commented 9 years ago

Original comment by batiste....@gmail.com on 3 Dec 2009 at 6:19