belangeo / pyo

Python DSP module
GNU Lesser General Public License v3.0
1.28k stars 130 forks source link

Error installing on Windows #213

Closed arm358 closed 3 years ago

arm358 commented 3 years ago

Python 3.9

Just installed Build Tools for C++ which solved some errors but getting more now:

Used command "pip install -U pyo" in command prompt which outputs the same error 4 times (I guess it's cycling through different versions?)

FileNotFoundError: [WinError 3] The system cannot find the path specified: 'win64dlls\win64_pyo_data_files_common' Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

At the end it shows:

ERROR: Could not find a version that satisfies the requirement pyo ERROR: No matching distribution found for pyo

What could I be doing wrong? Basically just following the one line install command in the documentation.

`C:\WINDOWS\system32>pip install -U pyo Collecting pyo Using cached pyo-1.0.3.tar.gz (5.2 MB) ERROR: Command errored out with exit status 1: command: 'C:\Users\andre\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_748c882a6b844b0e8f00689e5c18078f\setup.py'"'"'; file='"'"'C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_748c882a6b844b0e8f00689e5c18078f\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\andre\AppData\Local\Temp\pip-pip-egg-info-ip5t0hlz' cwd: C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_748c882a6b844b0e8f00689e5c18078f\ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_748c882a6b844b0e8f00689e5c18078f\setup.py", line 215, in [os.path.join(data_files_common_path, f) for f in os.listdir(data_files_common_path) if f.endswith(".dll")])] FileNotFoundError: [WinError 3] The system cannot find the path specified: 'win64dlls\win64_pyo_data_files_common'

WARNING: Discarding https://files.pythonhosted.org/packages/60/ea/e717ec9cef74dc4a26000b29b1cf8703e2871d9edaae189dc515d8e74910/pyo-1.0.3.tar.gz#sha256=f0d187a78e3ab9f10275853a22b6a08094aeed4e0c2adee8697734373aa8dd1f (from https://pypi.org/simple/pyo/) (requires-python:>=3.6, <4). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Using cached pyo-1.0.2.tar.gz (5.2 MB) ERROR: Command errored out with exit status 1: command: 'C:\Users\andre\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_6f44e9b5f52347f7a061376ff2b8f469\setup.py'"'"'; file='"'"'C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_6f44e9b5f52347f7a061376ff2b8f469\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\andre\AppData\Local\Temp\pip-pip-egg-info-gjx8ur0y' cwd: C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_6f44e9b5f52347f7a061376ff2b8f469\ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_6f44e9b5f52347f7a061376ff2b8f469\setup.py", line 215, in [os.path.join(data_files_common_path, f) for f in os.listdir(data_files_common_path) if f.endswith(".dll")])] FileNotFoundError: [WinError 3] The system cannot find the path specified: 'win64dlls\win64_pyo_data_files_common'

WARNING: Discarding https://files.pythonhosted.org/packages/4c/48/2b5ea0d2e52edbb3d440fbbf7992f52c9727b2c4117f11b6348abf51706b/pyo-1.0.2.tar.gz#sha256=cb716d2c38a02f3aafba2cb5a47af67d78433580f6536c57fd0883283d3bf64a (from https://pypi.org/simple/pyo/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3., !=3.4.*, <4). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Using cached pyo-1.0.1.tar.gz (5.2 MB) ERROR: Command errored out with exit status 1: command: 'C:\Users\andre\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_297d136d32f9499c8f7b30fcc203cc95\setup.py'"'"'; file='"'"'C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_297d136d32f9499c8f7b30fcc203cc95\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\andre\AppData\Local\Temp\pip-pip-egg-info-_cz_hr0g' cwd: C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_297d136d32f9499c8f7b30fcc203cc95\ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_297d136d32f9499c8f7b30fcc203cc95\setup.py", line 212, in [os.path.join(data_files_common_path, f) for f in os.listdir(data_files_common_path) if f.endswith(".dll")])] FileNotFoundError: [WinError 3] The system cannot find the path specified: 'win64dlls\win64_pyo_data_files_common'

WARNING: Discarding https://files.pythonhosted.org/packages/9c/f2/87f07599a2f107f02a9f7cf11599c5eecf37662356296e1236c17ec997f4/pyo-1.0.1.tar.gz#sha256=e85a3e9e4e17769c4178c907e6b8f01bc455fe0fa348b0ce64d5698ec7e82202 (from https://pypi.org/simple/pyo/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3., !=3.4.*, <4). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Using cached pyo-1.0.0.tar.gz (5.1 MB) ERROR: Command errored out with exit status 1: command: 'C:\Users\andre\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_3a396edce93045eb8e587263eff227f4\setup.py'"'"'; file='"'"'C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_3a396edce93045eb8e587263eff227f4\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\andre\AppData\Local\Temp\pip-pip-egg-info-2ervxcrm' cwd: C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_3a396edce93045eb8e587263eff227f4\ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\andre\AppData\Local\Temp\pip-install-u_nghrap\pyo_3a396edce93045eb8e587263eff227f4\setup.py", line 211, in [os.path.join(data_files_common_path, f) for f in os.listdir(data_files_common_path) if f.endswith(".dll")])] FileNotFoundError: [WinError 3] The system cannot find the path specified: 'win64dlls\win64_pyo_data_files_common'

WARNING: Discarding https://files.pythonhosted.org/packages/67/0f/2c3f9fb88effc62571c209525b5e84d1ec0b68611c916daa96ae8c84f43f/pyo-1.0.0.tar.gz#sha256=4ad45d32ae6ef5865762594223bddf0d6efa7e45657b899b16cda33ce328ebfd (from https://pypi.org/simple/pyo/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3., !=3.4.*, <4). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement pyo ERROR: No matching distribution found for pyo`

belangeo commented 3 years ago

Hi,

There is no wheel yet for python 3.9. Will be in the next release. Pyo depends on 3rd party libraries which are not part of the tarball.