在Windows 10上使用 Python 3.5.3 。
我正在尝试安装 pyo 0.8.6 模块,但我根本无法安装。
首先,我尝试使用AJAX SOUND STUDIO pyo_0.8.6_py3.5_setup.exe提供的安装程序,但每次导入模块时都会给我下一个错误:
Traceback (most recent call last):
File "D:/OneDrive/Documents/Python/prubas/pyo test.py", line 1, in <module>
from pyo import *
File "C:\Users\Yooma\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pyo.py", line 21, in <module>
import pyolib.analysis as analysis
File "C:\Users\Yooma\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pyolib\analysis.py", line 32, in <module>
from ._core import *
File "C:\Users\Yooma\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pyolib\_core.py", line 57, in <module>
from _pyo import *
ImportError: DLL load failed: The specified module could not be found
然后我尝试安装Python 2.7 pyo版本而没有运气。
然后我尝试使用下一个命令admin {/ p>从source code安装它
D:\OneDrive\Documents\Python\Librerías\pyo-master> C:\Users\Yooma\AppData\Local\Programs\Python\Python35-32\python.exe setup.py install
并给了我下一个输出
running install
running build
running build_py
running build_ext
building '_pyo' extension
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -IC:\porta
udio\include -IC:\portmidi\pm_common -Iinclude "-IC:\Program Files (x86)\Mega-Nerd\libsndfile\include" -IC:\liblo-0.28 -IC:\pthreads\include -IC:\portmid
i\porttime -IC:\Users\Yooma\AppData\Local\Programs\Python\Python36-32\include -IC:\Users\Yooma\AppData\Local\Programs\Python\Python36-32\include "-IC:\Pr
ogram Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt" "-IC:\Program Files (x86)
\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\shared" "-IC:\Program Files (x86)\Windows Kits\10
\include\10.0.15063.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\winrt" /Tcsrc/engine\pyomodule.c /Fobuild\temp.win32-3.6\Release
\src/engine\pyomodule.obj -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0
cl : Command line error D8021 : invalid numeric argument '/Wno-strict-prototypes'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2
然后我尝试将 bin 文件夹更改为大写C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe
到C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe
而没有任何内容。 不要问为什么
然后我将Visual C ++ 2017(14.10)降级为Visual C ++ 2015(14.0)(MSC v.1900)不要问为什么
最后我尝试使用
在build_installers_win.bat目录中使用pyo-master\installers\winPS D:\> D:\OneDrive\Documents\Python\Librerías\pyo-master\installers\win\build_installers_win.bat
并给了我下一个输出
*** Build installer for python2.7 ***
"Compil32" is not recognized as an internal or external command, operable program or batch file.
*** Build installer for python3.5 ***
"Compil32" is not recognized as an internal or external command, operable program or batch file.
我完全迷失了。
ʰᵉˡᵖ