-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
import: fails with ModuleNotFoundError (win32timezone) when importing private repository using ssh using dvc from Windows Installer #7577
Comments
I uninstalled dvc (which was previously installed using the dvc Windows Installer - to get the automated symlink permissions setup). Then I installed dvc using choco. This resolved the issue. It could be that the problem then lies with the dvc Windows Installer, or that I missed a manual installation step. Output of $ dvc doctor
DVC version: 2.10.1 (choco)
---------------------------------
Platform: Python 3.9.0 on Windows-10-10.0.19041-SP0
Supports:
azure (adlfs = 2022.4.0, knack = 0.9.0, azure-identity = 1.9.0),
gdrive (pydrive2 = 1.10.0),
gs (gcsfs = 2022.3.0),
webhdfs (fsspec = 2022.3.0),
http (aiohttp = 3.8.1, aiohttp-retry = 2.4.6),
https (aiohttp = 3.8.1, aiohttp-retry = 2.4.6),
s3 (s3fs = 2022.3.0, boto3 = 1.21.21),
ssh (sshfs = 2022.3.1),
oss (ossfs = 2021.8.0)
Cache types: hardlink
Cache directory: NTFS on D:\
Caches: local
Remotes: local
Workspace directory: NTFS on D:\
Repo: dvc, git |
Having the same issue of the missing |
Any idea if this will get attention? Ran into the same issue from the 2.11.0 windows installer (although pip-installing 2.29.0 has failed with different error; had to revert to 2.9.5). It's much more convenient for our team to distribute internally via the binary installer. Edit: In case anyone else has this issue, the bug is not present in the 2.9.5 windows binary installer. |
@HaddocktheHorrible have you tried the windows installer for the latest DVC release? |
Hi @pmrowla - not yet. Since I ran into #7702 from the pip version of 2.29.0, I did not bother with the windows installer. But you're right that I can see if I get the Update: Confirmed I see the same Here's the traceback leading to that error:
And
|
Hi @pmrowla - last week I tried with the 2.30.0 but had no success (see logs attached in the previous comment). Sorry if this is a double-ping -- I realized comment edits might not send notifications... |
I'm not able to reproduce, but it looks like we were simply missing a hiddenimport for pyinstaller. Added one in ab3f8fb @W1M0R @HaddocktheHorrible @jruehle folks, please give 2.35.2 a try (the packages should be out later today/tomorrow) https://dvc.org/download/win/dvc-2.35.2 |
@efiop Sorry for the delay - just had a chance to install and try it. Can confirm |
I have same problem in version 2.34.0. but after installed 2.35.2, it works with out probolems. thank you |
Bug Report
Description
According to the guide, we need to use the git/ssh protocol when working with private repositories. Following this recommendation, a
dvc import
fails withModuleNotFoundError: No module named 'win32timezone'
. Trying again, but this time using https, I getdulwich.client.HTTPUnauthorized: No valid credentials provided
(as expected according to your guide).Reproduce
dvc import --verbose git@github.com:YourOrg/YourPrivateRepo.git AFolder/ADvcFolder -o AFolder/ADvcFolder
YourOrg/YourPrivateRepo.git - This is a private repo initialised with dvc.
ADvcFolder - Is a dvc tracked folder (e.g. via
dvc add AFolder/ADvcFolder
in the private repo)Expected
Import should succeed without error.
Environment information
Output of
dvc doctor
:Output of
dvc import
:The text was updated successfully, but these errors were encountered: