Unable to install sqlalchemy
Issue #3447
closed
➜ ~ 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)
-
repo owner -
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/)
-
reporter Should I just close this and open an issue in
pip
? -
repo owner your download is getting cut off for some reason. Do you have any networking/firewalling issues going on on your end?
-
repo owner see replies to https://twitter.com/zzzeek/status/608633827909640192
-
reporter I don't have firewall enabled. Thanks for the tweet. I will follow it.
-
reporter pip install sqlalchemy --no-cache-dir
succeeded, so it looks like cache issue.I have opened an issue in pip repo, https://github.com/pypa/pip/issues/2895.
-
repo owner - changed status to closed
okey doke!
-
repo owner maybe you just need to clear your cache? e.g. it cached a broken file.
-
reporter Yep, finding the cached file is going to be fun in
/Users/<username>/Library/Caches/pip
- Log in to comment
um. no idea. works for me?