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

i am not able to run code for installation #267

Open
rakshitsharma574 opened this issue Mar 23, 2023 · 3 comments
Open

i am not able to run code for installation #267

rakshitsharma574 opened this issue Mar 23, 2023 · 3 comments

Comments

@rakshitsharma574
Copy link

git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:2 char:1

Copy-Item : A parameter cannot be found that matches parameter name 'rf'.
At line:3 char:4

  • cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm .
+ CategoryInfo          : InvalidArgument: (:) [Copy-Item], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
@vionomad
Copy link

Sounds like you are on a Windows system and not Linux. And the 'git' package is not installed.

@justsomeguy564
Copy link

I am on a Windows system and I have git. I installed using
git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch
but the command
cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm .
doesn't work for me. cp is a linux command for copy.

Can this be run in Windows?

If so, it looks like the line is trying to copy the contents of the Synchronized-BatchNorm-PyTorch/sync_batchnorm directory up one level.

Is that correct?

@Aspudden
Copy link

Just for information,
I have the same problem as you justsomeguy564, but in my case I try to clone MS code ..

git clone https://github.com/MicrosoftDocs/mslearn-create-razor-pages-aspnet-core

I'm also on Windows system, have installed also git but still error ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants