Closed Prathmesh-puranik closed 4 months ago
Thank you for posting! This is a known issue, but we are sadly unable to deploy a fix atm.
You can try this instead: pip install pyboy==2.0.0 pillow cython<=3.0.9
Deployment is related to this issue on PyPI: https://github.com/pypi/support/issues/3757
Issue was solved, So I closed the issue.
On Tue, 9 Apr, 2024, 12:55 pm Mads Ynddal, @.***> wrote:
Reopened #321 https://github.com/Baekalfen/PyBoy/issues/321.
— Reply to this email directly, view it on GitHub https://github.com/Baekalfen/PyBoy/issues/321#event-12402335359, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHVUUPKJ7RWITUUW7C3QOX3Y4OJW5AVCNFSM6AAAAABF43PMV2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGQYDEMZTGUZTKOI . You are receiving this because you modified the open/close state.Message ID: @.***>
We have a work-around, but the issue still persist. I'll keep it open until it fixed
Issue was solved, So I closed the issue.
Could I get you to try the newest version? Just do pip install pyboy
FWIW I'm seeing the same on MacOS w/ python3.10.
Same here on a M2 pro, python 3.10 and MacOS Ventura. I can provide the full error trace if necessary.
@zachwarner @bpugnaire Thanks for reporting. I can see that prior to 3.11, we are not building Universal2 binaries for macOS. I'll see if there's any way to fix this. But for now, your best option is to upgrade Python to 3.11 or later.
@Baekalfen thank for the suggestion, the bump to 3.11 indeed fixes the issue
@bpugnaire Could you try with Python 3.10 again? I've deployed a fix for it now, so it should build locally
@Baekalfen I confirm that it seems to work fine on a python3.10 env
@Baekalfen I confirm that it seems to work fine on a python3.10 env
Awesome! Then we can close the issue
pip install pyboy Collecting pyboy Using cached pyboy-2.0.1.tar.gz (60 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [128 lines of output] running egg_info writing pyboy.egg-info\PKG-INFO writing dependency_links to pyboy.egg-info\dependency_links.txt writing entry points to pyboy.egg-info\entry_points.txt writing requirements to pyboy.egg-info\requires.txt writing top-level names to pyboy.egg-info\top_level.txt warning: pyboy\api\memory_scanner.pxd:10:26: noexcept clause is ignored for function returning Python object warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy__init.cython-30.pxd:245:34: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy__init.cython-30.pxd:257:28: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy__init.cython-30.pxd:263:35: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy__init.cython-30.pxd:271:37: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy__init.cython-30.pxd:278:33: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy__init__.cython-30.pxd:284:30: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy__init__.cython-30.pxd:968:31: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy\init__.cython-30.pxd:999:38: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy\init__.cython-30.pxd:1014:37: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy\init__.cython-30.pxd:1029:45: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy\init__.cython-30.pxd:1039:47: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: C:\Users\puran\AppData\Local\Temp\pip-build-env-k_hgj5xj\overlay\Lib\site-packages\numpy\init__.cython-30.pxd:1046:48: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: .\pyboy\core\cartridge\base_mbc.pxd:38:24: noexcept clause is ignored for function returning Python object
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.