Repository navigation
Installation error #9
heiner1976
started this conversation in
General
Replies: 1 comment 2 replies
|
Hey, sorry but your Python is far too old, as the error message also mentions. You are running Python 3.5, I would recommend running at least Python 3.8 👍 |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
hi ben,
thanks for the project!
i got some error during the installation process.
Hopefully you can help me ?
the way i try to install it in a phython3 virtual enviroment:
1.git clone https://github.com/benleb/surepy.git
-> works fine
2. python3 -m venv surepy
-> works
3. start virtual enviroment " source /opt/surepy/bin/activate
-> works
4. python3 setup.py install
--> error :
Installed /opt/surepy/lib/python3.5/site-packages/async_timeout-3.0.1-py3.5.egg
Searching for aiohttp[speedups]==3.*,>=3.6.3
Reading https://pypi.python.org/simple/aiohttp/
Downloading https://files.pythonhosted.org/packages/68/96/40a765d7d68028c5a6d169b2747ea3f4828ec91a358a63818d468380521c/aiohttp-3.7.3.tar.gz#sha256=9c1a81af067e72261c9cbe33ea792893e83bc6aa987bfbd6fdc1e5e7b22777c4
Best match: aiohttp 3.7.3
Processing aiohttp-3.7.3.tar.gz
Writing /tmp/easy_install-cjw9kdqh/aiohttp-3.7.3/setup.cfg
Running aiohttp-3.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-cjw9kdqh/aiohttp-3.7.3/egg-dist-tmp-051zye1i
Traceback (most recent call last):
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
yield saved
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
yield
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
return func()
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
_execfile(setup_script, ns)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-cjw9kdqh/aiohttp-3.7.3/setup.py", line 10, in
from distutils.core import setup
RuntimeError: aiohttp 3.7+ requires Python 3.6+
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 63, in
"sphinxcontrib-napoleon==0.*,>=0.7.0"
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 436, in run
self.easy_install(spec, not self.no_deps)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 680, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 727, in install_item
self.process_distribution(spec, dist, deps)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 772, in process_distribution
[requirement], self.local_index, self.easy_install
File "/opt/surepy/lib/python3.5/site-packages/pkg_resources/init.py", line 846, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/opt/surepy/lib/python3.5/site-packages/pkg_resources/init.py", line 1118, in best_match
return self.obtain(req, installer)
File "/opt/surepy/lib/python3.5/site-packages/pkg_resources/init.py", line 1130, in obtain
return installer(requirement)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 699, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 725, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 906, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1145, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1131, in run_setup
run_setup(setup_script, args)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 258, in run_setup
raise
File "/usr/lib/python3.5/contextlib.py", line 77, in exit
self.gen.throw(type, value, traceback)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
yield
File "/usr/lib/python3.5/contextlib.py", line 77, in exit
self.gen.throw(type, value, traceback)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 169, in save_modules
saved_exc.resume()
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 144, in resume
six.reraise(type, exc, self._tb)
File "/opt/surepy/lib/python3.5/site-packages/pkg_resources/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
yield saved
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
yield
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
return func()
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
_execfile(setup_script, ns)
File "/opt/surepy/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-cjw9kdqh/aiohttp-3.7.3/setup.py", line 10, in
from distutils.core import setup
RuntimeError: aiohttp 3.7+ requires Python 3.6+
All reactions