Скрипт не работает из-за ошибки Tgcrypto, что делать?

What should I do if I cannot build wheels for TgCrypto, which is required to install pyproject.toml-based projects?
  • 21 октября 2023 г. 16:37
Ответы на вопрос 4
If you cannot build wheels for TgCrypto, which is required to install pyproject.toml-based projects, you can try the following steps to resolve the issue:

1. Make sure you have the latest version of pip installed:
   ```
   pip install --upgrade pip
   ```

2. Install the necessary dependencies for building TgCrypto:
   - On Debian or Ubuntu-based systems:
     ```
     sudo apt-get install build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev openssl tk-dev libffi-dev
     ```
   - On Fedora or CentOS-based systems:
     ```
     sudo dnf install redhat-rpm-config openssl-devel sqlite-devel
     ```

3. Try installing TgCrypto separately using the prebuilt wheels:
   ```
   pip install -U TgCrypto --pre
   ```

4. If the above steps do not work, you can try installing TgCrypto from source. First, make sure you have the required dependencies installed as mentioned in step 2. Then, execute the following command:
   ```
   pip install -U --force-reinstall --no-binary TgCrypto TgCrypto
   ```

If none of the above solutions work, there might be some other underlying issue. In that case, it is recommended to seek help from the TgCrypto or relevant project's community or support channels for further assistance.
https://pypi.org/project/pyproject-toml/#files 
     
не устанавливайте этот пакет 
 просто проигнорируйте его
Похожие вопросы