Skip to content
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

Wordial Task 1 Command #553

Open
StefanoFormicola opened this issue May 5, 2023 · 2 comments
Open

Wordial Task 1 Command #553

StefanoFormicola opened this issue May 5, 2023 · 2 comments

Comments

@StefanoFormicola
Copy link

When I run the command
python3 -m doctest wardial.py

I get the following error message:
ModuleNotFoundError: No module named 'aiohttp'

I try to bypass this by running:

pip install aiohttp

But get the error:

aiohttp requires Python '>=3.4.2' but the running Python is 2.7.17

How do I fix this so I can test my wordial implementation??

@luisgomez214
Copy link

Try “pip3 install aiohttp”

@StefanoFormicola
Copy link
Author

StefanoFormicola commented May 5, 2023

Thank you!

If anyone needs this in the future, tip after you try

pip3 install aiohttp

You will get the following error:

Collecting aiohttp
Using cached https://files.pythonhosted.org/packages/c2/fd/1ff4da09ca29d8933fda3f3514980357e25419ce5e0f689041edb8f17dab/aiohttp-3.8.4.tar.gz
Complete output from command python setup.py egg_info:
*********************
* Accelerated build *
*********************
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-g9mia26t/aiohttp/setup.py", line 54, in
setup(**setup_kwargs)
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 121, in setup
dist.parse_config_files()
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 494, in parse_config_files
ignore_option_errors=ignore_option_errors)
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 106, in parse_configuration
meta.parse()
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 382, in parse
section_parser_method(section_options)
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 355, in parse_section
self[name] = value
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 173, in setitem
value = parser(value)
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 430, in _parse_version
version = self._parse_attr(value)
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 305, in _parse_attr
module = import_module(module_name)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/tmp/pip-build-g9mia26t/aiohttp/aiohttp/init.py", line 5, in
from . import hdrs as hdrs
File "/tmp/pip-build-g9mia26t/aiohttp/aiohttp/hdrs.py", line 8, in
from multidict import istr
ModuleNotFoundError: No module named 'multidict'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-g9mia26t/aiohttp/

Looking at the ModuleNotFound error proceed to install 'multidict'

pip3 install multidict

Run the install for aiohttp again and a similar message with another module will appear, install missing the modules until it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants