-
-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not working on mac/windows #140
Comments
Hi @byteface , Thank you for reporting the errors and apologies for the late response. Windows error is evident and I will fix try to fix this in the latest release. However, it is installing fine on my mac. Can you list your python version, pip version and osx version? |
Sure, python 3.10 with latest pip. (Just tried with upgraded pip. still no luck) tbf it's a 18mnth old mac on catalina.(2 versions back) but that OS is still under 13 months since it was officially replaced. |
@byteface , is your mac an intel mac or an apple silicon mac? |
@byteface , I was able to replicate your issue. You can fix the mac issue by upgrading your pip in your venv. |
I think the wheel file it's downloading on mac doesn't have the prebuild rust binaries it should. |
@myers , I think I've made a change in the latest versions(not released yet.) Can you please try I just want to check if it works that way. |
pip was already latest. installing latest robyn still missing the binaries even with setuptools/wheel. |
then I tried to install robyn but same thing and it said it was using a cached wheel. I found that *whl file and deleted and did this:
I tried to run a simple server, no luck
Upgraded pip as it suggested and then reinstalled robyn
different but still same error if I try and run example (same error as above) |
i tried on all 3 platforms with/without venv. only seems to work on linux.
mac error:
...robyntest/venv/lib/python3.10/site-packages/robyn/init.py", line 9, in
from .robyn import Server, SocketHeld
ModuleNotFoundError: No module named 'robyn.robyn'
one difference i noticed is the linux one has a .so file where the mac does not. neither does the windows but that error is
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\pickle.py", line 578, in save
rv = reduce(self.proto)
TypeError: cannot pickle 'builtins.SocketHeld' object
.........testrobyn>Traceback (most recent call last):
File "", line 1, in
......\venv\lib\site-packages\multiprocess\spawn.py", line 102, in spawn_main
source_process = _winapi.OpenProcess(
OSError: [WinError 87] The parameter is incorrect
The text was updated successfully, but these errors were encountered: