I followed the above discussions but still i am getting error
`====================================================================
ERROR: test_unix (unittest.loader._FailedTest)
ImportError: Failed to import test module: test_unix
Traceback (most recent call last):
File "/usr/local/lib/python3.7/unittest/loader.py", line 436, in find_test_path
module = self.get_module_from_name(name)
File "/usr/local/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
import(name)
File "/usr/home/digibazaar/uvloop/tests/test_unix.py", line 10, in <module> from uvloop import _testbase as tb
File "/usr/home/digibazaar/uvloop/uvloop/init.py", line 9, in <module>
from .loop import Loop as __BaseLoop # NOQA
ModuleNotFoundError: No module named 'uvloop.loop'
Ran 22 tests in 0.028s
FAILED (errors=20, skipped=2)
*** Error code 1
Stop.
make: stopped in /usr/home/digibazaar/uvloop
(uvloop-dev) [digibazaar@s3]:<~/uvloop>$ make
rm -fr dist/ doc/build/ .egg-info uvloop/loop..pyd
rm -fr uvloop/.c uvloop/.html uvloop/.so
rm -fr uvloop/handles/.html uvloop/includes/.html
find . -name 'pycache' | xargs rm -rf
python setup.py build_ext --inplace --cython-always
Traceback (most recent call last):
File "setup.py", line 5, in <module>
raise RuntimeError('uvloop requires Python 3.8 or greater')
RuntimeError: uvloop requires Python 3.8 or greater
*** Error code 1
Stop.
make: stopped in /usr/home/digibazaar/uvloop
(uvloop-dev) [digibazaar@s3]:<~/uvloop>$ cpuset -l 0 pip install -e .[dev]
Defaulting to user installation because normal site-packages is not writeableObtaining file:///usr/home/digibazaar/uvloop
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
WARNING: uvloop 0.19.0 does not provide the extra 'dev'
Building wheels for collected packages: uvloop
Building editable for uvloop (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for uvloop (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [77 lines of output]
running editable_wheel
creating /tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop.egg-info
writing /tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop.egg-info/dependency_links.txt
writing requirements to /tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop.egg-info/requires.txt
writing top-level names to /tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop.egg-info/top_level.txt
writing manifest file '/tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '' found under directory 'vendor/libuv/.git'
adding license file 'LICENSE-APACHE'
adding license file 'LICENSE-MIT'
writing manifest file '/tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop.egg-info/SOURCES.txt'
creating '/tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop-0.19.0.dist-info'
creating /tmp/pip-wheel-xy8d_nuc/.tmp-phvvzqv3/uvloop-0.19.0.dist-info/WHEEL
running build_py
running build_ext
Traceback (most recent call last):
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 155, in run
self.create_wheel_file(bdist_wheel)
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 357, in create_wheel_file
files, mapping = self.run_build_commands(dist_name, unpacked, lib, tmp)
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 280, in run_build_commands
self.run_build_subcommands()
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 307, in run_build_subcommands
self.run_command(name)
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 968, in run_command
super().run_command(command)
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 91, in run
_build_ext.run(self)
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
build_ext.build_ext.run(self)
File "/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "<string>", line 196, in build_extensions
File "<string>", line 175, in build_libuv
File "/usr/local/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/lib/python3.10/subprocess.py", line 971, in init self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.10/subprocess.py", line 1863, in execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: './configure'
/tmp/pip-build-env-f98lmmya/overlay/lib/python3.10/site-packages/setuptools/distutils/dist.py:988: _DebuggingTips: Problem in editable installation.
!!
An error happened while installing uvloop
in editable mode.
The following steps are recommended to help debug this problem:
- Try to install the project normally, without using the editable mode.
Does the error still persist?
(If it does, try fixing the problem before attempting the editable mode).
- If you are using binary extensions, make sure you have all OS-level
dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
- Try the latest version of setuptools (maybe the error was already fixed).
- If you (or your project dependencies) are using any setuptools extension
or customization, make sure they support the editable mode.
After following the steps above, if the problem still persists
and
you think this is related to how setuptools handles editable installations,
please submit a reproducible example
(see https://stackoverflow.com/help/minimal-reproducible-example) to:
https://github.com/pypa/setuptools/issues
See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
!!
cmd_obj.run()
error: [Errno 13] Permission denied: './configure'
[end of output]
note: This error originates from a subprocess, and is likely not a problem
with pip.
ERROR: Failed building editable for uvloop
Failed to build uvloop
ERROR: Could not build wheels for uvloop, which is required to install pyproject.toml-based projects`