The dependency "numpy" is either not available on this platform or for this version of Sublime Text
Closed this issue · 7 comments
The dependency "numpy" is either not available on this platform or for this version of Sublime Text
The problem about this is, the message box popping every time you restart Sublime Text:
Every time you open Sublime Text, this is showed on the console:
Package Control: Using cached content for https://api.github.com/repos/math2001/FileManager/commits?sha=master&per_page=1 from D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Packages\User\Package Control.cache\1baed789e70a709c4915efe4ace1fb8f
Package Control: The dependency "numpy" is either not available on this platform or for this version of Sublime Text
Package Control: Installed missing dependency numpy
Package Control: Skipping automatic upgrade, last run at 2016-11-26 23:31:46, next run at 2016-11-27 00:31:46 or after
error: Package Control
1 missing dependency was just installed. Sublime Text should be restarted, otherwise one or more of the installed packages may not function properly.
And the message box just above keeps popping up.
Expected behavior
If some package is unavailable, do not keep up popping a notice box every time you open Sublime Text, saying the dependency was installed, while actually the dependency is not installed, neither available.
How to reproduce the Issue
- To install the package https://packagecontrol.io/packages/Advanced%20CSV
- Restart you Sublime Text.
"debug": true,
full_log.txt
Sublime Text Build 3126
Windows 10
Package Control Version 3.2.1
Originally reported on:
Hi @evandrocoan. Looks like the ST3 repository for numpy at https://github.com/komsit37/sublime-numpy/issues does not provide a Win32 version. Switching to the x64 version of Sublime Text should resolve the issue. I'll leave this ticket open to see if I can make fail gracefully, since the dependency is optional.
Hi, @wadetb. I think the big problem is on package control, which should know when stop trying to install dependencies not existents. But hey, :( there is not x86 dependencies? My system is x64, just Sublime Text is x86.
I agree that it is a package control issue.
One option would be to release a no-NumPy version of this extension, falling back to tinynumpy.
But that seems too heavy-handed.
Did you succeed in installing the x64 version of ST3?
I do not tried, I removed the package, for now I am not using.
This package can just check whether the Sublime Text version is x86 then do not registry the dependency for Numpy?
Packages can specify to only install dependencis on certain platforms.
It's not mentioned in the example file but is performed in the source.
Excellent, thank you @FichteFoll.