ansicon icon indicating copy to clipboard operation
ansicon copied to clipboard

error: ANSICON: cmd.exe: unsupported process.

Open wuhlcom opened this issue 8 years ago • 3 comments

this error make can't use python pip。how to uninstall ansicon ?

E:\chromeDownload\pcapy-0.10.9\pcapy-0.10.9>pyt
running install
running bdist_egg
running egg_info
writing pcapy.egg-info\PKG-INFO
writing top-level names to pcapy.egg-info\top_l
writing dependency_links to pcapy.egg-info\depe
reading manifest file 'pcapy.egg-info\SOURCES.t
reading manifest template 'MANIFEST.in'
writing manifest file 'pcapy.egg-info\SOURCES.t
installing library code to build\bdist.win-amd6
running install_lib
running build_ext
building 'pcapy' extension
error: ANSICON: cmd.exe: unsupported process.

wuhlcom avatar May 24 '16 10:05 wuhlcom

ansicon -u will uninstall ANSICON (if you can't even run Command Prompt any more, open the Run dialog and enter cmd /d).

adoxa avatar May 25 '16 00:05 adoxa

I have tried this,but it has no effect. operations: 1 ansicon -u 2 delete the files E:\Tools\ansi160 3 delete the path about ansicon,now the path: E:\Tools\ansi160\x64>path PATH=D:\Program Files\Wireshark;d:\Program Files\Sublime Text 3;C:\Ruby193\bin\chromedriver.exe;C:\Ruby193\bin\IEDriverServer.exe;C:\Ruby193\bin;C:\Python27\;C:\Python27\Scripts;C: \ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShe ll\v1.0\;D:\Program Files (x86)\Mozilla Firefox;D:\Program Files\TortoiseSVN\bin;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\1 30\Tools\Binn\;%APPDATA%\Python\Scripts

but these is info:

Microsoft Windows [版本 6.1.7601] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 系统找不到指定的路径。(this means:**Can't find the specified path**)

I think maybe solve the problem by modifing some value of the regedit,but I don't know where the value is.

wuhlcom avatar May 25 '16 01:05 wuhlcom

all right! I solve it by found the autorun and deleted its value HKEY_LOCAL_MACHINE->Software->Microsoft->Command Processsor->AutoRun->delete the value "(if %ANSICON_VER%==^%ANSICON_VER^% "E:\Tools\ansi166\x64\ansicon" -p)"

wuhlcom avatar May 25 '16 01:05 wuhlcom