failed to install plugin every time it shows - woocommerce

Installation failed: Could not copy file. wp-simple-firewall/src/lib/src/Utilities/ReCaptcha/WordpressPost.php
i am trying to install plugin but every time it is showing this problem

Related

installing ReditorSupport in VScode - Error

When I try to install ReditorSupport though the vscode extension manager I get a 'Failed to install 'reditorsupport.R' ' error.
I then accept the suggestion to try and download it manually. The download is successful, getting a file named REditorSupport.r-2.5.3.vsix.
When i try and install using this downloaded package I don't get any errors, nor does any installation occur.
if I follow a link to the webpage for the extension:
https://marketplace.visualstudio.com/items?itemName=REditorSupport.r
and click on the green Install it opens vscode and asks me "Would you like to install the R extension?".
When i click install I get a 'Server returned 404' error.
I should also note that I can install other extensions without error or warning through the extension manager.
Can you help me get this installed in vscode?
This issue was resolved by upgrading my vscode install.
Version where the issue occured: 1.36.1
Version where no issue occurred: 1.72.2

Drupal 9 - Unable to install package with composer

How can I add a new package to the vendor folder by using the composer. I tried to use the composer command composer require [package-name]. However, I tried but I was getting an error telling me "./compose.json" is not a UTF-8. After several attempts to configure some PHP options and execute the same command, the package was downloaded, but in a different path than the drupal-9.x.x/vendor/package-name-folder path. But there is another path inside the drupal-9.x.x/core folder. The package name is included in the composer.json file in the drupal-9.x.x/core folder path.
The question here is how can I insert a new package using the composer command into the Drupal project, and is it possible to link this package to a custom module so that it is from the installation dependencies?
I found the problem seems to be related to eclipse ide and trying to open the composer .json file through the ide and using the ide options to download and install the package
What I did was use the git bash and I executed the composer command and the package was downloaded as required

Error when installing `snowflake-connector-python` to GCP Cloud Composer

I'm trying to use install snowflake-connector-python to a Cloud Composer environment but keep receiving an error that pops up in the UI, "Failed to install PyPI Packages. Check the Cloud Build log for details". The build log doesn't seem overly helpful and is very long, so I'll just show some of the notable things here.
This is a warning that shows after installing snowflake-connector-python and its dependencies.
Installing collected packages: pycryptodomex, asn1crypto, oscrypto, jmespath, botocore, s3transfer, boto3, isodate, msrest, azure-core, azure-storage-blob, azure-common, snowflake-connector-python
Successfully installed asn1crypto-1.4.0 azure-common-1.1.25 azure-core-1.8.1 azure-storage-blob-12.5.0 boto3-1.14.63 botocore-1.17.63 isodate-0.6.0 jmespath-0.10.0 msrest-0.6.19 oscrypto-1.2.1 pycryptodomex-3.9.8 s3transfer-0.3.3 snowflake-connector-python-2.3.2
+ [[ -z fail ]]
+ python3 -m pipdeptree --warn fail
Warning!!! Possibly conflicting dependencies found:
* botocore==1.17.63
- docutils [required: >=0.10,<0.16, installed: 0.16]
This is the final error notification.
The command '/bin/sh -c bash installer.sh $COMPOSER_PYTHON_VERSION fail' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
I'm running the image composer-1.12.1-airflow-1.10.10 in zone us-central1-c and is using python 3. I've tried installing different versions of the package with no luck, and have tried doing it via the UI and via gcloud. Any help as to the root of this problem would be much appreciated!
I tried trying to install older versions of snowflake-connector-python but that didn't work.
What did end up working was adding docutils==0.15 to the list of packages to install. This fixed the dependency conflict warning and led to a successful build.
Previously, I've received dependency conflict warnings that led to successful builds. But for this case, I actually needed to resolve that conflict.
The answer from nate did not work for me, the PyPi package install succeeds in CloudBuild but then the Web Server fails to update and rolls back installing the packages.
In order to get this working we had to downgrade our Composer to the September release which comes with docutils==0.15.2.
The image we used was composer-1.12.1-airflow-1.10.9, it seems that any image in airflow 1.10.10 or above has this issue as they come with docutils==0.16 as standard. You can see which version of docutils is in an image by using this link and expanding the PyPi packages column.

ERROR conda.core.link:_execute(700): An error occurred while installing package 'conda-forge::jupyter_nbextensions_configurator-0.4.1-py37_0'

I'm trying to install jupyter_nbextensions_configurator on windows10 for python3.7 using conda.
An error occurred while installing the package.
I have already tried to reinstall anaconda,but the problem still occurs.
ERROR conda.core.link:_execute(700): An error occurred while installing package 'conda-forge::jupyter_nbextensions_configurator-0.4.1-py37_0'.
Rolling back transaction: done
LinkError: post-link script failed for package conda-forge::jupyter_nbextensions_configurator-0.4.1-py37_0
location of failed script: C:\Users\Cesare\Anaconda3\Scripts\.jupyter_nbextensions_configurator-post-link.bat
I want to know how to install it successfully.
I too was facing the same problem. Here's the output when I tried cloning the base environment [Running as Administrator]:
(base) PS C:\WINDOWS\system32> conda create --name django --clone base
WARNING: A conda environment already exists at 'C:\Users\Tanishk\anaconda3\envs\django'
Remove existing environment (y/[n])? y
Source: C:\Users\Tanishk\anaconda3
Destination: C:\Users\Tanishk\anaconda3\envs\django
The following packages cannot be cloned out of the root environment:
- conda-forge/win-64::conda-4.9.2-py38haa244fe_0
- defaults/win-64::conda-build-3.20.5-py38_1
- defaults/win-64::conda-env-2.6.0-1
Packages: 305
Files: 2077
Preparing transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(698): An error occurred while installing package 'defaults::openssl-1.1.1h-he774522_0'.
Rolling back transaction: done
CondaError: Cannot link a source that does not exist. C:\Users\Tanishk\anaconda3\pkgs\openssl-1.1.1h-he774522_0\Library\bin\openssl.exe
Running `conda clean --packages` may resolve your problem.
()
You will notice the package giving me problem is different than yours, but the ERROR remains the same (ERROR conda.core.link).
Here's how I solved it:
Google the package mentioned in the ERROR. In my case it was openssl-1.1.1h-he774522_0
Open the result from Anaconda Files (should likely be the first search result):
anaconda / packages / openssl 1 - Files :: Anaconda Cloud
Ctrl+F to find the package in the list.
Download the compressed package to your local Downloads folder.
Backup the contents of the installed erroneous package *C:\Users\Tanishk\anaconda3\pkgs\openssl-1.1.1h-he774522_0* somewhere.
Copy the contents of the de-compressed downloaded package into the *C:\Users\Tanishk\anaconda3\pkgs\openssl-1.1.1h-he774522_0* folder.
Re-try in Anaconda prompt with whatever you got stuck at.
Note:
After step 7, I got another same error but for a different package this time (vs2015_runtime-14.16.27012-hf0eaf9b_3). I performed the same steps for this package too --> Google -- Download -- Replace old content. And I was able to run things successfully after that.
I suggest to google the package because if you search for the package name on Anaconda itself, it will ask you to login first.

Drupal Admin - unable to load

I just tried installing a Drupal module and the installation was unsuccessful.
Trying to uninstall that module, however, now I'm not able to load the admin page because of the error message given from that failed module install.
How can I go over fixing that?
Also the module that I was trying to install is "devel_themer" and the error is
"Fatal error: Class 'simple_html_dom' not found in sites/all/modules/contrib/devel_themer/devel_themer.module on line 189"
Tried installing the "simple_html_dom" libraries under "sites/all/libraries/" but the error persist.
Thank you,
Tee
Got it, I just downloaded and replaced the module with an older version and it works.

Resources