Closed stonebig closed 5 years ago
update:
pip list
Package Version
------------------------ ------------------------
absl-py 0.7.0
adodbapi 2.6.0.7
alabaster 0.7.12
algopy 0.5.7
altair 2.3.0
altair-widgets 0.1.2
appdirs 1.4.3
asciitree 0.3.3
asteval 0.9.13
astor 0.7.1
astroid 2.1.0
astroML 0.3
astropy 3.1.1
atomicwrites 1.2.1
attrs 18.2.0
Babel 2.6.0
backcall 0.1.0
backports-abc 0.5
baresql 0.7.4
bcolz 1.2.1
beautifulsoup4 4.7.1
bleach 3.1.0
blosc 1.7.0
bloscpack 0.13.0
bokeh 1.0.4
Bottleneck 1.2.1
bqplot 0.11.5
branca 0.3.1
brewer2mpl 1.4.1
Brotli 1.0.7
Cartopy 0.17.0
certifi 2018.11.29
cffi 1.11.5
cftime 1.0.3.4
chardet 3.0.4
Click 7.0
cloudpickle 0.7.0
clrmagic 0.0.1a2
colorama 0.4.1
colorcet 0.9.1
comtypes 1.1.7
cvxopt 1.2.2
cvxpy 1.0.14
cx-Freeze 5.1.1
cycler 0.10.0
cyordereddict 1.0.0
Cython 0.29.4
cytoolz 0.9.0.1
dask 1.1.0
dask-searchcv 0.2.0
datashader 0.6.9
datashape 0.5.2
db.py 0.5.3
decorator 4.3.2
defusedxml 0.5.0
descartes 1.1.0
dill 0.2.9
distributed 1.25.2
docopt 0.6.2
docrepr 0.1.1
docutils 0.14
ecos 2.0.7.post1
edward 1.3.5
emcee 2.2.1
entrypoints 0.3
fast-histogram 0.7
fastcache 1.0.2
fasteners 0.14.1
fastparquet 0.2.1
feather-format 0.4.0
Flask 1.0.2
formlayout 2.0.0a0
future 0.17.0
fuzzywuzzy 0.17.0
gast 0.2.2
GDAL 2.3.3
geographiclib 1.49
geopy 1.18.1
geoviews 1.6.2
gmpy2 2.0.8
greenlet 0.4.15
grpcio 1.17.1
guidata 1.7.6
guiqwt 3.0.3
h5py 2.9.0
HeapDict 1.0.0
holoviews 1.11.2
html5lib 1.0.1
husl 4.0.3
hvplot 0.4.0
idlex 1.18
idna 2.8
imageio 2.4.1
imagesize 1.1.0
imbalanced-learn 0.4.3
intake 0.2.3
ipydatawidgets 4.0.0
ipykernel 5.1.0
ipyleaflet 0.9.2
ipympl 0.2.1
ipyparallel 6.2.3
ipython 7.2.0
ipython-genutils 0.2.0
ipython-sql 0.3.9
ipywidgets 7.4.2
isort 4.3.4
itsdangerous 1.1.0
jedi 0.13.2
Jinja2 2.10
joblib 0.13.1
jsonschema 2.6.0
julia 0.2.0
jupyter 1.0.0
jupyter-client 5.2.4
jupyter-console 6.0.0
jupyter-core 4.4.0
jupyter-sphinx 0.1.4
jupyterlab 0.35.4
jupyterlab-launcher 0.13.1
jupyterlab-server 0.2.0
Keras 2.2.4
Keras-Applications 1.0.7
Keras-Preprocessing 1.0.8
keras-vis 0.4.1
keyring 17.1.1
kiwisolver 1.0.1
lazy-object-proxy 1.3.1
llvmlite 0.27.0
lmfit 0.9.12
locket 0.2.0
loky 2.4.2
lxml 4.3.0
Markdown 3.0.1
MarkupSafe 1.1.0
matplotlib 3.0.2
mccabe 0.6.1
metakernel 0.20.14
mistune 0.8.4
mizani 0.5.2
mkl-service 1.1.2
mlxtend 0.14.0
monotonic 1.5
more-itertools 5.0.0
moviepy 0.2.3.5
mpl-scatter-density 0.5
mpld3 0.3
mpldatacursor 0.6.2
mpmath 1.1.0
msgpack 0.6.1
msgpack-numpy 0.4.4.2
msgpack-python 0.5.4+dummy
multipledispatch 0.6.0
multiprocess 0.70.7
mypy 0.660
mypy-extensions 0.4.1
mysql-connector-python 8.0.11
nbconvert 5.4.0
nbconvert-reportlab 0.2
nbformat 4.4.0
netCDF4 1.4.2
networkx 2.3rc1.dev20181020104102
nltk 3.4
notebook 5.7.4
numba 0.42.0
numcodecs 0.6.2
numdifftools 0.9.20
numexpr 2.6.9
numpy 1.15.4+mkl
numpydoc 0.8.0
oct2py 4.0.6
octave-kernel 0.28.4
osqp 0.5.0
packaging 19.0
palettable 3.1.1
pandas 0.24.0
pandas-datareader 0.7.0
pandocfilters 1.4.2
panel 0.4.0
param 1.8.2
parambokeh 0.2.3
paramnb 2.0.4
parso 0.3.2
partd 0.3.9
patsy 0.5.1
pdfrw 0.4
pdvega 0.2.1.dev0
pep8 1.7.1
pexpect 4.6.0+dummy
pg8000 1.12.4
pickleshare 0.7.5
Pillow 5.4.1
pip 19.0.1
pkginfo 1.5.0.1
plotnine 0.5.1
pluggy 0.8.1
ppci 0.5.6
prettytable 0.7.2
prometheus-client 0.5.0
prompt-toolkit 2.0.8
protobuf 3.6.1
psutil 5.5.0
ptpython 2.0.4
PuLP 1.6.9
py 1.7.0
pyarrow 0.12.0
PyAudio 0.2.11
pybars3 0.9.6
pybind11 2.2.4
pycodestyle 2.4.0
pycparser 2.19
pyct 0.4.6
pyflakes 2.1.0
pyflux 0.4.17
pygame 1.9.4
pygbm 0.1.0
Pygments 2.3.1
pylint 2.2.2
pymc 2.3.7
PyMeta3 0.5.1
pymongo 3.7.2
pyodbc 4.0.25
PyOpenGL 3.1.3b2
pypandoc 1.3.2
pyparsing 2.3.1
PyQt5 5.9.2
pyqtgraph 0.11.0.dev0
pyserial 3.4
pyshp 2.0.0
pystache 0.5.4
pytest 4.1.1
pytest-runner 4.2
python-dateutil 2.7.5
python-hdf4 0.9.1
python-Levenshtein 0.12.0
python-snappy 0.5.3
pythonnet 2.4.0.dev0
PythonQwt 0.5.6.dev0
pythreejs 2.0.2
pytz 2018.9
pyviz-comms 0.7.0
PyWavelets 1.0.1
pywin32 224
pywin32-ctypes 0.2.0
pywinpty 0.5.5
pywinusb 0.4.2
PyYAML 4.1
pyzmq 17.1.2
pyzo 4.6.2a0
QtAwesome 0.5.6
qtconsole 4.4.3
QtPy 1.6.0
readme-renderer 24.0
redis 3.1.0
regex 2019.1.24
reportlab 3.5.13
requests 2.21.0
requests-toolbelt 0.8.0
rise 5.4.1
rope 0.11.0
rpy2 2.9.5
ruamel.yaml 0.15.85
Rx 1.6.1
scikit-fuzzy 0.3.1
scikit-image 0.14.2
scikit-learn 0.20.2
scikit-optimize 0.5.2
scilab2py 0.6.2
scipy 1.2.0
scs 2.0.2
seaborn 0.9.0
Send2Trash 1.5.0
setuptools 40.6.3
Shapely 1.6.4.post1
simplegeneric 0.8.1
simplejson 3.16.0
simpy 3.0.11
singledispatch 3.4.0.3
sip 4.19.8
six 1.12.0
snakeviz 1.0.0
snowballstemmer 1.2.1
sortedcontainers 2.1.0
sounddevice 0.3.12
soupsieve 1.7.3
Sphinx 1.8.2
sphinx-rtd-theme 0.4.2
sphinxcontrib-websupport 1.1.0
spyder 3.3.3.dev0
spyder-kernels 0.3.0
SQLAlchemy 1.2.17
sqlite-bro 0.8.11
sqlparse 0.2.4
statsmodels 0.9.0
streamz 0.5.0
supersmoother 0.4
sympy 1.3
tables 3.4.4
tblib 1.3.2
tensorboard 1.12.2
tensorflow 1.12.0
tensorflow-probability 0.6.0rc0
termcolor 1.1.0
terminado 0.8.1
testpath 0.4.2
thrift 0.11.0
toolz 0.9.0
torch 1.0.0
torchvision 0.2.1
tornado 5.1.1
tqdm 4.30.0
traitlets 4.3.2
traittypes 0.2.1
twine 1.12.1
twitter 1.17.1
typed-ast 1.2.0
tzlocal 1.5.1
uncertainties 3.0.3
urllib3 1.24.1
vega 2.0rc2
vega-datasets 0.7.0
ViTables 3.0.0
wcwidth 0.1.7
webencodings 0.5.1
Werkzeug 0.14.1
wheel 0.32.3
widgetsnbextension 3.4.2
winpython 1.11.20181222
wordcloud 1.5.0
wrapt 1.11.1
xarray 0.11.3
xlrd 1.2.0
XlsxWriter 1.1.2
xlwings 0.15.1
zarr 2.2.0
zict 0.1.3
Are you using Command Prompt (cmd.exe)? Could you try whether Powershell is able to output? I have no evidence from the top of my head and a casual Google search, but I suspect there is a system restriction on print length.
Note: I’m having a lot of trouble trying to reproduce the above setup (many difficult-to-install and ill-bahaving packages). It would be extremely helpful if there is a more straightforward way to experiment on this…
Indeed some package are compiled from master branch
Reproducing today with previous pip-18.1, I have the same issue.
How a package could make pip list -o
"stall" ? maybe I have a package not yet in pypi, in this list
removing per alphabetical order till it works
pip uninstall -y absl-py adodbapi alabaster algopy altair altair-widgets appdirs asciitree asteval astor astroid astroML astropy atomicwrites attrs
pip uninstall -y Babel backcall backports-abc baresql bcolz beautifulsoup4 bleach blosc bloscpack bokeh Bottleneck bqplot branca brewer2mpl Brotli
pip uninstall -y Cartopy certifi cffi cftime chardet Click cloudpickle clrmagic colorama colorcet comtypes cvxopt cvxpy cx-Freeze cycler cyordereddict Cython cytoolz dask dask-searchcv datashader datashape
pip uninstall -y db.py decorator defusedxml descartes dill distributed docopt docrepr docutils ecos edward emcee entrypoints fast-histogram fastcache fasteners fastparquet feather-format Flask formlayout future fuzzywuzzy
pip uninstall -y gast GDAL geographiclib geopy geoviews gmpy2 greenlet grpcio guidata guiqwt h5py HeapDict holoviews html5lib husl hvplot idlex idna imageio imagesize imbalanced-learn intake ipydatawidgets ipykernel ipyleaflet ipympl ipyparallel ipython ipython-genutils ipython-sql ipywidgets isort itsdangerous jedi Jinja2 joblib jsonschema julia jupyter jupyter-client jupyter-console jupyter-core jupyter-sphinx jupyterlab jupyterlab-launcher jupyterlab-server
pip uninstall -y Keras Keras-Applications Keras-Preprocessing keras-vis keyring kiwisolver lazy-object-proxy llvmlite lmfit locket loky lxml Markdown MarkupSafe matplotlib mccabe metakernel mistune mizani mkl-service mlxtend monotonic more-itertools moviepy mpl-scatter-density mpld3 mpldatacursor mpmath msgpack msgpack-numpy msgpack-python multipledispatch multiprocess mypy mypy-extensions mysql-connector-python nbconvert nbconvert-reportlab nbformat netCDF4 networkx nltk notebook numba numcodecs numdifftools numexpr numpy numpydoc oct2py octave-kernel osqp packaging palettable pandas pandas-datareader pandocfilters panel param parambokeh paramnb parso partd patsy pdfrw pdvega pep8 pexpect pg8000 pickleshare Pillow
pip uninstall -y plotnine pluggy ppci prettytable prometheus-client prompt-toolkit protobuf psutil ptpython PuLP py pyarrow PyAudio pybars3 pybind11 pycodestyle pycparser pyct pyflakes pyflux pygame pygbm Pygments pylint pymc PyMeta3 pymongo pyodbc PyOpenGL pypandoc pyparsing PyQt5 pyqtgraph pyserial pyshp pystache pytest pytest-runner python-dateutil python-hdf4 python-Levenshtein python-snappy pythonnet PythonQwt pythreejs pytz pyviz-comms PyWavelets pywin32 pywin32-ctypes pywinpty pywinusb PyYAML pyzmq pyzo
pip uninstall -y QtAwesome qtconsole QtPy readme-renderer redis regex reportlab requests requests-toolbelt rise rope rpy2 ruamel.yaml Rx scikit-fuzzy scikit-image scikit-learn scikit-optimize scilab2py scipy scs seaborn Send2Trash
pip uninstall -y Shapely simplegeneric simplejson simpy singledispatch sip six snakeviz snowballstemmer sortedcontainers sounddevice soupsieve Sphinx sphinx-rtd-theme sphinxcontrib-websupport spyder spyder-kernels SQLAlchemy sqlite-bro sqlparse statsmodels streamz supersmoother sympy tables tblib tensorboard tensorflow tensorflow-probability termcolor terminado
pip uninstall -y thrift toolz torch torchvision tornado tqdm traitlets traittypes twine twitter typed-ast tzlocal uncertainties urllib3 vega vega-datasets ViTables wcwidth webencodings Werkzeug
pip uninstall -y widgetsnbextension wordcloud wrapt xarray xlrd XlsxWriter xlwings zarr zict
--
and at last removal round, only, it works...
pip list -o
Package Version Latest Type
---------- ------- ------ -----
pip 18.1 19.0.1 wheel
setuptools 40.7.2 40.8.0 wheel
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
so taking it in reverse, the problem seem to go away when I did this:
pip uninstall -y widgetsnbextension
Uninstalling widgetsnbextension-3.4.2:
Successfully uninstalled widgetsnbextension-3.4.2
pip list -o
Operation cancelled by user
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
pip uninstall -y wordcloud
Uninstalling wordcloud-1.5.0:
Successfully uninstalled wordcloud-1.5.0
pip list -o
Operation cancelled by user
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
pip uninstall -y wrapt
Uninstalling wrapt-1.11.1:
Successfully uninstalled wrapt-1.11.1
pip list -o
Operation cancelled by user
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
pip uninstall -y xarray xlrd
Uninstalling xarray-0.11.3:
Successfully uninstalled xarray-0.11.3
Uninstalling xlrd-1.2.0:
Successfully uninstalled xlrd-1.2.0
pip list -o
Operation cancelled by user
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
pip uninstall -y XlsxWriter xlwings zarr zict
Uninstalling XlsxWriter-1.1.2:
Successfully uninstalled XlsxWriter-1.1.2
Uninstalling xlwings-0.15.1:
Successfully uninstalled xlwings-0.15.1
Uninstalling zarr-2.2.0:
Successfully uninstalled zarr-2.2.0
Uninstalling zict-0.1.3:
Successfully uninstalled zict-0.1.3
pip list -o
Package Version Latest Type
---------------------- ----------- ----------- -----
atomicwrites 1.2.1 1.3.0 wheel
bloscpack 0.13.0 0.16.0 sdist
cvxopt 1.2.2 1.2.3 sdist
dask 1.1.0 1.1.1 wheel
distributed 1.25.2 1.25.3 wheel
future 0.17.0 0.17.1 sdist
GDAL 2.3.3 2.4.0 sdist
intake 0.2.3 0.4.1 sdist
mizani 0.5.2 0.5.3 wheel
mlxtend 0.14.0 0.15.0.0 wheel
msgpack-python 0.5.4+dummy 0.5.6 sdist
mysql-connector-python 8.0.11 8.0.15 wheel
numcodecs 0.6.2 0.6.3 sdist
numpy 1.15.4+mkl 1.16.1 wheel
pg8000 1.12.4 1.13.0 wheel
pip 18.1 19.0.1 wheel
pycodestyle 2.4.0 2.5.0 wheel
pypandoc 1.3.2 1.4 sdist
PyQt5 5.9.2 5.11.3 wheel
pyshp 2.0.0 2.0.1 sdist
pytest 4.1.1 4.2.0 wheel
python-dateutil 2.7.5 2.8.0 wheel
regex 2019.2.3 2019.2.5 wheel
requests-toolbelt 0.8.0 0.9.1 wheel
ruamel.yaml 0.15.85 0.15.87 wheel
scikit-fuzzy 0.3.1 0.4.0 sdist
setuptools 40.7.2 40.8.0 wheel
Shapely 1.6.4.post1 1.6.4.post2 sdist
Sphinx 1.8.2 1.8.4 wheel
spyder-kernels 0.3.0 1.3.1 wheel
twitter 1.17.1 1.18.0 wheel
typed-ast 1.2.0 1.3.0 wheel
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
There is something wrong with one of these : XlsxWriter xlwings zarr zict.
zict
seems the problematic package .... what a strange thing. could there be something wrong on pypi server side ?
zict RECORD is:
zict/__init__.py,sha256=pt9OP4ezD1XdH2gF1hZ4HoxN0CyteYebxAm07xyZiS4,186
zict/buffer.py,sha256=H-DRzVZB4hrHfWvgksazD1YtEllvGTzRVLGj4UVGtzo,3749
zict/common.py,sha256=peUA2daRk6OSnzPQhNlK3w_YyRPdGWKFdiT34xgJBcU,1426
zict/file.py,sha256=n3IfnKrXygUD8NI7nSyFUW1cBVwIsnu6QIVJCvseNcU,2629
zict/func.py,sha256=_q-mwCbllA93aNLJFiOXWaelZPldeCVxmQcS4_iz7pI,1951
zict/lmdb.py,sha256=wtdndt1Bz-iWDBmzlJhBU9a8xVL3KjzoLxlw9BsRghs,2922
zict/lru.py,sha256=jGbll_kWIho_BykwSoWQETh8B2lZF35IaKOgenDtodI,3047
zict/sieve.py,sha256=nqyeqSv2czxHAee3xjiLzodSD8PybK934C0I_o5Jdts,3201
zict/zip.py,sha256=yetz5EwpOGGfvhHCNrUdpkhpzh0gLP2kX2Z_Id8x_6g,2067
zict-0.1.3.dist-info/DESCRIPTION.rst,sha256=XzTuU2iST68wy2KOget-H6Fsj1qmAy1cu7sBl-ryqok,256
zict-0.1.3.dist-info/METADATA,sha256=TlyAOn_qhwsyVzCE8gkyj2dKU-iH6wcFFBFyckThcmU,567
zict-0.1.3.dist-info/RECORD,,
zict-0.1.3.dist-info/WHEEL,sha256=BTHHj6QhsHpWhRUrxioIvCAgjx81u-a8gkPTO6bi_A0,116
zict-0.1.3.dist-info/metadata.json,sha256=uXcmonEVzQb9NadRrhuz0SFfpWmbATZUnu_cmUH9Qs0,554
zict-0.1.3.dist-info/top_level.txt,sha256=ru4yqvaDGmbFDXeEif4vJBPJve86WggecSuZ07bdYIg,5
I can’t seem to reproduce this with a minimal setup:
λ pip install zict==0.1.3
Collecting zict==0.1.3
Using cached https://files.pythonhosted.org/packages/5d/c9/eddd6c9a7ebd65fc799f9b87e56b45599a4e35d66e3da2722d7fc2a89f1f/zict-0.1.3-py2.py3-none-any.whl
Collecting heapdict (from zict==0.1.3)
Installing collected packages: heapdict, zict
Successfully installed heapdict-1.0.0 zict-0.1.3
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
λ pip list -o
Package Version Latest Type
---------- ------- ------ -----
pip 18.1 19.0.1 wheel
setuptools 39.0.1 40.8.0 wheel
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
λ pip list
Package Version
---------- -------
HeapDict 1.0.0
pip 18.1
setuptools 39.0.1
zict 0.1.3
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
There’s probably more in this :(
retrying today with latest pip-19.0.2 and setuptools-40.8.0 ... same wired behavior.
C:\WinP\bd37\bu\WPy32-3720b5\scripts>pip list -o
Operation cancelled by user
C:\WinP\bd37\bu\WPy32-3720b5\scripts>pip uninstall zict -y
Uninstalling zict-0.1.3:
Successfully uninstalled zict-0.1.3
C:\WinP\bd37\bu\WPy32-3720b5\scripts>pip list -o
Package Version Latest Type
---------------------- ----------- ----------- -----
bloscpack 0.13.0 0.16.0 sdist
future 0.17.0 0.17.1 sdist
GDAL 2.3.3 2.4.0 sdist
intake 0.2.3 0.4.1 sdist
mizani 0.5.2 0.5.3 wheel
mlxtend 0.14.0 0.15.0.0 wheel
msgpack-python 0.5.4+dummy 0.5.6 sdist
mypy 0.660 0.670 wheel
mysql-connector-python 8.0.11 8.0.15 wheel
numcodecs 0.6.2 0.6.3 sdist
numpy 1.15.4+mkl 1.16.1 wheel
parso 0.3.2 0.3.3 wheel
pg8000 1.12.4 1.13.1 wheel
pypandoc 1.3.2 1.4 sdist
PyQt5 5.9.2 5.12 wheel
pyshp 2.0.0 2.0.1 sdist
ruamel.yaml 0.15.85 0.15.87 wheel
scikit-fuzzy 0.3.1 0.4.0 sdist
Shapely 1.6.4.post1 1.6.4.post2 sdist
spyder-kernels 0.4.2 1.3.2 wheel
tqdm 4.30.0 4.31.1 wheel
twitter 1.17.1 1.18.0 wheel
typed-ast 1.2.0 1.3.1 wheel
XlsxWriter 1.1.2 1.1.4 wheel
xlwings 0.15.1 0.15.2 sdist
C:\WinP\bd37\bu\WPy32-3720b5\scripts>
still the problem, even when using zict from github master
installing zstd, so that zict is not the last package, doesn't resolve the problem either.
ok, found th "-v" option. does this trace help ?
C:\WinP\bd37\buZero\WPy32-3720b5\scripts>pip list*pip list -o -v
ERROR: unknown command "list*pip" - maybe you meant "list"
C:\WinP\bd37\buZero\WPy32-3720b5\scripts>pip list
Package Version
-------------- -------------
HeapDict 1.0.0
idlex 1.18
pip 19.0.2
prompt-toolkit 2.0.8
ptpython 2.0.4
Pygments 2.3.1
setuptools 40.8.0
six 1.12.0
wheel 0.33.0
winpython 1.11.20181222
zict 0.1.3
C:\WinP\bd37\buZero\WPy32-3720b5\scripts>pip list -o -v
Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
1 location(s) to search for versions of zict:
* https://pypi.org/simple/zict/
Getting page https://pypi.org/simple/zict/
Looking up "https://pypi.org/simple/zict/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/zict/ HTTP/1.1" 304 0
Operation cancelled by user
Exception information:
Traceback (most recent call last):
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\lockfile\mkdirlockfile.py", line 40, in acquire
os.mkdir(self.lock_file)
FileExistsError: [WinError 183] Impossible de créer un fichier déjà existant: 'c:\\users\\helene\\appdata\\local\\pip\\cache\\http\\f\\b\\3\\4\\2\\fb3424f809dd6dfe49e1a2574d3bc50f4fbdbce23f012bdf65e8a6d3.lock'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\cli\base_command.py", line 179, in main
status = self.run(options, args)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\commands\list.py", line 144, in run
packages = self.get_outdated(packages, options)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\commands\list.py", line 152, in get_outdated
dist for dist in self.iter_packages_latest_infos(packages, options)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\commands\list.py", line 152, in <listcomp>
dist for dist in self.iter_packages_latest_infos(packages, options)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\commands\list.py", line 179, in iter_packages_latest_infos
all_candidates = finder.find_all_candidates(dist.key)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\index.py", line 610, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\index.py", line 743, in _get_pages
page = _get_html_page(location, session=self.session)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\index.py", line 229, in _get_html_page
resp = _get_html_response(url, session=session)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\index.py", line 177, in _get_html_response
"Cache-Control": "max-age=0",
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\requests\sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\download.py", line 403, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 53, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\requests\adapters.py", line 533, in send
return self.build_response(request, resp)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 80, in build_response
request, response
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\cachecontrol\controller.py", line 365, in update_cached_response
self.cache.set(cache_url, self.serializer.dumps(request, cached_response))
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_internal\download.py", line 304, in set
return super(SafeFileCache, self).set(*args, **kwargs)
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\cachecontrol\caches\file_cache.py", line 126, in set
with self.lock_class(name) as lock:
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\lockfile\__init__.py", line 197, in __enter__
self.acquire()
File "C:\WinP\bd37\buZero\WPy32-3720b5\python-3.7.2\lib\site-packages\pip\_vendor\lockfile\mkdirlockfile.py", line 57, in acquire
time.sleep(wait)
KeyboardInterrupt
C:\WinP\bd37\buZero\WPy32-3720b5\scripts>
okay: prefixing the file and the directory in "C:\Users\helene\AppData\Local\pip\cache\http\f\b\3\4\2" with "zz_" solves the problem.
==> maybe one day someone will explain me this strange behavior of lock files. maybe pip would be friendly to suggest something is odd with a 12 days old lock file
@stonebig Thanks for digging into this and diagnosing. This looks like a duplicate of #3532, then. Do you agree?
Yes. Hope it will be solved one day
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Environment
Description
pip list -o
doesn't work, seems waiting something foreverOutput
is it normal ? has anyone else the problem ? If not, where could it come from ?