ballaerospace / python-cosmosc2 Goto Github PK
View Code? Open in Web Editor NEWPython Support for Ball Aerospace COSMOS v5
Python Support for Ball Aerospace COSMOS v5
python-cosmosc2 appears to work as expected with Python 3.9, but no longer works with Python 3.10. I realize this repo is probably no longer active, but perhaps someone more familiar with AsyncIO than me has an easy solution.
2022-11-18 16:01:16,553 ERROR root As of 3.10, the *loop* parameter was removed from Event() since it is no longer necessary
Traceback (most recent call last):
File "/Users/xxx/python-cosmosc2/examples/cosmos_v5_stream_example.py", line 107, in <module>
main()
File "/Users/xxx/python-cosmosc2/examples/cosmos_v5_stream_example.py", line 99, in main
data = api.get()
File "/Users/xxx/python-cosmosc2/cosmosc2/stream_api/data_extractor_client.py", line 141, in get
stream = CosmosAsyncStream()
File "/Users/xxx/python-cosmosc2/cosmosc2/stream.py", line 57, in __init__
self._stop_event = asyncio.Event(loop=self._loop)
File "/usr/local/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/locks.py", line 168, in __init__
super().__init__(loop=loop)
File "/usr/local/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/mixins.py", line 17, in __init__
raise TypeError(
TypeError: As of 3.10, the *loop* parameter was removed from Event() since it is no longer necessary
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.