bokeh: bokeh=0.11.x conda release packages are broken
The latest version of conda (conda=4.2) introduces an explicit check for package integrity at link time. If a file cannot be linked, installation fails. This is the case with bokeh=0.11.1:
C:\Users\kalev> conda install bokeh=0.11
Fetching package metadata .............
The following packages will be UPDATED:
bokeh: 0.9.0-np19py27_0 <unknown> --> 0.11.1-py27_0 defaults
Fetching packages ...
Linking packages ...
CondaOSError: OS error: failed to link (src=u'C:\\ANACONDA\\pkgs\\bokeh-0.11.1-py27_0\\Scripts/bokeh-script.py-server', dst='C:\\ANACONDA\\Scripts/bokeh-script.py-server', type=1, error=CondaOSError: OS error: win32 hard
link failed
)
The problem is that Scripts/bokeh-script.py-server is not found in the release package, but it is listed in the package metadata (info/files). Could you please fix the package and push a new build? I know that bokeh=0.12 is the latest release, but unfortunately we cannot migrate to this version at the moment.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 30 (13 by maintainers)
The missing file is in there, but it’s named wrong. Go to
C:\Users\<>\.conda\envs\.pkgs\bokeh-0.11.1-py27_0\infoand edit the “files” manifest file in notepad to find/replace: Find: “bokeh-script.py-server” Replace: “bokeh-server-script.py” Then remove the environment in conda and create it again, it should work. (I just tried it)“The missing file is in there, but it’s named wrong. Go to C:\Users<>.conda\envs.pkgs\bokeh-0.11.1-py27_0\info and edit the “files” manifest file in notepad to find/replace: Find: “bokeh-script.py-server” Replace: “bokeh-server-script.py” Then remove the environment in conda and create it again, it should work. (I just tried it)” It works awesome. Many thanks.
Ok, I just fixed
win-32/bokeh-0.11.1-py27_0.tar.bz2(inplace), which for some reason had a wronginfo/fileslisting.The next release of Anaconda will have
0.12.4so this problem should roll off into history