Unable to install sqlalchemy

Issue #3447 closed
kracekumarr created an issue
➜  ~  sudo pip install sqlalchemy
Collecting sqlalchemy
  Downloading SQLAlchemy-1.0.5.tar.gz (4.6MB)
    9% |███                             | 442kB 393bytes/s eta 2:56:04
  Hash of the package https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-1.0.5.tar.gz#md5=e9e54eb24b148d065e42e0826523657a (from https://pypi.python.org/simple/sqlalchemy/) (941496e19e5ca0699d152adcd0f18d83) doesn't match the expected hash e9e54eb24b148d065e42e0826523657a!
  Bad md5 hash for package https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-1.0.5.tar.gz#md5=e9e54eb24b148d065e42e0826523657a (from https://pypi.python.org/simple/sqlalchemy/)
➜  ~  pip --version
pip 6.1.1 from /Library/Python/2.7/site-packages (python 2.7)
(switch_api_pypy)➜  switch_api  pip install sqlalchemy
You are using pip version 6.1.1, however version 7.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting sqlalchemy
  Using cached SQLAlchemy-1.0.5.tar.gz
  Hash of the package https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-1.0.5.tar.gz#md5=e9e54eb24b148d065e42e0826523657a (from https://pypi.python.org/simple/sqlalchemy/) (955de2f2b4aefd1ccf14279584388604) doesn't match the expected hash e9e54eb24b148d065e42e0826523657a!
  Bad md5 hash for package https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-1.0.5.tar.gz#md5=e9e54eb24b148d065e42e0826523657a (from https://pypi.python.org/simple/sqlalchemy/)
(switch_api_pypy)➜  ~  pip --version
pip 6.1.1 from /Users/krace/.virtualenvs/switch_api_pypy/site-packages (python 2.7)

Comments (10)

  1. Mike Bayer repo owner

    um. no idea. works for me?

    #!
    
    
    classics-MacBook-Pro:~ classic$ virtualenv .venv
    New python executable in .venv/bin/python
    Installing setuptools, pip...done.
    classics-MacBook-Pro:~ classic$ .venv/bin/pip install sqlalchemy
    You are using pip version 6.0.7, however version 7.0.3 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.
    Collecting sqlalchemy
      Downloading SQLAlchemy-1.0.5.tar.gz (4.6MB)
        100% |################################| 4.6MB 98kB/s 
    Installing collected packages: sqlalchemy
      Running setup.py install for sqlalchemy
        building 'sqlalchemy.cprocessors' extension
        gcc -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/sqlalchemy/cextension/processors.c -o build/temp.macosx-10.4-x86_64-2.7/lib/sqlalchemy/cextension/processors.o
        gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.4-x86_64-2.7/lib/sqlalchemy/cextension/processors.o -o build/lib.macosx-10.4-x86_64-2.7/sqlalchemy/cprocessors.so
        building 'sqlalchemy.cresultproxy' extension
        gcc -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/sqlalchemy/cextension/resultproxy.c -o build/temp.macosx-10.4-x86_64-2.7/lib/sqlalchemy/cextension/resultproxy.o
        gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.4-x86_64-2.7/lib/sqlalchemy/cextension/resultproxy.o -o build/lib.macosx-10.4-x86_64-2.7/sqlalchemy/cresultproxy.so
        building 'sqlalchemy.cutils' extension
        gcc -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/sqlalchemy/cextension/utils.c -o build/temp.macosx-10.4-x86_64-2.7/lib/sqlalchemy/cextension/utils.o
        gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.4-x86_64-2.7/lib/sqlalchemy/cextension/utils.o -o build/lib.macosx-10.4-x86_64-2.7/sqlalchemy/cutils.so
    Successfully installed sqlalchemy-1.0.5
    classics-MacBook-Pro:~ classic$ 
    
  2. kracekumarr reporter

    Not sure why it happens only to me, retrying doesn't fix

    (venv)➜  /tmp  pip install sqlalchemy
    /private/tmp/venv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
    You are using pip version 6.1.1, however version 7.0.3 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.
    Collecting sqlalchemy
    /private/tmp/venv/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
      Using cached SQLAlchemy-1.0.5.tar.gz
      Hash of the package https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-1.0.5.tar.gz#md5=e9e54eb24b148d065e42e0826523657a (from https://pypi.python.org/simple/sqlalchemy/) (955de2f2b4aefd1ccf14279584388604) doesn't match the expected hash e9e54eb24b148d065e42e0826523657a!
      Bad md5 hash for package https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-1.0.5.tar.gz#md5=e9e54eb24b148d065e42e0826523657a (from https://pypi.python.org/simple/sqlalchemy/)
    
  3. Mike Bayer repo owner

    your download is getting cut off for some reason. Do you have any networking/firewalling issues going on on your end?

  4. kracekumarr reporter

    Yep, finding the cached file is going to be fun in /Users/<username>/Library/Caches/pip

  5. Log in to comment