[Solved] redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Could not connect because the target machine actively refused

ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Unable to connect because the target machine actively refused 6379 is the redis port by default, and the error message means that the redis service is not started, or is not installed. The workaround is as follows: 1. Download and install Redis-x64-3.0.503.msi, address: https://github.com/MicrosoftArchive/redis/releases 2. After installing redis, find […]

[Solved] [vue] Running error ValidationError: Progress Plugin Invalid Options, options should NOT have additional properties

Background Recently I am writing my own front-end component library, technology stack vue When modifying the project structure, there may also be problems such as incompatibility between the version of webpack and the version of less-loader vue-loader Then use –force to force the installation during install Later, after the basic framework was completed, when the […]

[Solved] requests.exceptions.ConnectionError: HTTPConnectionPool(host=’localhost’, port=8123): Max retries ex

1. Preface: When running the code once, a long list of errors suddenly pops up: File “/home/wyc/software/anconda3/envs/pytroch_test/lib/python3.9/site-packages/requests/adapters.py”, line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host=’localhost’, port=8123): Max retries exceeded with url: /env/main (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7fd7efc3b400>: Failed to establish a new connection: [Errno 111] Connection refused’)) [Errno 111] Connection refused This is […]

[Solved] Airtest reports PermissionError: [Errno 13] Permission denied

Airtest reports an error when executing Error content:PermissionError: [Errno 13] Permission denied: ‘/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/airtest/core/android/ static/adb/mac/adb’ Problem Analysis: You need to manually give adb executable permission, otherwise you may encounter a Permission denied error when executing the script Workaround: The terminal cd to the Permission denied directory, manually grant adb executable permission After the authorization is successful, […]

[Solved] Error PermissionError: [WinError 5] Access is denied when opening Anaconda Navigator.

There was no problem before shutting down the day before, but when I opened Anaconda Navigator the next day, it reported an error. I searched for the solution on the Internet and recorded it here. Error content: Traceback (most recent call last): File “C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\psutil\_pswindows.py”, line 636, in wrapper return fun(self, *args, **kwargs) File “C:\Users\AppData\Local\Continuum\anaconda3\lib\site-packages\psutil\_pswindows.py”, line […]

[Solved] Error AssertionError: Torch not compiled with CUDA enabled

Error: AssertionError: Torch not compiled with CUDA enabled This article is aimed at devices with only CPU and no GPU, and modify the error report: Add at the beginning of the code: // A code block device = torch.device(“cuda” if torch.cuda.is_available() else “cpu”) device = torch.device(“cuda” if torch.cuda.is_available() else “cpu”) If .cuda() appears in the […]

[Solved] conda installation error: PermissionError [Errno 13] Permission denied

Original link Anaconda creates the environment, activates the environment conda create, and the keras installation fails: PermissionError [Errno 13] Permission denied Anaconda creates a virtual environment: conda create -n my_root Linux activation environment: source activate my_root Activation environment under Windows: activate my_root Install keras: conda install keras Check if the installation is successful: python import […]

[Solved] PermissionError: [Errno 13] Permission denied: ‘C:\Users\langxu\AppData\Local\Temp

Traceback (most recent call last): File “D:/Desktop Backup/Scripts/WakeTest.py”, line 15, in <module> play(song1) File “C:\Users\langxu\AppData\Roaming\Python\Python38\site-packages\pydub\playback.py”, line 71, in play _play_with_ffplay(audio_segment) File “C:\Users\langxu\AppData\Roaming\Python\Python38\site-packages\pydub\playback.py”, line 15, in _play_with_ffplay seg.export(f.name, “wav”) File “C:\Users\langxu\AppData\Roaming\Python\Python38\site-packages\pydub\audio_segment.py”, line 867, in export out_f, _ = _fd_or_path_or_tempfile(out_f, ‘wb + ‘) File “C:\Users\langxu\AppData\Roaming\Python\Python38\site-packages\pydub\utils.py”, line 60, in _fd_or_path_or_tempfile fd = open(fd, mode=mode) PermissionError: [Errno 13] Permission […]

[Solved] (vue) Solution: Run or build error Syntax Error: ValidationError: Invalid options object. Sass Loader has been initializ

(vue) solution: Run or build error Syntax Error: ValidationError: Invalid options object. Sass Loader has been initialized… Reason: The main reason is that the versions of sass-loader and node-sass are too high or too low. After uninstalling the current version, find a suitable version to install and restart. Tip: Go to the node module package […]

[Solved] python crawler ssl.SSLCertVerificationError solution

When python uses requests.get to get the https link, it prompts the following error: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056) Method one: The most convenient means is to directly set no verification, namely: requests.get(‘https://example.com’, verify=False) # set verify=False Method 2: It is simple and convenient to cancel certificate […]