pipenv: cannot install google-cloud-datastore
Be sure to check the existing issues, both open and closed.
Describe the issue briefly here.
Describe your environment
- OS Type ubuntu 16.0.4
- Python version:
$ python -V
3.5.2 (python of virtualenv will be different) - Pipenv version:
$ pipenv --version
11.0.2
Expected result
Pipfile.lock should be created
Actual result
When possible, provide the verbose output (--verbose
), especially for locking and dependencies resolving issues.
pipenv install --python=3.6.4 --verbose
Creating a virtualenv for this project…
Using /home/david/.pyenv/versions/3.6.4/bin/python3.6m to create virtualenv…
⠋Running virtualenv with interpreter /home/david/.pyenv/versions/3.6.4/bin/python3.6m
Using base prefix '/home/david/.pyenv/versions/3.6.4'
New python executable in /home/david/.local/share/virtualenvs/test-FTV5fq3F/bin/python3.6m
Also creating executable in /home/david/.local/share/virtualenvs/test-FTV5fq3F/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: /home/david/.local/share/virtualenvs/test-FTV5fq3F
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches futures>=3.2.0
Tried: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.5, 2.1.6, 2.1.6, 2.2.0, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1
Steps to replicate
here is my pipfile
[[source]]
verify_ssl = true
url = "https://pypi.python.org/simple"
name = "pypi"
[dev-packages]
yapf = "*"
pylint = "*"
mypy = "*"
rope = "*"
coverage = "*"
responses = "*"
[packages]
requests = "*"
google-cloud-datastore = "*"
google-cloud-storage = "*"
falcon = "*"
geopy = "*"
googlemaps = "*"
gunicorn = "*"
networkx = "*"
pymysql = "*"
python-dateutil = "*"
sqlalchemy = "*"
[pipenv]
allow_prereleases = true
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 18 (10 by maintainers)
Thanks for all the hard work. This package manager is really awesome. For the first time i know exactly what my dependencies are which i installed and what the transitive dependencies are. Combined with the fact that installs are deterministic, makes this package manager first class, like cargo
@david-gang https://docs.pipenv.org/#user-testimonials
that wasn’t easy 😃
\o/
looks like version 11.1.5 fixed this issue
@david-gang the
extras_require
format of conditional dependency parsing for python versions isn’t supported by pip tools or setuptools anymore: http://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-platform-specific-dependencies - it is recommended that you use the format specified there. We have been encouraging people to submit patches upstream to correct thisContinuing to debug the issue. It looks like pipenv is ignoring the python version in extra dependencies:
But look at setup.py
I am using a bigger version that python 3.2
Now i am stuck.