0

I found this good but maybe outdated answer to my question: How to run easy_install in cygwin?, I went through the answers and ran the installer in order to get the python module setuptool. Yet after installation still

python -m easy_install

returns

ERROR: Could not find a version that satisfies the requirement easy_install (from versions: none) ERROR: No matching distribution found for easy_install

and the module setuptools, if checked with

dir(setuptools)

returns

['Command', 'Distribution', 'DistutilsOptionError', 'Extension', 'PEP420PackageFinder', 'PackageFinder', 'Require', 'SetuptoolsDeprecationWarning', '_Command', 'all', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'version', '_deprecation_warning', '_distutils_hack', '_find_all_simple', '_imp', '_install_setup_requires', '_vendor', 'bootstrap_install_from', 'command', 'config', 'convert_path', 'depends', 'dist', 'distutils', 'extension', 'extern', 'find_namespace_packages', 'find_packages', 'findall', 'fnmatchcase', 'functools', 'monkey', 'msvc', 'os', 'py34compat', 're', 'setup', 'setuptools', 'sic', 'version', 'windows_support']

no sign of easy_install.

Any ideas appreciated.

Edit.:

I can see that there is some easy install comand in

/usr/lib/python3.9/site-packages/setuptools/command/

but If I try

easy_install-3.9

as layed out in How to run easy_install in cygwin? I just get command not found.

Edit 2.:

I dug deeper and found that easy_install-X.Y is a python script that works like an alias and is put in usr/bin/easy_install. A template for it is defined in the easy_install script. But apparently it was not run at installation.

P.S.: Python ins Version 3.9.10, setuptools is 59.5.0 .

0 Answers0