question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to automatically install library due to spaces in username when using Gitbash

See original GitHub issue

Issue Type: Bug

When trying to install ‘rope’ to rename functions the command below is run which errors due to spaces in the username ‘firstname lastname’:

 & i:/#Data/#Dev/Python/DuplicateFinder/venv-dup-finder/Scripts/python.exe c:\Users\firstname lastname\.vscode\extensions\ms-python.python-2020.4.74986\pythonFiles\pyvsc-run-isolated.py pip install -U rope

Extension version: 2020.4.74986 VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T16:33:57.013Z) OS version: Windows_NT ia32 10.0.18363

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
Kronencommented, Oct 1, 2020

My problem was that I was using git bash (windows) as the terminal and vscode doesn’t translate the backslashes.

1reaction
gricncommented, Dec 30, 2020

My problem was that I was using git bash (windows) as the terminal and VSCode doesn’t translate the backslashes.

That’s the root of the problem. After changing the default shell to CMD, everything works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install tfenv on Windows with username having ... - GitHub
Platform: Windows 10 Installation CLI: Git Bash Issue: Can't install tfenv on Windows with username having blank spaces in between.
Read more >
directory in a Windows install of Git Bash - Stack Overflow
1.Right click to Gitbash shortcut choose Properties · 2.Choose "Shortcut" tab · 3.Type your starting directory to "Start in" field · 4.Remove "--cd ......
Read more >
Windows user space issues with installing R packages
Solutions. You could either re-install Windows with a username that has no spaces such as Lastname, but that's probably not an easy option....
Read more >
Git - Git Configuration - Git SCM
So far, we've covered the basics of how Git works and how to use it, and we've ... git config --global user.name "John...
Read more >
Setting Up Conda in Git Bash - Codecademy Forums
Make sure there is a space between the period and the first forward slash in the path. Then make sure the .bashrc is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found