You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey everyone,
I have been trying to set up a conda environment for running python programs that utilize some of the features from plotly_resampler, specifically the FigureWidgetResampler.
The error that I get is 'ImportError: cannot import name 'FigureWidgetResampler' from 'plotly_resampler' (c:\Users\danie\anaconda3\envs\epgML\Lib\site-packages\plotly_resampler_init_.py)'
I went ahead and checked the plotly_resampler directory in site-packages and it is definitely lacking some of the python scripts that are in the current version of the package found on this github repo, specifically the figurewidget_resampler.py file.
I went ahead and checked the versions of the package available from conda with conda search plotly-resampler and this is the output:
It seems that the versions available are 0.8.3.2, however when I searched for version 8.3 on the github repo I saw information regarding FigureWidgetResampler which leads me to believe that this version should contain the necessary scripts for the FigureWidgetResampler.
So, I have two main questions following this:
Why would a version on conda not have all the functionality? Is this a specific build that someone made specifically for their work and then brought to the conda forge? I found a repo for plotly-resampler-feedstock in the conda forge repo (https://github.com/conda-forge/plotly-resampler-feedstock) and after giving it a quick read my idea is that someone made a particular version for plotly-resampler that only had the scripts they wanted?
My second question is, would it be possible for there to be an updated version of the package on conda-forge that has all the functionality? I contemplated just copying the contents of the github repo into my local plotly_resampler file in site-packages, but i'm not sure that would help me very much since I want conda to be doing a lot of the dependency work automatically. Will I need to learn conda-smithy and push my own version of site-packages to conda-forge? Is this something that the authors of this program do from time to time and so I just need to wait for the newest version to drop?
Any and all help is appreciated, and if you cannot tell I am an absolute novice when it comes to programming so apologies if these are all bad questions!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey everyone,
I have been trying to set up a conda environment for running python programs that utilize some of the features from plotly_resampler, specifically the FigureWidgetResampler.
The error that I get is 'ImportError: cannot import name 'FigureWidgetResampler' from 'plotly_resampler' (c:\Users\danie\anaconda3\envs\epgML\Lib\site-packages\plotly_resampler_init_.py)'
I went ahead and checked the plotly_resampler directory in site-packages and it is definitely lacking some of the python scripts that are in the current version of the package found on this github repo, specifically the figurewidget_resampler.py file.
I went ahead and checked the versions of the package available from conda with
conda search plotly-resampler
and this is the output:Loading channels: done
Name Version Build Channel
plotly-resampler 0.8.3.2 py310h9128911_0 pkgs/main
plotly-resampler 0.8.3.2 py310h9128911_1 pkgs/main
plotly-resampler 0.8.3.2 py310h9128911_3 pkgs/main
plotly-resampler 0.8.3.2 py311hd7041d2_0 pkgs/main
plotly-resampler 0.8.3.2 py311hd7041d2_1 pkgs/main
plotly-resampler 0.8.3.2 py311hd7041d2_3 pkgs/main
plotly-resampler 0.8.3.2 py312he558020_3 pkgs/main
plotly-resampler 0.8.3.2 py38h080aedc_0 pkgs/main
plotly-resampler 0.8.3.2 py38h9128911_1 pkgs/main
plotly-resampler 0.8.3.2 py38h9128911_3 pkgs/main
plotly-resampler 0.8.3.2 py39h080aedc_0 pkgs/main
plotly-resampler 0.8.3.2 py39h9128911_1 pkgs/main
plotly-resampler 0.8.3.2 py39h9128911_3 pkgs/main
It seems that the versions available are 0.8.3.2, however when I searched for version 8.3 on the github repo I saw information regarding FigureWidgetResampler which leads me to believe that this version should contain the necessary scripts for the FigureWidgetResampler.
So, I have two main questions following this:
Why would a version on conda not have all the functionality? Is this a specific build that someone made specifically for their work and then brought to the conda forge? I found a repo for plotly-resampler-feedstock in the conda forge repo (https://github.com/conda-forge/plotly-resampler-feedstock) and after giving it a quick read my idea is that someone made a particular version for plotly-resampler that only had the scripts they wanted?
My second question is, would it be possible for there to be an updated version of the package on conda-forge that has all the functionality? I contemplated just copying the contents of the github repo into my local plotly_resampler file in site-packages, but i'm not sure that would help me very much since I want conda to be doing a lot of the dependency work automatically. Will I need to learn conda-smithy and push my own version of site-packages to conda-forge? Is this something that the authors of this program do from time to time and so I just need to wait for the newest version to drop?
Any and all help is appreciated, and if you cannot tell I am an absolute novice when it comes to programming so apologies if these are all bad questions!
Beta Was this translation helpful? Give feedback.
All reactions