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 install/rm/install version controlled package

See original GitHub issue

Full commands and output: https://gist.github.com/altendky/165b025c6c2ca3d0a2ef84ae542e36bc

In reality I am having issues with my own repos but I decided to test with something more official and it showed the same issues. I would expect the following sequence of commands to work on Windows but it does not. It does work in Linux.

pipenv install -ve git+https://github.com/pypa/pipenv#egg=pipenv
pipenv --rm
pipenv install -v

Instead of working I get an error from the last one including the following (full log in gist above).

Command "git config --get-regexp remote\..*\.url" failed with error code 1 in C:\Users\FSTAB\.virtualenvs\test7-QkksyU_j\src\pipenv

Note that at the end the pipenv source directory is nearly empty and it’s .git directory is as well.

PS C:\Users\FSTAB\desktop\test7> dir C:\Users\FSTAB\.virtualenvs\test7-QkksyU_j\src\pipenv
PS C:\Users\FSTAB\desktop\test7> dir C:\Users\FSTAB\.virtualenvs\test7-QkksyU_j\src\pipenv\.git


    Directory: C:\Users\FSTAB\.virtualenvs\test7-QkksyU_j\src\pipenv\.git


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         4/4/2018  10:47 AM                objects

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
techalchemycommented, Apr 29, 2018

Ooh this is all handled I think, closing

0reactions
techalchemycommented, Apr 5, 2018

@altendky we have an entire tooling setup for this already, but it isn’t being used here because of reasons… you are right about the git repo issues on windows, this tooling setup was specifically designed for this reason. Feel free to PR but please use this one: https://github.com/pypa/pipenv/blob/b5ae7cc0bb2c01eed86b884bd16425f0a3a06f6c/pipenv/utils.py#L1164

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to install package due to error - This app can't be ...
Certain managed/unmanaged packages will have issues installing in certain instances. One may install on all instances but one.
Read more >
Problem to install Package Control on Sublime Text 3
It means your "packages control" is installed already. Now you can open your command plate (ctrl+shift+p) and type "Packages control:Install ...
Read more >
Can't install the control package · Discussion #706
Hey I work with Anaconda and PyCharme. I tried to install the control package but get an error RemoveError: 'setuptools' is a dependency...
Read more >
Managed package install fails in a single customer Org
I had a similar issue installing a new major version into orgs that already had the previous version. Turns out it was due...
Read more >
App Control: How to Troubleshoot a Failed Installation of Host ...
Environment App Control Console: All Supported Versions App Control Host Package ... How to troubleshoot a failed install of a Host Package Installer....
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