-
Notifications
You must be signed in to change notification settings - Fork 3k
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
AttributeError: 'NoneType' object has no attribute 'netloc' #5889
Comments
Correction, when I reinstalled "aershp" after fake-uninstalling "catutils", it installed fine, but installing "catutils" still failed. |
It looks like the line causing the exception was introduced in PR #5571. |
This should be fixed in #5788, there's a test in this comment: #5788 (comment). |
Yeah, looking at that comment, it seems to make sense (although, my knowledge of pip internals is extremely limited). Any thoughts on the incomplete cleanup from the failed install? |
@benoit-pierre -- your fixes for this bug (which has bitten me) look good. But the PRs are now closed. Did you find a way around this issue? |
I also seem to have the same problem:
My situation seems analogous to the situation reported here. I am installing a private package called deep-nlp-embedding (
Note the first private package was installed using PEP 508 URLS, specfically:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Environment
Description
I am using a fresh conda environment (most packages from conda-forge), pip 18.1, python 3.6, and linux. I am utilizing the new PEP508 syntax for installing private packages from our internal gitlab server (anonymized below). I added some print statements that I hope will be helpful:
A bit of explanation of my dependency tree. I am installing a package called "catutils". It has a dependency on another private package called "aershp". That package, in turn, has a dependency upon two other private, pure-python, packages called "ncxml" and "atomic_context". I installed "aershp" via "pip install -e .", and it fetched the other two packages from our gitlab server. This failure happened when I tried doing "pip install -e ." for the catutils package.
Some additional insights. I have gone back and reinstalled (
pip install -e .
) the "atomic_context" and the "ncxml" packages. I thenpip uninstall aershp
, and then didpip install -e .
. This failed for some odd reason:Could not find a version that satisfies the requirement aershp>=0.10 (from catutils==0.15.dev1) (from versions: )
So, I then did a
pip uninstall catutils
: which said that it was skipping it because it is not installed (as expected), but then went back to the "aershp" package and redidpip install -e .
, and instead of the unsatisfiable error, I got the same error as originally posted above.The text was updated successfully, but these errors were encountered: