tmx
tmx copied to clipboard
Unable to install package via pip
- Python 3.11
- MacOS
Collecting tmx
Downloading tmx-1.10.tar.gz (366 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 366.4/366.4 kB 5.1 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Installing collected packages: tmx
Running setup.py install for tmx: started
Running setup.py install for tmx: finished with status 'error'
DEPRECATION: tmx is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
error: subprocess-exited-with-error
× Running setup.py install for tmx did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
running install
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib
creating build/lib/tmx
copying tmx/__init__.py -> build/lib/tmx
copying tmx/COPYING -> build/lib/tmx
running install_lib
creating /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tmx
copying build/lib/tmx/__init__.py -> /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tmx
copying build/lib/tmx/COPYING -> /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tmx
byte-compiling /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tmx/__init__.py to __init__.cpython-311.pyc
running install_egg_info
running egg_info
writing tmx.egg-info/PKG-INFO
writing dependency_links to tmx.egg-info/dependency_links.txt
writing top-level names to tmx.egg-info/top_level.txt
reading manifest file 'tmx.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'tmx.egg-info/SOURCES.txt'
Copying tmx.egg-info to /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tmx-1.10-py3.11.egg-info
error: [Errno 22] Invalid argument: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/tmx-1.10-py3.11.egg-info/top_level.txt'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> tmx
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip is available: 23.0.1 -> 23.1
[notice] To update, run: pip install --upgrade pip