«Каталог не пуст» для charset_normalizer dist-info при установке atlascliPython

Программы на Python
Гость
«Каталог не пуст» для charset_normalizer dist-info при установке atlascli

Сообщение Гость »


Я пытаюсь установить некоторые modules on a

Код: Выделить всё

virtualenv
that I have created/activated on MacOS.
One such dependency is

Код: Выделить всё

atlascli
.
So in my

Код: Выделить всё

requirements.txt
there is an entry:

Код: Выделить всё

atlascli==0.2.8
When running

Код: Выделить всё

pip install -r requirements.txt
(also with

Код: Выделить всё

--force-reinstall
and/or

Код: Выделить всё

--no-cache-dir
)

Код: Выделить всё

  Running setup.py clean for atlascli
error: subprocess-exited-with-error

× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [42 lines of output]
/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************

!!
dist.fetch_build_eggs(dist.setup_requires)
Traceback (most recent call last):
File "", line 2, in 
File "", line 34, in 
File "/private/var/folders/9l/1234567891011/T/pip-install-12345678920/atlascli_12345678910111213/setup.py", line 44, in 
setup(
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/__init__.py", line 102, in setup
_install_setup_requires(attrs)
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/__init__.py", line 75, in _install_setup_requires
_fetch_build_eggs(dist)
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/__init__.py", line 80, in _fetch_build_eggs
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/dist.py", line 636, in fetch_build_eggs
return _fetch_build_eggs(self, requires)
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/installer.py", line 38, in _fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 813, in resolve
dist = self._resolve_dist(
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 849, in _resolve_dist
dist = best[req.key] = env.best_match(
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1119, in best_match
return self.obtain(req, installer)
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1130, in obtain
return installer(requirement) if installer else None
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/installer.py", line 106, in _fetch_build_egg_no_warn
wheel.install_as_egg(dist_location)
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/wheel.py", line 120, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/wheel.py", line 128, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/myusername/path/to/project/main/.venv/lib/python3.9/site-packages/setuptools/wheel.py", line 173, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/9l/1234567891011/T/pip-install-12345678920/atlascli_12345678910111213/.eggs/charset_normalizer-3.3.2-py3.9-macosx-10.9-universal2.egg/charset_normalizer-3.3.2.dist-info' -> '/private/var/folders/9l/1234567891011/T/pip-install-12345678920/atlascli_12345678910111213/.eggs/charset_normalizer-3.3.2-py3.9-macosx-10.9-universal2.egg/EGG-INFO'
What is this sorcery?


Источник: https://stackoverflow.com/questions/781 ... g-atlascli

Вернуться в «Python»