[Buildbot-devel] can't find sqlalchemy-migrate during installation

Jason Edgecombe jason at rampaginggeek.com
Tue Dec 30 02:15:33 UTC 2014


Hi everyone,

I'm having trouble when installing buildbot in a virtualenv on a centos 
6.5  (64bit) VM.

Here is the log:
-----------------------------------------------------------
% pip install --allow-external sqlalchemy-migrate --allow-unverified 
sqlalchemy-migrate buildbot
Collecting buildbot
   Downloading buildbot-0.8.10.tar.gz (4.8MB)
     100% |################################| 4.8MB 1.1MB/s
Collecting twisted>=11.0.0 (from buildbot)
   Downloading Twisted-14.0.2.tar.bz2 (4.3MB)
     100% |################################| 4.3MB 1.0MB/s
Collecting Jinja2>=2.1 (from buildbot)
   Downloading Jinja2-2.7.3.tar.gz (378kB)
     100% |################################| 380kB 2.0MB/s
Collecting sqlalchemy<=0.7.10,>=0.6 (from buildbot)
   Downloading SQLAlchemy-0.7.10.tar.gz (3.5MB)
     100% |################################| 3.5MB 819kB/s
     /tmp/pip-build-08v5g0/sqlalchemy/setup.py:116: DeprecationWarning: 
Features are deprecated and will be removed in a future version. See 
http://bitbucket.org/pypa/setuptools/65.
       ext_modules=ext_modules
     /usr/lib64/python2.6/distutils/core.py:113: DeprecationWarning: 
Features are deprecated and will be removed in a future version. See 
http://bitbucket.org/pypa/setuptools/65.
       _setup_distribution = dist = klass(attrs)
Collecting sqlalchemy-migrate==0.6.1,==0.7.0,==0.7.1,==0.7.2 (from buildbot)
   Could not find a version that satisfies the requirement 
sqlalchemy-migrate==0.6.1,==0.7.0,==0.7.1,==0.7.2 (from buildbot) (from 
versions: 0.3.0, 0.4.0, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.5.1.2, 0.5.2, 
0.5.3, 0.5.4, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2, 0.8.1, 0.8.2, 0.8.4, 0.8.5, 
0.9, 0.9.1, 0.9.2)
   No distributions matching the version for 
sqlalchemy-migrate==0.6.1,==0.7.0,==0.7.1,==0.7.2 (from buildbot)
-----------------------------------------------------------


I get a similar error when using setup.py in a virtualenv:
-----------------------------------------------------------
% ./setup.py install
...trimmed all but the last few lines...
/home/buildbot/buildbot-venv/lib/python2.6/site-packages/pkg_resources.py:2443: 
PEP440Warning: 'sqlalchemy (migrate-0.4.0)' is being parsed as a legacy, 
non PEP 440, version. You may find odd behavior and sort order. In 
particular it will be sorted as less than 0.0. It is recommend to 
migrate to PEP 440 compatible versions.
   PEP440Warning,
Reading http://code.google.com/p/sqlalchemy-migrate/
Reading http://erosson.com/migrate
Reading http://trac.erosson.com/migrate
Reading http://www.openstack.org/
No local packages or download links found for 
sqlalchemy-migrate==0.6.1,==0.7.0,==0.7.1,==0.7.2
error: Could not find suitable distribution for 
Requirement.parse('sqlalchemy-migrate==0.6.1,==0.7.0,==0.7.1,==0.7.2')
-----------------------------------------------------------

Running "./setup.py install" as root outside of a virtualenv gives no 
error, but I get the following when running /usr/bin/buildbot:
     ImportError: No module named sqlalchemy

Any help is appreciated.

I don't have root access on my production box, so I need to run without 
root access.

Thanks,
Jason




More information about the devel mailing list