Comments (6)
1, Modify setup.py line 32 'aiohttp>=2.2.5,<3', to 'aiohttp>=2.2.5,<4',
2, pip install --upgrade aiohttp
from twtxt.
same here on arch linux.
$ uname -sr
Linux 5.15.2-zen1-1-zen
$ which python
/usr/bin/python
$ /usr/bin/python -V
Python 3.9.7
from twtxt.
λ twtxt quickstart
Traceback (most recent call last):
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\Scripts\twtxt.exe\__main__.py", line 4, in <module>
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\lib\site-packages\twtxt\cli.py", line 29, in <module>
from twtxt.twhttp import get_remote_tweets, get_remote_status
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\lib\site-packages\twtxt\twhttp.py", line 17, in <module>
import aiohttp
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\lib\site-packages\aiohttp\__init__.py", line 6, in <module>
from .client import * # noqa
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\lib\site-packages\aiohttp\client.py", line 15, in <module>
from . import connector as connector_mod
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\lib\site-packages\aiohttp\connector.py", line 12, in <module>
from . import hdrs, helpers
File "C:\Users\alico\AppData\Local\Programs\Python\Python310\lib\site-packages\aiohttp\helpers.py", line 742, in <module>
class CeilTimeout(Timeout):
TypeError: function() argument 'code' must be code, not str
Error I got on Windows 10
from twtxt.
Also getting the same error as @dertuxmalwieder:
# pip install --user twtxt
$ twtxt quickstart
Traceback (most recent call last):
File "/home/alex/.local/bin/twtxt", line 5, in <module>
from twtxt.cli import main
File "/home/alex/.local/lib/python3.10/site-packages/twtxt/cli.py", line 29, in <module>
from twtxt.twhttp import get_remote_tweets, get_remote_status
File "/home/alex/.local/lib/python3.10/site-packages/twtxt/twhttp.py", line 17, in <module>
import aiohttp
File "/home/alex/.local/lib/python3.10/site-packages/aiohttp/__init__.py", line 6, in <module>
from .client import * # noqa
File "/home/alex/.local/lib/python3.10/site-packages/aiohttp/client.py", line 15, in <module>
from . import connector as connector_mod
File "/home/alex/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 12, in <module>
from . import hdrs, helpers
File "/home/alex/.local/lib/python3.10/site-packages/aiohttp/helpers.py", line 742, in <module>
class CeilTimeout(Timeout):
TypeError: function() argument 'code' must be code, not str
Environment:
$ uname -sr
Linux 5.17.1-arch1-1
$ which python3
/usr/sbin/python3
$ python3 -V
Python 3.10.4
from twtxt.
Same error !
Traceback (most recent call last):
File "/home/truc/.local/bin/twtxt", line 5, in <module>
from twtxt.cli import main
File "/home/truc/.local/lib/python3.10/site-packages/twtxt/cli.py", line 29, in <module>
from twtxt.twhttp import get_remote_tweets, get_remote_status
File "/home/truc/.local/lib/python3.10/site-packages/twtxt/twhttp.py", line 17, in <module>
import aiohttp
File "/home/truc/.local/lib/python3.10/site-packages/aiohttp/__init__.py", line 6, in <module>
from .client import * # noqa
File "/home/truc/.local/lib/python3.10/site-packages/aiohttp/client.py", line 15, in <module>
from . import connector as connector_mod
File "/home/truc/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 12, in <module>
from . import hdrs, helpers
File "/home/truc/.local/lib/python3.10/site-packages/aiohttp/helpers.py", line 742, in <module>
class CeilTimeout(Timeout):
TypeError: function() argument 'code' must be code, not str
Environment:
Linux 5.15.36_1
/bin/python3
Python 3.10.4
from twtxt.
Same on Fedora 36
Traceback (most recent call last):
File "/home/ferry/.local/bin//twtxt", line 5, in <module>
from twtxt.cli import main
File "/home/ferry/.local/lib/python3.10/site-packages/twtxt/cli.py", line 29, in <module>
from twtxt.twhttp import get_remote_tweets, get_remote_status
File "/home/ferry/.local/lib/python3.10/site-packages/twtxt/twhttp.py", line 17, in <module>
import aiohttp
File "/home/ferry/.local/lib/python3.10/site-packages/aiohttp/__init__.py", line 6, in <module>
from .client import * # noqa
File "/home/ferry/.local/lib/python3.10/site-packages/aiohttp/client.py", line 15, in <module>
from . import connector as connector_mod
File "/home/ferry/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 12, in <module>
from . import hdrs, helpers
File "/home/ferry/.local/lib/python3.10/site-packages/aiohttp/helpers.py", line 742, in <module>
class CeilTimeout(Timeout):
TypeError: function() argument 'code' must be code, not str
Environment:
Linux 5.19.9-200.fc36.x86_64
Python 3.10.6
from twtxt.
Related Issues (20)
- aiohttp incompatibility: unexpected keyword argument ‘conn_timeout’ HOT 2
- Got an unexpected keyword argument 'conn_timeout' HOT 1
- `twtxt following` error exception not caught HOT 3
- Support webfinger
- Python 3.7.0 incompatibility
- Missing argument in cache when using `twtxt unfollow`
- suggestion twtxt view without source HOT 1
- "User-Agent:" shows up as part of the user agent in logs HOT 1
- AUR package no longer working HOT 3
- The TLS certificate for https://registry.twtxt.org/ expired in 2018 HOT 4
- Suggestion: a convention for multiline statuses (line breaks) HOT 18
- add gemini protocol support HOT 1
- Incompatibilty with python 3.9+ HOT 3
- Type error: Use async with instead
- Can't install twtxt HOT 1
- Doesn’t work with Python 3.11 HOT 1
- Development environment pollution / using contained venvs
- Manually changing a nick will will not be noticed by the cache
- Responsible & Private vulnerability disclosure HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twtxt.