pypa / pip

The Python package installer
https://pip.pypa.io/
MIT License
9.52k stars 3.03k forks source link

pip install -e . fails on Windows 7, works on centos #764

Closed RogerHaase closed 8 years ago

RogerHaase commented 11 years ago

Windows 7 has pip version 1.2.1, Python 2.6.5. CentOS has pip version 1.2.1, Python 2.7.3.

Updating all packages in a MoinMoin 2.0 development environment fails on Windows 7. A similar update on CentOS succeeds. See lines prefixed with @@@ dealing with XStatic-svg-edit-moin>=2012.11.15.1 below:

    C:\Bitbucket\m2-x6>echo off 
    Activating Python environment...
    Obtaining file:///c%7C%5Cbitbucket%5Cm2-x6
      Running setup.py egg_info for package from file:///c%7C%5Cbitbucket%5Cm2-x6
        warning: no previously-included files matching '*.rej' found anywhere in distribution
        no previously-included directories found matching 'docs\_build'
        no previously-included directories found matching 'env'
        no previously-included directories found matching 'env-pypy'
        no previously-included directories found matching 'env-py26'
        no previously-included directories found matching 'env-py27'
        no previously-included directories found matching 'wiki\data\userprofiles'
        no previously-included directories found matching 'wiki\data\flask-cache'
    Requirement already satisfied (use --upgrade to upgrade): blinker>=1.1 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): docutils>=0.8.1 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Markdown>=2.1.1 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask>=0.8 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask-Babel>=0.7 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask-Cache>=0.3.4 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask-Script>=0.3.3 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask-Themes>=0.1.3.1 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): emeraldtree>=0.9.1 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): flatland==dev in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.6 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pygments>=1.4 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.8.1 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pytest>=2.1,<2.3 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pytest-pep8<1.0.3 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): whoosh>=2.4.0 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): sphinx>=1.1 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pdfminer in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic>=0.0.2 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-CKEditor>=3.6.1.2 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-jQuery>=1.8.2 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-jQuery-File-Upload>=4.4.2 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-JSON-js in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-svgweb>=2011.2.3.2 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-TWikiDraw-moin>=2004.10.23.2 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-AnyWikiDraw>=0.14.2 in c:\bitbucket\m2-x6\env\lib\site-packages (from moin==2.0.0a0)
    @@@Downloading/unpacking XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0)
      Running setup.py egg_info for package XStatic-svg-edit-moin
        warning: no previously-included files matching '*.pyc' found anywhere in distribution
        warning: no previously-included files matching '*.pyo' found anywhere in distribution
        warning: no previously-included files matching '*.orig' found anywhere in distribution
        warning: no previously-included files matching '*.rej' found anywhere in distribution
    @@@  Source in c:\bitbucket\m2-x6\env\build\xstatic-svg-edit-moin has the version 2011.07.07.2, which does not match the requirement XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0)
    @@@Source in c:\bitbucket\m2-x6\env\build\xstatic-svg-edit-moin has version 2011.07.07.2 that conflicts with XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0)
    Storing complete log in C:\Users\roger\AppData\Roaming\pip\pip.log
    Deactivating Python environment...

The bottom of pip.log has similar messages and includes a traceback:

    @@@Downloading/unpacking XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0)

      Running setup.py egg_info for package XStatic-svg-edit-moin

        running egg_info
        writing pip-egg-info\XStatic_svg_edit_moin.egg-info\PKG-INFO
        writing namespace_packages to pip-egg-info\XStatic_svg_edit_moin.egg-info\namespace_packages.txt
        writing top-level names to pip-egg-info\XStatic_svg_edit_moin.egg-info\top_level.txt
        writing dependency_links to pip-egg-info\XStatic_svg_edit_moin.egg-info\dependency_links.txt
        reading manifest file 'pip-egg-info\XStatic_svg_edit_moin.egg-info\SOURCES.txt'
        reading manifest template 'MANIFEST.in'
        warning: no previously-included files matching '*.pyc' found anywhere in distribution

        warning: no previously-included files matching '*.pyo' found anywhere in distribution

        warning: no previously-included files matching '*.orig' found anywhere in distribution

        warning: no previously-included files matching '*.rej' found anywhere in distribution

        writing manifest file 'pip-egg-info\XStatic_svg_edit_moin.egg-info\SOURCES.txt'
        warning: manifest_maker: standard file '-c' not found
    @@@  Source in c:\bitbucket\m2-x6\env\build\xstatic-svg-edit-moin has the version 2011.07.07.2, which does not match the requirement XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0)

    @@@Source in c:\bitbucket\m2-x6\env\build\xstatic-svg-edit-moin has version 2011.07.07.2 that conflicts with XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0)

    Exception information:
    Traceback (most recent call last):
      File "C:\Bitbucket\m2-x6\env\lib\site-packages\pip-1.1-py2.6.egg\pip\basecommand.py", line 104, in main
        status = self.run(options, args)
      File "C:\Bitbucket\m2-x6\env\lib\site-packages\pip-1.1-py2.6.egg\pip\commands\install.py", line 245, in run
        requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
      File "C:\Bitbucket\m2-x6\env\lib\site-packages\pip-1.1-py2.6.egg\pip\req.py", line 1014, in prepare_files
        req_to_install.assert_source_matches_version()
      File "C:\Bitbucket\m2-x6\env\lib\site-packages\pip-1.1-py2.6.egg\pip\req.py", line 366, in assert_source_matches_version
        % (display_path(self.source_dir), version, self))
    InstallationError: Source in c:\bitbucket\m2-x6\env\build\xstatic-svg-edit-moin has version 2011.07.07.2 that conflicts with XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0)

A similar upgrade on CentOS succeeds:

    Obtaining file:///home/rockart/webapps/web/m2-fixedleft
      Running setup.py egg_info for package from file:///home/rockart/webapps/web/m2-fixedleft

        warning: no previously-included files matching '*.rej' found anywhere in distribution
        no previously-included directories found matching 'docs/_build'
        no previously-included directories found matching 'env'
        no previously-included directories found matching 'env-pypy'
        no previously-included directories found matching 'env-py26'
        no previously-included directories found matching 'env-py27'
        no previously-included directories found matching 'wiki/data/userprofiles'
        no previously-included directories found matching 'wiki/data/flask-cache'
    Requirement already satisfied (use --upgrade to upgrade): blinker>=1.1 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): docutils>=0.8.1 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Markdown>=2.1.1 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask>=0.8 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask-Babel>=0.7 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask-Cache>=0.3.4 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask-Script>=0.3.3 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Flask-Themes>=0.1.3.1 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): emeraldtree>=0.9.1 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): flatland==dev in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.6 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pygments>=1.4 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.8.1 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pytest>=2.1,<2.3 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pytest-pep8<1.0.3 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): whoosh>=2.4.0 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): sphinx>=1.1 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pdfminer in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic>=0.0.2 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-CKEditor>=3.6.1.2 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-jQuery>=1.8.2 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-jQuery-File-Upload>=4.4.2 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-JSON-js in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-svgweb>=2011.2.3.2 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-TWikiDraw-moin>=2004.10.23.2 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): XStatic-AnyWikiDraw>=0.14.2 in ./env/lib/python2.7/site-packages (from moin==2.0.0a0)
    @@@Downloading/unpacking XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0)
      Running setup.py egg_info for package XStatic-svg-edit-moin

        warning: no previously-included files matching '*.pyc' found anywhere in distribution
        warning: no previously-included files matching '*.pyo' found anywhere in distribution
        warning: no previously-included files matching '*.orig' found anywhere in distribution
        warning: no previously-included files matching '*.rej' found anywhere in distribution
      Requested XStatic-svg-edit-moin>=2012.11.15.1 (from moin==2.0.0a0), but installing version 2011.07.07.2
    Requirement already satisfied (use --upgrade to upgrade): Babel in ./env/lib/python2.7/site-packages (from Flask-Babel>=0.7->moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pytz in ./env/lib/python2.7/site-packages (from Flask-Babel>=0.7->moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): speaklater>=1.2 in ./env/lib/python2.7/site-packages (from Flask-Babel>=0.7->moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): py>=1.4.8 in ./env/lib/python2.7/site-packages (from pytest>=2.1,<2.3->moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pytest-cache in ./env/lib/python2.7/site-packages (from pytest-pep8<1.0.3->moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): pep8>=1.3 in ./env/lib/python2.7/site-packages (from pytest-pep8<1.0.3->moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): execnet>=1.1.dev1 in ./env/lib/python2.7/site-packages (from pytest-cache->pytest-pep8<1.0.3->moin==2.0.0a0)
    Requirement already satisfied (use --upgrade to upgrade): setuptools in ./env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg (from pep8>=1.3->pytest-pep8<1.0.3->moin==2.0.0a0)
    @@@Installing collected packages: XStatic-svg-edit-moin, moin
    @@@  Found existing installation: XStatic-svg-edit-moin 2011.07.07.2
        Uninstalling XStatic-svg-edit-moin:
          Successfully uninstalled XStatic-svg-edit-moin
      Running setup.py install for XStatic-svg-edit-moin

        warning: no previously-included files matching '*.pyo' found anywhere in distribution
        warning: no previously-included files matching '*.orig' found anywhere in distribution
        warning: no previously-included files matching '*.rej' found anywhere in distribution
        Skipping installation of /home/rockart/webapps/web/m2-fixedleft/env/lib/python2.7/site-packages/xstatic/__init__.py (namespace package)
        Skipping installation of /home/rockart/webapps/web/m2-fixedleft/env/lib/python2.7/site-packages/xstatic/pkg/__init__.py (namespace package)
        Installing /home/rockart/webapps/web/m2-fixedleft/env/lib/python2.7/site-packages/XStatic_svg_edit_moin-2012.11.27.1-py2.7-nspkg.pth
      Running setup.py develop for moin

        warning: no previously-included files matching '*.rej' found anywhere in distribution
        no previously-included directories found matching 'docs/_build'
        no previously-included directories found matching 'env'
        no previously-included directories found matching 'env-pypy'
        no previously-included directories found matching 'env-py26'
        no previously-included directories found matching 'env-py27'
        no previously-included directories found matching 'wiki/data/userprofiles'
        no previously-included directories found matching 'wiki/data/flask-cache'
        Creating /home/rockart/webapps/web/m2-fixedleft/env/lib/python2.7/site-packages/moin.egg-link (link to .)
        moin 2.0.0a0 is already the active version in easy-install.pth
        Installing moin script to /home/rockart/webapps/web/m2-fixedleft/env/bin

        Installed /home/rockart/webapps/web/m2-fixedleft
    @@@Successfully installed XStatic-svg-edit-moin moin
    Cleaning up...
RogerHaase commented 8 years ago

obsolete