fcntl ModuleNotFoundError
See original GitHub issueMachine=Windows 10
Pipenv file contents:
`[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
mypy = "*"
[packages]
alkali = "*"
fcntl = "*"
pytest = "*"
[requires]
python_version = "3.6"`
Script:
from alkali import Database, FileStorage, JSONStorage, Storage, Model, fields
class BaseErx(Model):
id = fields.IntField(primary_key=True)
cid = fields.StringField()
prod_name=fields.StringField()
pref_route=fields.ForeignKey(Route)
class Route(Model):
route = fields.StringField()
if __name__ == "__main__":
db = Database(models=[BaseErx, Route], storage = JSONStorage, save_on_exit=True)
route=Route(route='PO')
route.save()
db.store()
b = BaseErx(id=1, cid="C12345", prod_name="test", pref_route = route)
b.save()
db.store()`
```
Does it support Windows??
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Error: No module named 'fcntl' - python - Stack Overflow
The fcntl module is not available on Windows. The functionality it exposes does not exist on that platform. If you're trying to lock...
Read more >ModuleNotFoundError: No Module Named 'fcntl' (Python)
Did you get the ModuleNotFoundError: No Module Named 'fcntl' ? This short tutorial will show you some useful ways that can help you...
Read more >ModuleNotFoundError: No module named 'fcntl' #1414 - GitHub
How to reproduce the behaviour After downloading doccano and trying to start it via doccano init I get the following message: doccano init...
Read more >ModuleNotFoundError: No module named 'fcntl' - Django
Hi everyone, I'm currently taking the Django Part 3 course using Windows 10, and I came across this error when running the command...
Read more >How To Fix Python Error fcntl On Windows - YouTube
How To Fix Python Error fcntl On Windows [re-edit]This video show you how to Python fix Error fcntl on Windows, I use urwid...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No worries. In the past week two other GitHub people fixed my issues in their projects inside a day so I’ve got internet karma to pay back. 😉 I’ll so try to get a patch out to pypi today with a “real” (hacky) fix.
Almost for surely not! Why don’t you open another issue and describe what it does (how it’s different than a SetField) and then we can discuss it.