-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Building wheels for collected packages: python-javabridge, future, umap-learn, session-info
Building wheel for python-javabridge (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [46 lines of output]
D:\Anaconda\envs\pytorch1_9\lib\site-packages\setuptools_init_.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-38
creating build\lib.win-amd64-cpython-38\javabridge
copying javabridge\jutil.py -> build\lib.win-amd64-cpython-38\javabridge
copying javabridge\locate.py -> build\lib.win-amd64-cpython-38\javabridge
copying javabridge\noseplugin.py -> build\lib.win-amd64-cpython-38\javabridge
copying javabridge\wrappers.py -> build\lib.win-amd64-cpython-38\javabridge
copying javabridge\__init__.py -> build\lib.win-amd64-cpython-38\javabridge
creating build\lib.win-amd64-cpython-38\javabridge\tests
copying javabridge\tests\test_cpython.py -> build\lib.win-amd64-cpython-38\javabridge\tests
copying javabridge\tests\test_javabridge.py -> build\lib.win-amd64-cpython-38\javabridge\tests
copying javabridge\tests\test_jutil.py -> build\lib.win-amd64-cpython-38\javabridge\tests
copying javabridge\tests\test_wrappers.py -> build\lib.win-amd64-cpython-38\javabridge\tests
copying javabridge\tests\__init__.py -> build\lib.win-amd64-cpython-38\javabridge\tests
creating build\lib.win-amd64-cpython-38\javabridge\jars
copying javabridge\jars\cpython.jar -> build\lib.win-amd64-cpython-38\javabridge\jars
copying javabridge\jars\rhino-1.7R4.jar -> build\lib.win-amd64-cpython-38\javabridge\jars
copying javabridge\jars\runnablequeue.jar -> build\lib.win-amd64-cpython-38\javabridge\jars
copying javabridge\jars\test.jar -> build\lib.win-amd64-cpython-38\javabridge\jars
running build_ext
D:\Java\bin\javac.exe -source 8 -target 8 C:\Users\ZAH\AppData\Local\Temp\pip-install-ooh64xup\python-javabridge_f554d02ab6e741289b262302fe200590\java\org\cellprofiler\runnablequeue\RunnableQueue.java
警告: [options] 未与 -source 8 一起设置引导类路径
1 个警告
D:\Java\bin\javac.exe -source 8 -target 8 C:\Users\ZAH\AppData\Local\Temp\pip-install-ooh64xup\python-javabridge_f554d02ab6e741289b262302fe200590\java\org\cellprofiler\javabridge\test\RealRect.java
警告: [options] 未与 -source 8 一起设置引导类路径
1 个警告
D:\Java\bin\javac.exe -source 8 -target 8 C:\Users\ZAH\AppData\Local\Temp\pip-install-ooh64xup\python-javabridge_f554d02ab6e741289b262302fe200590\java\org\cellprofiler\javabridge\CPython.java C:\Users\ZAH\AppData\Local\Temp\pip-install-ooh64xup\python-javabridge_f554d02ab6e741289b262302fe200590\java\org\cellprofiler\javabridge\CPythonInvocationHandler.java
警告: [options] 未与 -source 8 一起设置引导类路径
注: C:\Users\ZAH\AppData\Local\Temp\pip-install-ooh64xup\python-javabridge_f554d02ab6e741289b262302fe200590\java\org\cellprofiler\javabridge\CPythonInvocationHandler.java使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
1 个警告
building 'javabridge._javabridge' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-javabridge
Running setup.py clean for python-javabridge
Building wheel for future (setup.py) ... done
Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492054 sha256=2fbea982f5762af0a619b73eceb0a32ff52844f2b4d8aa6af089e612ea5875f8
Stored in directory: c:\users\zah\appdata\local\pip\cache\wheels\70\bd\fa\9f18baf78773526a3f6c9d46f27e09ffd7084a2e2f92825b3b
Building wheel for umap-learn (setup.py) ... done
Created wheel for umap-learn: filename=umap_learn-0.5.5-py3-none-any.whl size=86926 sha256=2aed75ab7f701f6d85a54740ef5959d8ee4281f5abfae3953cc21e5126651090
Stored in directory: c:\users\zah\appdata\local\pip\cache\wheels\e6\0c\a0\308f39476e340026d2b9aa83279d249048c86c4de5eaa97b56
Building wheel for session-info (setup.py) ... done
Created wheel for session-info: filename=session_info-1.0.0-py3-none-any.whl size=8074 sha256=7dcd914873aadc651d666119c8848a251af45490991698a989da282f6873419b
Stored in directory: c:\users\zah\appdata\local\pip\cache\wheels\31\6e\8a\04676ca5f183c92d91881219c1997ae9087b79aad3195dfdd6
Successfully built future umap-learn session-info
Failed to build python-javabridge
ERROR: Could not build wheels for python-javabridge, which is required to install pyproject.toml-based projects
when i install pathml in windows, but i get above bug? can you tell me how to slove it, thx!!!