-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Can't resolve dependencies for Gensim / smart-open / botocore #2867
Comments
It looks like
https://github.com/RaRe-Technologies/smart_open/blob/master/setup.py#L54 While
https://github.com/boto/boto3/blob/develop/setup.py#L17 |
Looks like the issue will be resolved on the I believe that |
@whyboris - what version of Python are you requiring in your Pipfile? I seem to be seeing this issue only with a Python 3.6 venv, whereas in a Python 3.7 venv, everything works fine. I'm curious if this is reproducible.
For my use case, I have to have 3.6 for AWS, but it's very interesting that it seems to work in 3.7. |
The issue was fixed very swiftly at piskvorky/smart_open#227 (comment) I believe the issue I raised is an instance of an inevitable problem when package A wants sub-dependency C at version 1.0 while package B wants sub-dependency C at version 2.0 -- I'm rather surprised you didn't run into a problem. @petergaultney - I was unable to replicate the error now that the package has been updated, but I too am curious why you experienced different behavior between the two versions of Python. |
i can still replicate it with |
@petergaultney -- thanks for that command -- I was able to replicate the problem with |
Thanks for trying. It doesn't make any sense to me, but weirdly enough I can still get |
Try |
that does indeed cause the error as expected. Are there different caches per Python version? |
Yes, the cache is partitioned by version. |
Issue description
pipenv install gensim
fails to createPipfile.lock
because of incompatiblerequired
versions insmart-open
ofbotocore
.Expected result
It should install without conflict ... somehow
Actual result
pipenv graph
gives this:Specifically, please note these three lines inside smart-open:
This may be a problem with
smart-open
rather than pipenv but I can't tell. I posted the issue on smart-open but I don't know enough to decide who needs to adjust what: piskvorky/smart_open#227Steps to replicate
pipenv install gensim
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
pipenv --support
:$ pipenv --support
Pipenv version:
'2018.7.1'
Pipenv location:
'/usr/local/Cellar/pipenv/2018.7.1/libexec/lib/python3.7/site-packages/pipenv'
Python location:
'/usr/local/Cellar/pipenv/2018.7.1/libexec/bin/python3.7'
Other Python installations in
PATH
:2.7
:/usr/local/bin/python2.7
2.7
:/usr/local/bin/python2.7
2.7
:/usr/bin/python2.7
3.6
:/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m
3.6
:/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
3.6
:/usr/local/bin/python3.6
3.7
:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m
3.7
:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
3.7
:/usr/local/bin/python3.7
2.7.15
:/usr/local/bin/python
2.7.10
:/usr/bin/python
2.7.15
:/usr/local/bin/python2
3.7.0
:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3
3.6.4
:/Library/Frameworks/Python.framework/Versions/3.6/bin/python3
3.7.0
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
PATH
TERM_PROGRAM
NVM_CD_FLAGS
TERM
SHELL
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
ZSH
NVM_DIR
USER
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
PAGER
LSCOLORS
_
PWD
LANG
XPC_FLAGS
XPC_SERVICE_NAME
SHLVL
HOME
LESS
LOGNAME
LC_CTYPE
NVM_BIN
DISPLAY
COLORTERM
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/Cellar/pipenv/2018.7.1/libexec/tools:/usr/local/opt/opencv3/bin:/Users/byakubchik/.nvm/versions/node/v8.11.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/.composer/vendor/bin:/Library/TeX/texbin:/usr/local/go/bin:/opt/X11/bin
SHELL
:/bin/zsh
LANG
:en_US.UTF-8
PWD
:/Users/byakubchik/Desktop/temp
Contents of
Pipfile
('/Users/byakubchik/Desktop/temp/Pipfile'):The text was updated successfully, but these errors were encountered: