Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
amogorkon opened this issue Oct 26, 2022 · 0 comments
Open

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

amogorkon opened this issue Oct 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@amogorkon
Copy link
Owner

amogorkon commented Oct 26, 2022

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
@amogorkon amogorkon added the bug Something isn't working label Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants