[wdmmg-dev] paster error development.ini
Ben Teeuwen
bteeuwen at gmail.com
Fri Apr 22 15:56:16 UTC 2011
Hey guys,
I took your advice and started anew with the http://packages.python.org/wdmmg/install.html#installation-and-setup installation guide.
I took care of the virtual environment, mongodb, open spending clone, pip install command and the theme clone. I get stuck at:
(env)bteeuwen at Ben-3 /path/to/env/wdmmg]$paster make-config wdmmg development.ini
I get the output below. Afterwards, I cant find an development.ini file to edit. Does the fault lie with:
pkg_resources.VersionConflict: (Pylons 1.0 (/path/to/env/lib/python2.7/site-packages), Requirement.parse('Pylons>=0.9.7,<=0.9.7.99'))
The first time I got this, everything but the last paragraph (traceback) seems to go well.
____________
(env)bteeuwen at Ben-3 /path/to/env/wdmmg]$paster make-config wdmmg development.ini
Must install wdmmg
Searching for wdmmg
Reading http://pypi.python.org/simple/wdmmg/
Best match: wdmmg 0.8
Downloading http://pypi.python.org/packages/source/w/wdmmg/wdmmg-0.8.tar.gz#md5=2c802f90a563bf3fd08d4f5661110fc5
Processing wdmmg-0.8.tar.gz
Running wdmmg-0.8/setup.py -q bdist_egg --dist-dir /var/folders/PX/PXIKXNFfFuO6TwVVeYZmk++++TQ/-Tmp-/easy_install-ugOwhZ/wdmmg-0.8/egg-dist-tmp-vc2fgc
Installed /path/to/env/lib/python2.7/site-packages/wdmmg-0.8-py2.7.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("wdmmg") # latest installed version
pkg_resources.require("wdmmg==0.8") # this exact version
pkg_resources.require("wdmmg>=0.8") # this version or higher
Processing dependencies for wdmmg
Searching for solrpy>=0.9.1
Reading http://pypi.python.org/simple/solrpy/
Reading http://code.google.com/p/solrp
Reading http://code.google.com/p/solrpy
Best match: solrpy 0.9.4
Downloading http://pypi.python.org/packages/source/s/solrpy/solrpy-0.9.4.tar.gz#md5=eec874c571dfb69353ca7b7234b466c8
Processing solrpy-0.9.4.tar.gz
Running solrpy-0.9.4/setup.py -q bdist_egg --dist-dir /var/folders/PX/PXIKXNFfFuO6TwVVeYZmk++++TQ/-Tmp-/easy_install-cOGjkm/solrpy-0.9.4/egg-dist-tmp-mObj5y
warning: no previously-included files matching '*.pyo' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
Installed /path/to/env/lib/python2.7/site-packages/solrpy-0.9.4-py2.7.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("solrpy") # latest installed version
pkg_resources.require("solrpy==0.9.4") # this exact version
pkg_resources.require("solrpy>=0.9.4") # this version or higher
Searching for gdata>=2.0.10
Reading http://pypi.python.org/simple/gdata/
Reading http://code.google.com/p/gdata-python-client/
Best match: gdata 2.0.14
Downloading http://gdata-python-client.googlecode.com/files/gdata-2.0.14.zip
Processing gdata-2.0.14.zip
Running gdata-2.0.14/setup.py -q bdist_egg --dist-dir /var/folders/PX/PXIKXNFfFuO6TwVVeYZmk++++TQ/-Tmp-/easy_install-6L4m6S/gdata-2.0.14/egg-dist-tmp-WWnY8O
zip_safe flag not set; analyzing archive contents...
Installed /path/to/env/lib/python2.7/site-packages/gdata-2.0.14-py2.7.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("gdata") # latest installed version
pkg_resources.require("gdata==2.0.14") # this exact version
pkg_resources.require("gdata>=2.0.14") # this version or higher
Searching for Genshi>=0.5,<=0.5.99
Reading http://pypi.python.org/simple/Genshi/
Reading http://genshi.edgewall.org/
Reading http://genshi.edgewall.org/wiki/Download
Best match: Genshi 0.5.1
Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.zip
Processing Genshi-0.5.1.zip
Running Genshi-0.5.1/setup.py -q bdist_egg --dist-dir /var/folders/PX/PXIKXNFfFuO6TwVVeYZmk++++TQ/-Tmp-/easy_install-xEhcs7/Genshi-0.5.1/egg-dist-tmp-xjABRj
warning: no previously-included files found matching 'doc/2000ft.graffle'
warning: no previously-included files matching '*' found under directory 'doc/logo.lineform'
Installed /path/to/env/lib/python2.7/site-packages/Genshi-0.5.1-py2.7-macosx-10.6-intel.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("Genshi") # latest installed version
pkg_resources.require("Genshi==0.5.1") # this exact version
pkg_resources.require("Genshi>=0.5.1") # this version or higher
Searching for SQLAlchemy>=0.5,<=0.5.99
Reading http://pypi.python.org/simple/SQLAlchemy/
Reading http://www.sqlalchemy.org
Best match: SQLAlchemy 0.5.8
Downloading http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.8.tar.gz#md5=11292211f2634151d240025d58791210
Processing SQLAlchemy-0.5.8.tar.gz
Running SQLAlchemy-0.5.8/setup.py -q bdist_egg --dist-dir /var/folders/PX/PXIKXNFfFuO6TwVVeYZmk++++TQ/-Tmp-/easy_install-sP5kDH/SQLAlchemy-0.5.8/egg-dist-tmp-7XLBcm
no previously-included directories found matching 'doc/build/output'
zip_safe flag not set; analyzing archive contents...
sqlalchemy.databases.mysql: module MAY be using inspect.stack
sqlalchemy.test.orm: module MAY be using inspect.getframeinfo
sqlalchemy.test.orm: module MAY be using inspect.stack
Installed /path/to/env/lib/python2.7/site-packages/SQLAlchemy-0.5.8-py2.7.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("SQLAlchemy") # latest installed version
pkg_resources.require("SQLAlchemy==0.5.8") # this exact version
pkg_resources.require("SQLAlchemy>=0.5.8") # this version or higher
Searching for Pylons>=0.9.7,<=0.9.7.99
Reading http://pypi.python.org/simple/Pylons/
Reading http://www.pylonshq.com/
Best match: Pylons 0.9.7
Downloading http://pypi.python.org/packages/source/P/Pylons/Pylons-0.9.7.tar.gz#md5=f6de97faa730eb0e975f6b2e64a0c574
Processing Pylons-0.9.7.tar.gz
Running Pylons-0.9.7/setup.py -q bdist_egg --dist-dir /var/folders/PX/PXIKXNFfFuO6TwVVeYZmk++++TQ/-Tmp-/easy_install-LYFyh1/Pylons-0.9.7/egg-dist-tmp-5G5HJQ
warning: no previously-included files matching '*' found under directory 'tests/test_units/session'
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files matching '*.hgignore' found anywhere in distribution
warning: no previously-included files matching '*.hgtags' found anywhere in distribution
Installed /path/to/env/lib/python2.7/site-packages/Pylons-0.9.7-py2.7.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("Pylons") # latest installed version
pkg_resources.require("Pylons==0.9.7") # this exact version
pkg_resources.require("Pylons>=0.9.7") # this version or higher
Reading http://www.pylonshq.com/download/0.9.7
Finished processing dependencies for wdmmg
Traceback (most recent call last):
File "/path/to/env/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/path/to/env/lib/python2.7/site-packages/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/path/to/env/lib/python2.7/site-packages/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/path/to/env/lib/python2.7/site-packages/paste/script/appinstall.py", line 68, in run
return super(AbstractInstallCommand, self).run(new_args)
File "/path/to/env/lib/python2.7/site-packages/paste/script/command.py", line 218, in run
result = self.command()
File "/path/to/env/lib/python2.7/site-packages/paste/script/appinstall.py", line 293, in command
self.distro = self.get_distribution(self.requirement)
File "/path/to/env/lib/python2.7/site-packages/paste/script/appinstall.py", line 230, in get_distribution
return pkg_resources.get_distribution(req)
File "/path/to/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 311, in get_distribution
File "/path/to/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 197, in get_provider
File "/path/to/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 666, in require
File "/path/to/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 569, in resolve
pkg_resources.VersionConflict: (Pylons 1.0 (/path/to/env/lib/python2.7/site-packages), Requirement.parse('Pylons>=0.9.7,<=0.9.7.99'))
____________
Second time this:
____________
(env)bteeuwen at Ben-3 /path/to/env/wdmmg]$paster make-config wdmmg development.ini
Traceback (most recent call last):
File "/path/to/env/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/path/to/env/lib/python2.7/site-packages/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/path/to/env/lib/python2.7/site-packages/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/path/to/env/lib/python2.7/site-packages/paste/script/appinstall.py", line 68, in run
return super(AbstractInstallCommand, self).run(new_args)
File "/path/to/env/lib/python2.7/site-packages/paste/script/command.py", line 218, in run
result = self.command()
File "/path/to/env/lib/python2.7/site-packages/paste/script/appinstall.py", line 293, in command
self.distro = self.get_distribution(self.requirement)
File "/path/to/env/lib/python2.7/site-packages/paste/script/appinstall.py", line 206, in get_distribution
dist = pkg_resources.get_distribution(req)
File "/path/to/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 311, in get_distribution
File "/path/to/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 197, in get_provider
File "/path/to/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 666, in require
File "/path/to/env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 569, in resolve
pkg_resources.VersionConflict: (Pylons 1.0 (/path/to/env/lib/python2.7/site-packages), Requirement.parse('Pylons>=0.9.7,<=0.9.7.99'))
____________
More information about the openspending-dev
mailing list