-
Notifications
You must be signed in to change notification settings - Fork 2
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 show structure in pip version #15
Comments
Thanks for reporting this issue @pikakolendo02! I have a suspicion that this may be related to serving the RDKit JS assets to the front end. We have some custom filesystem manipulations we perform on install and something may be strange with the pip version/Arch Linux combination. We generally test the releases on Mac and Windows, but not Arch Linux. I'll see if I can replicate your issue on Mac first, then in Docker with Arch if I can't replicate it there. I'll let you know if I have a solution for you. If there's no easy fix, we'll make sure to have Linux compatibility in our next release. In the meantime, I'd recommend sticking with the conda version if that's working. Will update here once I've had a chance to test it. |
We took a look at this bug again on Windows, MacOS, and Ubuntu and weren't able to replicate the issue: the |
Thank you for reply @TShimko126 . I hope these could help you. |
Thanks for the screenshots, these are very helpful. I believe this is probably a permissions issue with our local assets provider. TCW needs write access to the Jupyter extension directories as well as some other files. I expect that this might not be possible if you're installing with pip globally. My thought is that conda is using a virtualenv directory with looser permissions to which TCW can write on setup. Are you installing with pip globally or within a different vitualenv provider? Thanks! @gilberto-md: We should add a warning if TCW doesn't have write permissions to the Jupyter target dirs on install. |
These packages are installed locally in ~/.local/lib/python3.10/site-packages
|
Hi, I am having the same issue. I did install to global pip on a virtual Linux machine. Everything works except structure drawing from selection or the tooltip in the scatter plot. Do you know if changing permissions somewhere would help here? |
Thanks for uploading the package. Many thanks |
Sorry for the delay here, we've been quite busy with some other projects so maintenance on the chemwidgets package has fallen a bit behind. @johnberroa - Is it possible for you to try with the conda installation ( @GattiMh - I don't think any of the devs have an M1 mac to test the package on. Could you provide some more information regarding your browser (and if possible screenshot the console window in your browser as @johnberroa did in his message above)? Thanks to both of you for reporting these issues. A fix will probably take a little bit since we are busy working on other tasks at the moment, but for now I'd recommend using the conda version when possible and seeing if that fixes your issues. If not, please let me know and we can bump this higher on the priority list. |
Thanks! I have sorted the problem by doing I've also done Hope that helps the others as well. Best wishes |
I have the same issue with pip installation on windows. what is going on? |
Hello, I use Arch Linux and I have installed JupyterLab from pip.
![pip](https://user-images.githubusercontent.com/15796641/188561299-27738d2e-9949-49d5-aca7-8134f1248962.png)
I installed trident-chemwidgets tried the Scatter_widget.ipynb from examples but it cannot display structures. Hovering and click "Show Structures" displayed nothing.
I tried conda version with JupyterLab in conda and everything was OK.
![conda](https://user-images.githubusercontent.com/15796641/188562037-5de84595-baf6-4537-830c-96fc4863ac98.png)
This is a list of
pip list
output:Could it be a problem of missing package?
Thank you.
The text was updated successfully, but these errors were encountered: