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
Pip install took too much time #319
Comments
Hi @redcican, thanks for pointing out the conda issue. I just fixed it, so if you run Regarding the |
Hi @fealho, thank you for your feedback. |
Thanks for sharing the details @redcican I suspect that you are hitting this problem. It seems like the new pip dependency resolution which sometimes can take hours to attempt to resolve version conflicts (and in many cases, like yours, it actually ends up failing). My suspicion is that this is likely because of some versions which SDV depends on that may already be installed on your environment and make pip try to work around them. In any case, as @fealho mentioned, the |
Hello @csala, the conda version worked fine for me. I think you are right, but even though I started a totally clean python virtual environment and installed nothing there. The pip version won't work. |
good to hear!
Interesting. Would you mind sharing how you created the virtualenv exactly? What tool did you use, and which command you executed to create it? |
@csala I am happy to provide more information. |
Ok, thanks. I'll see if I can manage to reproduce it. Also, would you be able to share, if by any chance you still have them, the logs from the pip install command that got stuck? I wonder if we could see there which was the conflict that triggered the long resolution. |
I will do that and upload it as soon as possible! |
I think I may have found the problem: I just realized that you are running on Windows, and windows actually needs an extra step: Before installing So, altogether, it could be something like this:
|
Great, i will tried it again and give you feedback! |
@csala Finally it worked! Thank you so much. I will close the issue. |
Environment details
I am trying to install SDV by using
pip install sdv
, but pip kept looking at multiple versions ofmany dependencies, like "six", "decorator" and so on. It took to long!
Here is Info:
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
So I tried to install by using
conda install -c sdv-dev -c pytorch -c conda-forge sdv
, but theversion is then 0.5.0.
How can I install it quickly and get the stable latest version?
The text was updated successfully, but these errors were encountered: