Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upgrade to the latest version 0.6.2 #26

Closed
Hiieu opened this issue Nov 7, 2014 · 2 comments
Closed

Can't upgrade to the latest version 0.6.2 #26

Hiieu opened this issue Nov 7, 2014 · 2 comments

Comments

@Hiieu
Copy link

Hiieu commented Nov 7, 2014

'Upgrade packages failed.

The following command was executed:

packaging_tool.py install --build-dir C:\Users\HP\AppData\Local\Temp\pycharm-packaging1541100851476301310.tmp -U Flask-Bcrypt

The error output of the command:

DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See pypa/pip#906.
Requirement already up-to-date: Flask-Bcrypt in c:\users\hp\dropbox\venv\lib\site-packages
Requirement already up-to-date: Flask in c:\users\hp\dropbox\venv\lib\site-packages (from Flask-Bcrypt)
Downloading/unpacking py-bcrypt (from Flask-Bcrypt)
Downloading py-bcrypt-0.4.tar.gz
Running setup.py (path:C:\Users\HP\AppData\Local\Temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\setup.py) egg_info for package py-bcrypt

Requirement already up-to-date: Werkzeug>=0.7 in c:\users\hp\dropbox\venv\lib\site-packages (from Flask->Flask-Bcrypt)
Requirement already up-to-date: Jinja2>=2.4 in c:\users\hp\dropbox\venv\lib\site-packages (from Flask->Flask-Bcrypt)
Requirement already up-to-date: itsdangerous>=0.21 in c:\users\hp\dropbox\venv\lib\site-packages (from Flask->Flask-Bcrypt)
Requirement already up-to-date: markupsafe in c:\users\hp\dropbox\venv\lib\site-packages (from Jinja2>=2.4->Flask->Flask-Bcrypt)
Installing collected packages: py-bcrypt
Running setup.py install for py-bcrypt
building 'bcrypt._bcrypt' extension
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Users\HP\Dropbox\venv\PC /Tcbcrypt/bcrypt.c /Fobuild\temp.win32-2.7\Release\bcrypt/bcrypt.obj
bcrypt.c
bcrypt/bcrypt.c(139) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(358) : see declaration of '_snprintf'
bcrypt/bcrypt.c(249) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(358) : see declaration of '_snprintf'
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Users\HP\Dropbox\venv\PC /Tcbcrypt/bcrypt_pbkdf.c /Fobuild\temp.win32-2.7\Release\bcrypt/bcrypt_pbkdf.obj
bcrypt_pbkdf.c
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Users\HP\Dropbox\venv\PC /Tcbcrypt/bcrypt_python.c /Fobuild\temp.win32-2.7\Release\bcrypt/bcrypt_python.obj
bcrypt_python.c
bcrypt/bcrypt_python.c(63) : warning C4244: 'function' : conversion from 'long' to 'u_int8_t', possible loss of data
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Users\HP\Dropbox\venv\PC /Tcbcrypt/blowfish.c /Fobuild\temp.win32-2.7\Release\bcrypt/blowfish.obj
blowfish.c
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2146: syntax error : missing ')' before identifier 'passlen'
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2081: 'size_t' : name in formal parameter list illegal
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2061: syntax error : identifier 'passlen'
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2059: syntax error : ';'
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2059: syntax error : ','
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(88) : error C2059: syntax error : ')'
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2146: syntax error : missing ')' before identifier 'n'
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2081: 'size_t' : name in formal parameter list illegal
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2061: syntax error : identifier 'n'
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2059: syntax error : ';'
c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2059: syntax error : ')'
error: command 'c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe' failed with exit status 2
Complete output from command C:\Users\HP\Dropbox\venv\Scripts\python.exe -c "import setuptools, tokenize;file='C:\Users\HP\AppData\Local\Temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record c:\users\hp\appdata\local\temp\pip-xbpywi-record\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\HP\Dropbox\venv\include\site\python2.7:
running install

running build

running build_py

creating build

creating build\lib.win32-2.7

creating build\lib.win32-2.7\bcrypt

copying bcrypt__init__.py -> build\lib.win32-2.7\bcrypt

running build_ext

building 'bcrypt._bcrypt' extension

creating build\temp.win32-2.7

creating build\temp.win32-2.7\Release

creating build\temp.win32-2.7\Release\bcrypt

c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Users\HP\Dropbox\venv\PC /Tcbcrypt/bcrypt.c /Fobuild\temp.win32-2.7\Release\bcrypt/bcrypt.obj

bcrypt.c

bcrypt/bcrypt.c(139) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

    c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(358) : see declaration of '_snprintf'

bcrypt/bcrypt.c(249) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

    c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(358) : see declaration of '_snprintf'

c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Users\HP\Dropbox\venv\PC /Tcbcrypt/bcrypt_pbkdf.c /Fobuild\temp.win32-2.7\Release\bcrypt/bcrypt_pbkdf.obj

bcrypt_pbkdf.c

c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Users\HP\Dropbox\venv\PC /Tcbcrypt/bcrypt_python.c /Fobuild\temp.win32-2.7\Release\bcrypt/bcrypt_python.obj

bcrypt_python.c

bcrypt/bcrypt_python.c(63) : warning C4244: 'function' : conversion from 'long' to 'u_int8_t', possible loss of data

c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Users\HP\Dropbox\venv\PC /Tcbcrypt/blowfish.c /Fobuild\temp.win32-2.7\Release\bcrypt/blowfish.obj

blowfish.c

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2146: syntax error : missing ')' before identifier 'passlen'

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2081: 'size_t' : name in formal parameter list illegal

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2061: syntax error : identifier 'passlen'

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2059: syntax error : ';'

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(86) : error C2059: syntax error : ','

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(88) : error C2059: syntax error : ')'

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2146: syntax error : missing ')' before identifier 'n'

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2081: 'size_t' : name in formal parameter list illegal

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2061: syntax error : identifier 'n'

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2059: syntax error : ';'

c:\users\hp\appdata\local\temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\bcrypt\pybc_blf.h(91) : error C2059: syntax error : ')'

error: command 'c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe' failed with exit status 2


Cleaning up...
Command C:\Users\HP\Dropbox\venv\Scripts\python.exe -c "import setuptools, tokenize;file='C:\Users\HP\AppData\Local\Temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt\setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record c:\users\hp\appdata\local\temp\pip-xbpywi-record\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\HP\Dropbox\venv\include\site\python2.7 failed with error code 1 in C:\Users\HP\AppData\Local\Temp\pycharm-packaging1541100851476301310.tmp\py-bcrypt
Storing debug log for failure in C:\Users\HP\pip\pip.log'

@aliocha
Copy link

aliocha commented Nov 9, 2014

Same for me. Here is the interesting output in verbose mode (on a Linux system this time):

pip install -vv Flask-Bcrypt==0.6.2
Downloading/unpacking Flask-Bcrypt==0.6.2
  Getting page https://pypi.python.org/simple/Flask-Bcrypt/
  URLs to search for versions for Flask-Bcrypt==0.6.2:
  * https://pypi.python.org/simple/Flask-Bcrypt/0.6.2
  * https://pypi.python.org/simple/Flask-Bcrypt/
  Getting page https://pypi.python.org/simple/Flask-Bcrypt/0.6.2
  Could not fetch URL https://pypi.python.org/simple/Flask-Bcrypt/0.6.2: 404 Client Error: Not Found
  Will skip URL https://pypi.python.org/simple/Flask-Bcrypt/0.6.2 when looking for download links for Flask-Bcrypt==0.6.2
  Analyzing links from page https://pypi.python.org/simple/flask-bcrypt/
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.1.tar.gz#md5=838f2a20993ae0f3233116a33c421fe6 (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.1
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.2.tar.gz#md5=45a61e4ed725ee70963805315dd6ddf8 (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.2
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.3.1.tar.gz#md5=fbff3babf9569c9aa0c507172fd3dd51 (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.3.1
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.3.2.tar.gz#md5=d6db09f4ae76f1bb2b1d68f426e30eec (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.3.2
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.3.tar.gz#md5=81af0255877d52ee601fb26c916c45f6 (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.3
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.4.tar.gz#md5=23a1dc874f54b5c9d33ef3241daaa689 (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.4
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.5.1.tar.gz#md5=b5d84cb7a23eaa98d2411c9dcf4b7e27 (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.5.1
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.5.2.tar.gz#md5=0ab56e917cb0cd8e073018038ac9945c (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.5.2
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.5.tar.gz#md5=fe7d80045fc7eece6db41efd4d93b293 (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.5
    Found link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.6.0.tar.gz#md5=1040a492189fcac0a84646b8ce8b9412 (from https://pypi.python.org/simple/flask-bcrypt/), version: 0.6.0
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.1.tar.gz#md5=838f2a20993ae0f3233116a33c421fe6 (from https://pypi.python.org/simple/flask-bcrypt/), version 0.1 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.2.tar.gz#md5=45a61e4ed725ee70963805315dd6ddf8 (from https://pypi.python.org/simple/flask-bcrypt/), version 0.2 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.3.1.tar.gz#md5=fbff3babf9569c9aa0c507172fd3dd51 (from https://pypi.python.org/simple/flask-bcrypt/), version 0.3.1 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.3.2.tar.gz#md5=d6db09f4ae76f1bb2b1d68f426e30eec (from https://pypi.python.org/simple/flask-bcrypt/), version 0.3.2 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.3.tar.gz#md5=81af0255877d52ee601fb26c916c45f6 (from https://pypi.python.org/simple/flask-bcrypt/), version 0.3 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.4.tar.gz#md5=23a1dc874f54b5c9d33ef3241daaa689 (from https://pypi.python.org/simple/flask-bcrypt/), version 0.4 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.5.1.tar.gz#md5=b5d84cb7a23eaa98d2411c9dcf4b7e27 (from https://pypi.python.org/simple/flask-bcrypt/), version 0.5.1 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.5.2.tar.gz#md5=0ab56e917cb0cd8e073018038ac9945c (from https://pypi.python.org/simple/flask-bcrypt/), version 0.5.2 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.5.tar.gz#md5=fe7d80045fc7eece6db41efd4d93b293 (from https://pypi.python.org/simple/flask-bcrypt/), version 0.5 doesn't match ==0.6.2
  Ignoring link https://pypi.python.org/packages/source/F/Flask-Bcrypt/Flask-Bcrypt-0.6.0.tar.gz#md5=1040a492189fcac0a84646b8ce8b9412 (from https://pypi.python.org/simple/flask-bcrypt/), version 0.6.0 doesn't match ==0.6.2
  Could not find a version that satisfies the requirement Flask-Bcrypt==0.6.2 (from versions: 0.1, 0.2, 0.3.1, 0.3.2, 0.3, 0.4, 0.5.1, 0.5.2, 0.5, 0.6.0)
Cleaning up...

As you can see here : https://pypi.python.org/simple/flask-bcrypt/
No 0.6.2 version referenced.

I'm using pip v1.5.6 with python 2.7.x

@maxcountryman
Copy link
Owner

It's working now I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants