Skip to content

Can't install justuse on python 3.11 via pip #481

@amogorkon

Description

@amogorkon
PS F:\Dropbox (Privat)\!TetraPlex\tetraplex\prototype-server> py -m pip install justuse
Collecting justuse
  Using cached justuse-0.7.8.tar.gz (189 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [71 lines of output]
      G:\Python3.11\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
      WARNING: The wheel package is not available.
        error: subprocess-exited-with-error
     
        python setup.py bdist_wheel did not run successfully.
        exit code: 1
     
        [6 lines of output]
        usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
           or: setup.py --help [cmd1 cmd2 ...]
           or: setup.py --help-commands
           or: setup.py cmd --help
      
        error: invalid command 'bdist_wheel'
        [end of output]
     
        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for MarkupSafe
      ERROR: Failed to build one or more wheels
      Traceback (most recent call last):
        File "G:\Python3.11\Lib\site-packages\setuptools\installer.py", line 82, in fetch_build_egg       
          subprocess.check_call(cmd)
        File "G:\Python3.11\Lib\subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['G:\\Python3.11\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\micro\\AppData\\Local\\Temp\\tmpbpsm23y3', '--quiet', 'MarkupSafe>=2.0']' returned non-zero exit status 1.
     
      The above exception was the direct cause of the following exception:
     
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\micro\AppData\Local\Temp\pip-install-r503ja3h\justuse_8acbede4dfdc45d38188a18cfe4fdfdc\setup.py", line 84, in <module>
          setup(
        File "G:\Python3.11\Lib\site-packages\setuptools\__init__.py", line 86, in setup
          _install_setup_requires(attrs)
        File "G:\Python3.11\Lib\site-packages\setuptools\__init__.py", line 80, in _install_setup_requires          dist.fetch_build_eggs(dist.setup_requires)
        File "G:\Python3.11\Lib\site-packages\setuptools\dist.py", line 875, in fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "G:\Python3.11\Lib\site-packages\pkg_resources\__init__.py", line 789, in resolve
          dist = best[req.key] = env.best_match(
                                 ^^^^^^^^^^^^^^^
        File "G:\Python3.11\Lib\site-packages\pkg_resources\__init__.py", line 1075, in best_match        
          return self.obtain(req, installer)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "G:\Python3.11\Lib\site-packages\pkg_resources\__init__.py", line 1087, in obtain
          return installer(requirement)
                 ^^^^^^^^^^^^^^^^^^^^^^
        File "G:\Python3.11\Lib\site-packages\setuptools\dist.py", line 945, in fetch_build_egg
          return fetch_build_egg(self, req)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "G:\Python3.11\Lib\site-packages\setuptools\installer.py", line 84, in fetch_build_egg       
          raise DistutilsError(str(e)) from e
      distutils.errors.DistutilsError: Command '['G:\\Python3.11\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\micro\\AppData\\Local\\Temp\\tmpbpsm23y3', '--quiet', 'MarkupSafe>=2.0']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions