Ошибка an error occurred installing the package

Хочу скачать библиотеки, но сталкиваюсь с данной проблемой. Что делать?
Install packages failed: Installing packages: error occurred.


  • Вопрос задан

    более года назад

  • 1137 просмотров

Sterben124, а если в консоли(терминале) набрать просто python, интерпритатор запуускается?
Если да, то он включен в path- переменную, иначе, нужно это сделать.

Добавлено через 2 минуты
Вот поэтому, я работаю на python 3.6 , там,Sterben124, такого горя нет, ибо не не надо брать только что выпущенный релиз, он не все поддерживать может.

Добавлено через 1 минуту
И pyaudio ставится,как я показал.

Добавлено через 45 минут
Sterben124, use python 3.6 and be happy, ибо Ваша проблема от того, что Вы взяли слишком новый релиз, у меня на 3.6 pyaudio работает.

Reported In

Reported In shows products that are verified to work for the solution described in this article. This solution might also apply to other similar products or applications.

Issue Details

While installing software through NI Package Manager (NIPM), I get one of the following error messages:

An error occurred while installing a package: <package-name>.
An error occurred while removing a package: <package-name>. 

LabView Install Error 2022-06-20 15_56_17-Inbox - Danijel.Antic@tridonic.com - Outlook.png

Solution

This is the generic error that NI Package Manager returns when there is an issue installing or removing a package.

  1. Look at NI Package Manager error logs to determine the underlying issue. It is recommended to start with errorlog.txt. Looking at the end of that log should show the most recent error that occurred. 

Note: You may need to enable MSI logs if the error occurred while running an MSI within a package that was installing. NI does not recommend leaving MSI logs enabled when not troubleshooting installation issues. Enabling MSI logs will increase the time it takes to install packages. If enabled for troubleshooting, you should disable them after troubleshooting is complete. 

 

  1. If the error is not clear, contact NI Support or post to the NI Package Manager Discussion Forums. 

Refer to the following for initial troubleshooting steps:

  • Install all pending Windows updates.
  • Deactivate your firewall and antivirus software.
  • Upgrade to the latest version of NI Package Manager.
  • Restart NI Service Locator and NI Configuration Manager in Windows Services.
  • Check that there is enough free storage on your hard drive to install the software. Minimum storage can be found in the Readme file for the software.
  • Check that the %temp% directory has the correct permissions.
  • Install the packages you are attempting to install using its offline distribution, if available.
  • Try installing the latest version of this package available.
  • Install the packages you are attempting to install with administrator rights (right-click on the installer and select Run as administrator).

If the initial troubleshooting steps above do not resolve the issue, uninstall all NI software and reinstall the requested software.
 

Was this information helpful?

  1. The first step: open the pycharm software;

  2. Step 2: Select File → Settings in the menu bar;

  3. Step 3: Select the «Project: XXXXX» column, then select «Project Interpreter», and click the «+» sign on the right;

  4. Step 4: Continue to click OK to save, and then we test download and install, the result can be installed normally, the speed is also very fast;

5. Step 5: An error occurred (Install packages failed: Installing packages: error occurred. Details…);

6. Step 6: It may be due to the low pip version (the author is for this reason), just upgrade pip;

7. Step 7: Reinstall the package that reported the error, and it will succeed.

I wanted to install the matplotlib package using conda.

The actual result was the following:

ERROR conda.core.link:_execute(699): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'.

I expected successful installation of matplotlib, so that I could run it on my jupyter notebook.

I used the following command for installing the package:

conda install matplotlib

here is the error that I got:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(699): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'.
Rolling back transaction: done

LinkError: post-link script failed for package defaults::qt-5.9.7-vc14h73c81de_0
location of failed script: C:UsersAsusDesktopenvScripts.qt-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout:         1 file(s) copied.

stderr: 'chcp' is not recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.

return code: 1

()

Please help me with this, as I’m able to install other packages like pandas, numpy, etc, but its happening only in the case of matplotlib package.
Thank you.

Возможно, вам также будет интересно:

  • Ошибка an error occurred while loading
  • Ошибка an error occurred during the installation of assembly
  • Ошибка an error occurred while installing
  • Ошибка an error occurred during local report processing
  • Ошибка an error occurred while creating the media file

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии