You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installing local file dependencies fail in spite of file existing #3625
I download the TensorRT-7.2.2.3.Ubuntu-18.04.x86_64-gnu.cuda-11.1.cudnn8.0.tar.gz file from NVIDIA and put it in the same folder as pyproject.toml. My virtualenv is 20.4.1 and install-metadata is 3.4.0. However, I get the following error on poetry install --no-dev
`
TypeError
expected string or bytes-like object
at /opt/conda/lib/python3.8/site-packages/poetry/core/utils/helpers.py:24 in canonicalize_name
20│ canonicalize_regex = re.compile("[-]+")
21│
22│
23│ def canonicalize_name(name): # type: (str) -> str
→ 24│ return canonicalize_regex.sub("-", name).lower()
25│
26│
27│ def module_name(name): # type: (str) -> str
28│ return canonicalize_name(name).replace(".", "").replace("-", "_")
`
Any help would be appreciated!
Reacted by hiroshi.matsui, Mehdi Abbana Bennani and adam-grant-hendry
We're also facing this issue on some machines
pyhton 3.8.6 (pyenv) / wsl1 / ubuntu / poetry 1.1.3 (as 1.1.4 has an issue when resolving with private repos)
Activity
mxab commentedon Feb 2, 2021
We're also facing this issue on some machines
pyhton 3.8.6 (pyenv) / wsl1 / ubuntu / poetry 1.1.3 (as 1.1.4 has an issue when resolving with private repos)
sinoroc commentedon Feb 2, 2021
There was a case with similar symptoms here: #3628
Maybe the root cause is also similar in your case... might also be a false lead.
abn commentedon May 19, 2022
Closing as a duplicate of #3628 as it has more information.
github-actions commentedon Mar 1, 2024
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.