Skip to content

Cannot install pyequion2 with python 3.9 #1

@yuegengma

Description

@yuegengma

Trying to install this package on my PC (Windows 10 conda environment), but failed with the following issue

(base) C:\Users\myg\Desktop>pip3 install pyequion2-0.0.6.3.tar.gz
Processing c:\users\myg\desktop\pyequion2-0.0.6.3.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: 'D:\Anaconda\python.exe' 'D:\Anaconda\lib\site-packages\pip_vendor\pep517_in_process.py' get_requires_for_build_wheel 'C:\Users\myg\AppData\Local\Temp\tmpimzz5uo_'
cwd: C:\Users\myg\AppData\Local\Temp\pip-req-build-yw7f2h7t
Complete output (63 lines):
running egg_info
writing pyequion2.egg-info\PKG-INFO
writing dependency_links to pyequion2.egg-info\dependency_links.txt
writing requirements to pyequion2.egg-info\requires.txt
writing top-level names to pyequion2.egg-info\top_level.txt
reading manifest file 'pyequion2.egg-info\SOURCES.txt'
setup.py:45: UserWarning: Could not install with cython module. Installing pure python
warnings.warn("Could not install with cython module. Installing pure python")
Traceback (most recent call last):
File "setup.py", line 26, in
setup(
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools_init_.py", line 86, in setup
install_setup_requires(attrs)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools_init
.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\build_meta.py", line 62, in fetch_build_eggs
raise SetupRequirementsError(specifier_list)
setuptools.build_meta.SetupRequirementsError: ['setuptools>=18.0', 'cython']

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Anaconda\lib\site-packages\pip_vendor\pep517_in_process.py", line 280, in
main()
File "D:\Anaconda\lib\site-packages\pip_vendor\pep517_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\Anaconda\lib\site-packages\pip_vendor\pep517_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\build_meta.py", line 177, in get_requires_for_build_wheel
return self._get_build_requires(
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\build_meta.py", line 159, in get_build_requires
self.run_setup()
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 46, in
setup(
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools_init
.py", line 87, in setup
return distutils.core.setup(**attrs)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools_distutils\core.py", line 177, in setup
return run_commands(dist)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools_distutils\core.py", line 193, in run_commands
dist.run_commands()
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 968, in run_commands
self.run_command(cmd)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command
super().run_command(command)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 308, in run
self.find_sources()
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 315, in find_sources
mm.run()
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 550, in run
self.add_defaults()
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 594, in add_defaults
self.read_manifest()
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\command\sdist.py", line 195, in read_manifest
self.filelist.append(line)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 492, in append
path = convert_path(item)
File "C:\Users\myg\AppData\Local\Temp\pip-build-env-y79raq4k\overlay\Lib\site-packages\setuptools_distutils\util.py", line 138, in convert_path
raise ValueError("path '%s' cannot be absolute" % pathname)
ValueError: path '/home/dfnaiff/Danilo/NIDF/Projects/PyEquion2/pyequion/pyequion2/activity/coo_tensor_ops/coo_tensor_ops.c' cannot be absolute

WARNING: Discarding file:///C:/Users/myg/Desktop/pyequion2-0.0.6.3.tar.gz. Command errored out with exit status 1: 'D:\Anaconda\python.exe' 'D:\Anaconda\lib\site-packages\pip_vendor\pep517_in_process.py' get_requires_for_build_wheel 'C:\Users\myg\AppData\Local\Temp\tmpimzz5uo_' Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'D:\Anaconda\python.exe' 'D:\Anaconda\lib\site-packages\pip_vendor\pep517_in_process.py' get_requires_for_build_wheel 'C:\Users\myg\AppData\Local\Temp\tmpimzz5uo_' Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions