Closed BryanWilhite closed 3 years ago
hey @BryanWilhite just downgrade to Python 3.7
do take this seriously:
Python supported version are 2.7, 3.5, 3.6 and 3.7.
I think the error is here in the setup.py if sys.platform == "win32": if "bdist_wheel" in sys.argv: data_files_dest = os.path.join("Lib", "site-packages", "pyo") else: data_files_dest = "pyo"
data_files_common_path = os.path.join("win64dlls", "win64_pyo_data_files_common")
it is not finding this path maybe something like this would be better:
dirname = os.path.dirname(file) data_files_common_path = os.path.join(dirname, "win64dlls", "win64_pyo_data_files_common")
Collecting pyo Using cached pyo-1.0.4.tar.gz (6.1 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
Similar problem with Python 3.10 on Windows. Was the fix proposed by @tvmaly applied?
>py -m pip install --user pyo
Collecting pyo
Using cached pyo-1.0.4.tar.gz (6.1 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\me\AppData\Local\Temp\pip-install-6dfei2vg\pyo_8cd029a21437480fbd44637937792377\setup.py", line 293, in <module>
for f in os.listdir(data_files_common_path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'win64dlls\\win64_pyo_data_files_common'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I was reading documentation of pyo 1.0.5 which says it supports Python up to 3.11 with the command py -m pip install --user pyo
. However pip only knows pyo up to version 1.0.4.
How can we install pyo 1.0.5 for Python 3.10?
Wheels for 1.0.5 are on test.pypi for testing right now. You can install with:
py -m pip install --user -i https://test.pypi.org/simple/ pyo
Installing
pyo
on Windows 10:Does
win64dlls\\win64_pyo_data_files_common
mean anything to you folks?