lux
lux copied to clipboard
[BUG] ModuleNotFoundError: No module named 'fcntl'
When trying to install the package via pip install lux-api
the following error occurs:
ERROR: Command errored out with exit status 1:
command: 'c:\code\eda_research\venv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\I574778\\AppData\\Local\\Temp\\pip-install-3uvkz52y\\sh\\setup.py'"'"'; __file__='"'"'C:\\Users\\I574778\\AppData\\Local\\Temp\\pip-install-3uvkz52y\\sh\\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\I574778\AppData\Local\Temp\pip-pip-egg-info-arz193lv'
cwd: C:\Users\I574778\AppData\Local\Temp\pip-install-3uvkz52y\sh\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\I574778\AppData\Local\Temp\pip-install-3uvkz52y\sh\setup.py", line 5, in <module>
import sh
File "C:\Users\I574778\AppData\Local\Temp\pip-install-3uvkz52y\sh\sh.py", line 37, in <module>
import fcntl
ModuleNotFoundError: No module named 'fcntl'
I'm using Python==3.8.9
.
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
ร python setup.py egg_info did not run successfully.
โ exit code: 1
โฐโ> [8 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\<windows_user>\AppData\Local\Temp\pip-install-neq3f8qo\sh_36306239465a4240a3b21385a74af710\setup.py", line 5, in <module>
import sh
File "C:\Users\<windows_user>\AppData\Local\Temp\pip-install-neq3f8qo\sh_36306239465a4240a3b21385a74af710\sh.py", line 37, in <module>
import fcntl
ModuleNotFoundError: No module named 'fcntl'
[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'm facing the same issue on Windows 10.
same problem here
same problem here
Unfortunately the same issue: import sh
import fcntl
ModuleNotFoundError: No module named 'fcntl'
Same
No solutions here? I have the same issue
This problem is solved in Python 3.11 fcntl โ The fcntl and ioctl system calls โ Python 3.11.1 documentation https://docs.python.org/3/library/fcntl.html
On Thu, Feb 2, 2023 at 3:53 PM OmbrettaBistoni @.***> wrote:
No solutions here? I have the same issue
โ Reply to this email directly, view it on GitHub https://github.com/lux-org/lux/issues/483#issuecomment-1413783284, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU2R2ZBKC3COIDR6PVIOBDLWVO37FANCNFSM57A2PCVA . You are receiving this because you commented.Message ID: @.***>
@dekristi not working for me, even with python 3.11. I have Windows 10
I think it's still Windows problem. Some use Docker to install a package ModuleNotFoundError: No module named 'fcntl' ยท Issue #1414 ยท doccano/doccano (github.com) https://github.com/doccano/doccano/issues/1414 you can try it!
On Fri, Feb 3, 2023 at 10:37 AM OmbrettaBistoni @.***> wrote:
@dekristi https://github.com/dekristi not working for me, even with python 3.11. I have Windows 10
โ Reply to this email directly, view it on GitHub https://github.com/lux-org/lux/issues/483#issuecomment-1415354107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU2R2ZEFZXRNCX2O4EVWU53WVS7TTANCNFSM57A2PCVA . You are receiving this because you were mentioned.Message ID: @.***>
I'm having the same issue, and can't install lux on a Windows 11 computer. So lux just can't be installed on Windows? Suggestions welcomed (I don't use Docker).