Update crashes
See original GitHub issue- [x ] I am on the latest Poetry version.
- [ x] I have searched the issues of this repo and believe that this is not a duplicate.
- [ x] If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- Archlinux
- Poetry 0.12.16
Issue
1: derived: botocore (>=1.12.175,<1.13.0)
PyPI: 2 packages found for s3transfer >=0.2.0,<0.3.0
PyPI: 7 packages found for jmespath >=0.7.1,<1.0.0
PyPI: No release information found for botocore-1.4.45, skipping
PyPI: 1 packages found for botocore >=1.12.175,<1.13.0
PyPI: Getting info for botocore (1.12.175) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: botocore-1.12.175-py2.py3-none-any.whl
1: fact: botocore (1.12.175) depends on python-dateutil (>=2.1,<3.0.0)
1: fact: botocore (1.12.175) depends on jmespath (>=0.7.1,<1.0.0)
1: fact: botocore (1.12.175) depends on docutils (>=0.10)
1: fact: botocore (1.12.175) depends on urllib3 (>=1.20,<1.26)
1: selecting botocore (1.12.175)
1: derived: docutils (>=0.10)
PyPI: 5 packages found for docutils >=0.10
PyPI: Getting info for s3transfer (0.2.1) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: s3transfer-0.2.1-py2.py3-none-any.whl
1: fact: s3transfer (0.2.1) depends on botocore (>=1.12.36,<2.0.0)
1: selecting s3transfer (0.2.1)
PyPI: Getting info for docutils (0.14) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: docutils-0.14-py2-none-any.whl
PyPI: Downloading wheel: docutils-0.14-py3-none-any.whl
1: selecting docutils (0.14)
PyPI: Getting info for jmespath (0.9.4) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: jmespath-0.9.4-py2.py3-none-any.whl
1: selecting jmespath (0.9.4)
1: Version solving took 121.038 seconds.
1: Tried 1 solutions.
Writing lock file
Package operations: 1 install, 4 updates, 0 removals
- Installing wheel (0.33.4)
- Updating torch (1.1.0 -> 1.1.0.post2)
[EnvCommandError]
Command ['/home/magnus/.cache/pypoetry/virtualenvs/document-classification-py3.7/bin/python', '-m', 'pip', 'install', '--no-deps', '-U', 'torch==1.1.0.post2'] errored with the following output:
Collecting torch==1.1.0.post2
Could not find a version that satisfies the requirement torch==1.1.0.post2 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 0.4.1, 0.4.1.post2, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0)
No matching distribution found for torch==1.1.0.post2
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Exception trace:
/usr/lib/poetry/poetry/_vendor/py3.7/cleo/application.py in run() at line 94
status_code = self.do_run(input_, output_)
/usr/lib/poetry/poetry/console/application.py in do_run() at line 88
return super(Application, self).do_run(i, o)
/usr/lib/poetry/poetry/_vendor/py3.7/cleo/application.py in do_run() at line 197
status_code = command.run(input_, output_)
/usr/lib/poetry/poetry/console/commands/command.py in run() at line 77
return super(BaseCommand, self).run(i, o)
/usr/lib/poetry/poetry/_vendor/py3.7/cleo/commands/base_command.py in run() at line 146
status_code = self.execute(input_, output_)
/usr/lib/poetry/poetry/_vendor/py3.7/cleo/commands/command.py in execute() at line 107
return self.handle()
/usr/lib/poetry/poetry/console/commands/update.py in handle() at line 41
return installer.run()
/usr/lib/poetry/poetry/installation/installer.py in run() at line 73
self._do_install(local_repo)
/usr/lib/poetry/poetry/installation/installer.py in _do_install() at line 290
self._execute(op)
/usr/lib/poetry/poetry/installation/installer.py in _execute() at line 306
getattr(self, "_execute_{}".format(method))(operation)
/usr/lib/poetry/poetry/installation/installer.py in _execute_update() at line 361
self._installer.update(source, target)
/usr/lib/poetry/poetry/installation/pip_installer.py in update() at line 94
self.install(target, update=True)
/usr/lib/poetry/poetry/installation/pip_installer.py in install() at line 91
self.run(*args)
/usr/lib/poetry/poetry/installation/pip_installer.py in run() at line 112
return self._env.run("python", "-m", "pip", *args, **kwargs)
/usr/lib/poetry/poetry/utils/env.py in run() at line 536
return super(VirtualEnv, self).run(bin, *args, **kwargs)
/usr/lib/poetry/poetry/utils/env.py in run() at line 385
raise EnvCommandError(e)
update [--no-dev] [--dry-run] [--lock] [--] [<packages>]...
(document-classification-py3.7) [magnus@arch document-classification]$
My toml thingy
....
[tool.poetry.dependencies]
python = "^3.7"
jupyterlab = "^0.35.4"
click = "^7.0"
tqdm = "^4.32.1"
lumi = { git = "git@gitlab.com:luminovo/lumi.git", branch = "master" }
torch = "^1.1"
torchvision = "^0.2.2"
requests = "^2.22"
joblib = "^0.13.2"
pyocr = "^0.7.0"
pytorch-pretrained-bert = "^0.6.2"
scipy = "^1.3"
...
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:17 (2 by maintainers)
Top Results From Across the Web
5 Methods to Fix Windows 10/11 Update When it Freezes or ...
Part 1: Solutions to Fix Windows Update Getting Stuck or Crashes · Go to the Start menu and click on the Power button....
Read more >How To Stop Windows 10 Crashing After Patch Tuesday ...
Some Windows 10 users are reporting blue screen of death crashes following the December security updates. Here's how to fix it, ...
Read more >How to Prevent Windows Updates From Crashing Your PC
Here are several things you can do to help prevent serious problems that can sometimes be caused by Windows Update and Patch Tuesday....
Read more >[FIXED] Windows 10 Crashing Issues | 2022 - Driver Easy
7 Fixes for Windows 10 Crashing Issues · Fix 1: Update available drivers · Fix 2: Turn off Link State Power Management ·...
Read more >MSP Crash Updates
Crash Updates. Current. Click Current Incidents to view all incidents from the past week. Search. Click Search to search for other incidents. Info....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m also getting
No matching distribution found
fordocutils
. Maybe the problem is with.post
versions?pyproject.toml
poetry debug:info
Fixing the version to 1.1 instead of ^1.1 works for me.