-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Long install time from windows. #1208
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
Comments
Thanks for the report. I've only tried the windows install on a VM so I wasn't sure what the real difference was. I'm wondering if it's related to compiling the In that issue @fcollonval reported that the conda install from our |
taking me forever to install on windows 10 with pip install dash, seems like plotly is taking up most of the time? |
Same in my case. Windows 10 and plotly taking forever to install. |
That does seem like a long time... did it eventually succeed? |
No I had to cancel it after 1 and 1/2 hours. |
I also experienced this on Windows 10, Python 3.6.10, and after ~5 minutes I canceled it. However, I didn't get any error messages & plotly at least appears to be working fine; perhaps it's getting hung somewhere? |
Same thing here. Using poetry on my mac, running |
It was probably an issue with my python installation. I reinstalled and now it takes about 5 mins. |
Same here, windows 10 and python 3.7.9. Waiting for plotly to install since more than 5 minutes. |
I am also having this issue. Is there a solve for this? |
Same issue on Windows 11 |
Same issue, stuck on Windows 11 |
plotly install/update is pretty slow on WSL too. Slower than all the other packages I use. Is there a good justification for it? |
Installation was getting stuck on Windows 11 for me as well, I aborted the installation and tried the following:
installed pretty much within 30 seconds. |
|
pip install dash is taking almost 30minutes here and it's still now done. |
We had a lot of Windows user reports for our library reporting installation times as very slow. After some investigation we found:
Takes around 7 seconds
Takes multiple minutes
With having Real-time protection disabled - takes ~20 seconds So it looks like it's an antivirus issue |
I love the plotly package - it does things that no other package does (offers a compact, stable JSON serialization of a plot that can be generated using the public API and passed around between program components and plotted with javascript). It has nearly 30000 files in the installed python package though, which is why the antivirus slows down installation (it is looking at each one). By comparison matplotlib has between 500 and 1000, depending on how it is installed. >26000 of the files in plotly are in the If there is a way to reduce the number of files, I'd be happy to help. This would cut down the installation time directly, particularly on Windows (though it affects the installation time on all platforms). Refactoring so that validators are grouped into larger files instead of a lot of small files could reduce the total file count by >80% |
@bmaranville help consolidating the validators would be very welcome. our next plotly.py release (6.1) reduces the bundle size using some other tricks, but there wasn't time to do what you're suggesting - if you have time to chat online this week or next I'd be happy to walk through options. cheers - @gvwilson |
When
pip install plotly
from a windows machine, it takes anywhere from a minute to 5 minutes. From linux it took no more than 10 seconds.The text was updated successfully, but these errors were encountered: