-
Notifications
You must be signed in to change notification settings - Fork 8
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
Install on Google Colab fails #67
Comments
Hi Philipp, I'll have to take a look into this. I guess it happens when you install from scratch. The new pip resolver is really annoying. Hope to have this fixed soon! |
I wonder if there's some conflict with default installs on colab? On MacOS, a clean virtualenv with the latest pip and --no-cache-dir installs cloud-files cleanly. |
I think this will be difficult to debug without some information provided by pip on what the conflicts are. Unfortunately, I was only able to find PRs to pip in progress that have this feature. |
Yeah I found pip's output to not be very helpful. I haven't had the chance yet but have you tried uninstalling everything that comes pre-installed in colab and start from scratch? |
Wow, there is a LOT of pre-installed stuff.
|
Holy moly |
I just tried uninstalling everything: pip freeze | grep -v "@" | grep -v "pygobject" | grep -v "python-apt" | grep -v "screen-resolution-extra" | grep -v "xkit" | xargs pip uninstall -y That leaves a couple distutils-installed packages:
Fortunately, those then play nicely with cloud-files! 🎉 |
This rocks, I bet we can bisect this list until we find the problematic installs. |
I ended up digging into this today and tracked down the culprit(s): getting rid of |
Thank you for figuring this out Philipp! |
Hi! I got an email from a guy trying to install
fafbseg
on Google Colab who says install used to work just fine but now just "takes forever". Turns out that pip's dependency solver just spins out of control trying to find a combination of packages that satisfies all requirements (I also tried downgrading pip to before the strict solver in was introduced in21.0.0
).I managed to track it down to
cloud-volume
and from there tocloud-files
. Now it's late and I've given up for the moment but I thought I leave you a message in case you had some sort of hunch.The text was updated successfully, but these errors were encountered: