I am facing a challange while trying to update my package. I execute the following command to upgrade the package
pip install --user --upgrade lhcsmapi
Lately, I started receiving an error message preventing from completing the upgrade.
The work around I found is to execute the command again. In case that fails, I uninstall the package
pip uninstall lhcsmapi
and install it again
pip install --user lhcsmapi
What is the advised way for updating packages. Is there anything that I could do to avoid this issue.
Could you please provide me with a list of the dependencies that you have installed (pip list will do the job)?
This will give me a more precise idea of what is needed to update the package and I can try to reproduce the problem more accurately.
If you do not want to post the list here, feel free to open a ticket via Service Now.
bash-4.2$ pip install --user --upgrade lhcsmapi
Collecting lhcsmapi
Downloading https://files.pythonhosted.org/packages/7d/7a/2baef7104f88c0708a7089fa5ea03bad6e64c0c73e77a7a8fa476a0ba9f4/lhcsmapi-1.2.74.tar.gz (1.2MB)
100% |████████████████████████████████| 1.2MB 797kB/s
Building wheels for collected packages: lhcsmapi
Running setup.py bdist_wheel for lhcsmapi ... done
Stored in directory: /tmp/pmrowczy/.cache/pip/wheels/88/76/35/ecdf97e7324473b30cd36517c48076c3648917af8e7a78f30d
Successfully built lhcsmapi
py2neo 4.0.0 requires colorama, which is not installed.
py2neo 4.0.0 requires neo4j-driver>=1.6.0, which is not installed.
paramiko 2.4.0 requires bcrypt>=3.1.3, which is not installed.
paramiko 2.4.0 requires cryptography>=1.5, which is not installed.
paramiko 2.4.0 requires pyasn1>=0.1.7, which is not installed.
paramiko 2.4.0 requires pynacl>=1.0.1, which is not installed.
keras 2.2.0 has requirement keras_applications==1.0.2, but you'll have keras-applications 1.0.6 which is incompatible.
keras 2.2.0 has requirement keras_preprocessing==1.0.1, but you'll have keras-preprocessing 1.0.5 which is incompatible.
Installing collected packages: lhcsmapi
Found existing installation: lhcsmapi 1.1.110
Uninstalling lhcsmapi-1.1.110:
Could not install packages due to an EnvironmentError: [Errno 5] Input/output error: '/eos/home-i04/p/pmrowczy/.local/lib/python3.6/site-packages/lhcsmapi/analysis/DiodeLeadResistanceAnalysis.py'