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
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!
The text was updated successfully, but these errors were encountered:
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)
-vvv
option).Issue
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!
The text was updated successfully, but these errors were encountered: