Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing local file dependencies fail in spite of file existing #3625

Closed
3 tasks done
navyamehta opened this issue Jan 31, 2021 · 4 comments
Closed
3 tasks done

Installing local file dependencies fail in spite of file existing #3625

navyamehta opened this issue Jan 31, 2021 · 4 comments
Labels
kind/bug Something isn't working as expected

Comments

@navyamehta
Copy link

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-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!

@navyamehta navyamehta added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jan 31, 2021
@mxab
Copy link
Contributor

mxab commented 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
Copy link

sinoroc commented 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
Copy link
Member

abn commented May 19, 2022

Closing as a duplicate of #3628 as it has more information.

@abn abn closed this as completed May 19, 2022
@mkniewallner mkniewallner removed the status/triage This issue needs to be triaged label Jun 11, 2022
Copy link

github-actions bot commented 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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

5 participants