Skip to content
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

Cannot install under WSL2 Ubuntu 20.04 #6931

Closed
bobpbbd104 opened this issue Jul 17, 2024 · 6 comments
Closed

Cannot install under WSL2 Ubuntu 20.04 #6931

bobpbbd104 opened this issue Jul 17, 2024 · 6 comments
Labels
🪳 bug Something isn't working 🪟 windows Problems specific to the Windows OS

Comments

@bobpbbd104
Copy link

Tried the pip3 install, I get the error:

ERROR: Could not find a version that satisfies the requirement rerun-sdk (from versions: none)
ERROR: No matching distribution found for rerun-sdk

Not that it would matter considering the error, I also installed your suggested Linux dependencies.

Then tried under Windows, but only get blank app window after running rerun.

Thanks
Robert

@bobpbbd104 bobpbbd104 added 👀 needs triage This issue needs to be triaged by the Rerun team 😤 annoying Something in the UI / SDK is annoying to use labels Jul 17, 2024
@Wumpf
Copy link
Member

Wumpf commented Jul 18, 2024

Repros for me cleanly, Ubuntu 22 works fine for me. Which almost certainly means that we regressed on our glibc requirement again (see #1320)

The conda build is apparently not affected by this conda install -c conda-forge rerun-sdk worked for me and was able to run, you can use this as a workaround meanwhile.

To understand "blank app window"-issue better, can you please provide the following:

  • how did you run it
  • the log from commandline
  • what gpu are you running, driver versions may be helpful as well
  • when you say blank, do you mean an empty window? Probably easiest to post a screenshot :)

Thank you!

@Wumpf Wumpf added 🪳 bug Something isn't working 🪟 windows Problems specific to the Windows OS 🐧 linux Linux-specific problems 🦟 regression A thing that used to work in an earlier release and removed 😤 annoying Something in the UI / SDK is annoying to use 👀 needs triage This issue needs to be triaged by the Rerun team labels Jul 18, 2024
@Wumpf
Copy link
Member

Wumpf commented Jul 18, 2024

Regarding the pip issue: Turns out this is not a glibc issue (we're advertising 2.31, but can actually go lower, see also here), but something about the out of the box configuration of pip on Ubuntu 20.04 doesn't make sense:

  • uv pip install rerun-sdk works (https://astral.sh/blog/uv)
  • pipx install rerun-sdk works as well
  • after installing rerun with conda and then uninstalling, pip will also just work

No clue at this point what is going on, verbose logs weren't helpful either.

@Wumpf Wumpf removed 🐧 linux Linux-specific problems 🦟 regression A thing that used to work in an earlier release labels Jul 18, 2024
@Wumpf
Copy link
Member

Wumpf commented Jul 18, 2024

turns out this is an issue with old pip versions, in this case 20.0.2
Running pip install --upgrade pip installs a new pip (24.1.2 as of writing), careful however that this may not update the pip at pip command, in my case I had to run pip3 then to get the right version afterwards

@Wumpf
Copy link
Member

Wumpf commented Jul 22, 2024

@bobpbbd104 any more information you can provide on the windows blank screen?

jleibs pushed a commit that referenced this issue Jul 22, 2024
…ersion (#6956)

### What

*  half of #6931
* still unclear where the reported black screen on windows comes from

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/6956?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/6956?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!
* [x] If have noted any breaking changes to the log API in
`CHANGELOG.md` and the migration guide

- [PR Build Summary](https://build.rerun.io/pr/6956)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

To run all checks from `main`, comment on the PR with `@rerun-bot
full-check`.
@Asherchi
Copy link

got the same problem in wsl Ubuntu18.04.

@Wumpf
Copy link
Member

Wumpf commented Oct 22, 2024

I don't think there's much more we can do other than putting this into the troubleshooting guide since this seems to be an issue with old pip versions.

@Wumpf Wumpf closed this as completed Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 🪟 windows Problems specific to the Windows OS
Projects
None yet
Development

No branches or pull requests

3 participants