[英]Installing Javabridge With Pip Error
I'm trying to install the microscoper library and I've gotten everything to work except its javabridge dependency which I have had trouble installing. 我正在尝试安装microscoper库,并且除它在安装时遇到的javabridge依赖之外,其他所有功能都可以使用。 Everytime I try to install javabridge on its own I get the following error message:
每次我尝试自行安装javabridge时,都会收到以下错误消息:
C:\>pip install javabridge
Collecting javabridge
Using cached javabridge-1.0.15.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\<My Username Abbrv>\AppData\Local\Temp\pip-build-s902jjra\javabridge\setup.py", line 393, in <module>
ext_modules=ext_modules(),
File "C:\Users\<My Username Abbrv>\AppData\Local\Temp\pip-build-s902jjra\javabridge\setup.py", line 114, in ext_modules
p = subprocess.Popen(cmd)
File "c:\users\<My Username>\appdata\local\programs\python\python36\lib\subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "c:\users\<My Username>\appdata\local\programs\python\python36\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\<My Username Abbrv>\AppData\Local\Temp\pip-build-s902jjra\javabridge\
If anyone had any advice on how I could fix this and install the javabridge dependency I would be greatly appreciative. 如果有人对如何解决此问题并安装javabridge依赖项有任何建议,我将不胜感激。
Try using these commands, this helped solve my problem for this error. 尝试使用这些命令,这有助于解决此错误的问题。
set MSSdk=1
set DISTUTILS_USE_SDK=1
pip install javabridge
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.