-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
Here's what happens when I try to install python-facebook and instagramAPI using poetry.
% poetry install
Creating virtualenv testingfb-api-mIQnEUP0-py3.8 in /Users/user1/Library/Caches/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies... (0.9s)
SolverProblemError
Because no versions of python-facebook-api match >0.7.1,<0.8.0
and python-facebook-api (0.7.1) depends on requests (>=2.24.0,<3.0.0), python-facebook-api (>=0.7.1,<0.8.0) requires requests (>=2.24.0,<3.0.0).
And because instagramapi (1.0.2) depends on requests (2.11.1)
and no versions of instagramapi match >1.0.2,<2.0.0, python-facebook-api (>=0.7.1,<0.8.0) is incompatible with InstagramAPI (>=1.0.2,<2.0.0).
So, because testingfb-api depends on both InstagramAPI (^1.0.2) and python-facebook-api (^0.7.1), version solving failed.
at ~/.poetry/lib/poetry/puzzle/solver.py:241 in _solve
237│ packages = result.packages
238│ except OverrideNeeded as e:
239│ return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
240│ except SolveFailure as e:
→ 241│ raise SolverProblemError(e)
242│
243│ results = dict(
244│ depth_first_search(
245│ PackageNode(self._package, packages), aggregate_package_nodes
Unfortunately, it would appear that the instagramAPI project is no longer available on GitHub, so I cannot query them directly about it.
Update:
When I remove instagramapi from my list of dependencies python-facebook instals just fine, which is why I'm asking if I might need instagramAPI later.
% vim pyproject.toml
% poetry install
Updating dependencies
Resolving dependencies... (1.5s)
Writing lock file
Package operations: 12 installs, 0 updates, 0 removals
• Installing certifi (2020.6.20)
• Installing chardet (3.0.4)
• Installing idna (2.10)
• Installing urllib3 (1.25.11)
• Installing attrs (20.2.0)
• Installing oauthlib (3.1.0)
• Installing requests (2.24.0)
• Installing six (1.15.0)
• Installing cattrs (1.0.0)
• Installing requests-oauthlib (1.3.0)
• Installing responses (0.11.0)
• Installing python-facebook-api (0.7.1)
Any thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels