Hi
I tried to use easy_install milk and get following error:
Linux Environment:
<
easy_install milk
Searching for milk
Best match: milk 0.5.3
Processing milk-0.5.3.tar.gz
Running milk-0.5.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kyqpRI/milk-0.5.3/egg-dist-tmp-_8PYZn
error: SandboxViolation: open('/dev/null', 'w') {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand. Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
>
windows Environment;
easy_install.exe milk
Searching for milk
Best match: milk 0.5.3
Processing milk-0.5.3.tar.gz
Running milk-0.5.3\setup.py -q bdist_egg --dist-dir c:\users\117238\appdata\local\temp\easy_install-lpwfdj\milk-0.5.3\egg-dist-tmp-f8drdb
Missing compiler_cxx fix for MSVCCompiler
Found executable C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe
Found executable C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\link.exe
cl : Command line warning D9002 : ignoring unknown option '-std=c++0x'
_lasso.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
milk/supervised/_lasso.cpp(7) : fatal error C1083: Cannot open include file: 'random': No such file or directory
error: Setup script exited with error: Command "C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:
\Python27\lib\site-packages\numpy\core\include -IC:\Python27\include -IC:\Python
27\PC /Tpmilk/supervised/_lasso.cpp /Fobuild\temp.win-amd64-2.7\Release\milk/sup
ervised/_lasso.obj -std=c++0x /Zm1000 /Zm1000" failed with exit status 2
C:\Python27\lib\site-packages\numpy\distutils\misc_util.py:252: RuntimeWarning:
Parent module 'numpy.distutils' not found while handling absolute import
from numpy.distutils import log