Chadrick's Blog

  • Posts

error fix

error fix

fix blank plot when using plotly in jupyter lab

this helped: https://github.com/plotly/plotly.py/issues/2508#issuecomment-907338746

By admin, 5 months ago
error fix

pylance stuck on “Searching for source files”

while using vscode, I noticed that pylance wasn’t running even after forcing pylance server restart. I checked the output logs and it was stuck at this line: solution add pyrightconfig.json on project root dir. Here is a link to github explaning about what this file is. populate exclude field with Read more…

By admin, 6 months6 months ago
error fix

fix “Certificate verification failed” error in apt update of docker container

Background While working on a raw docker base image that didn’t even have basic tools installed, I tried to call apt update but the following error came up This error occurred even after setting “http_proxy” and “https_proxy” environment variables. Solution This stackoverflow answer fixed this issue. Although it was bypass, Read more…

By chadrick_author, 7 months7 months ago
error fix

error fix: pycuda “ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21′ not found”

Background I installed pycuda and was trying to run a file and error like this occured Solution After googling, I found this post saying that this was due to lower version of libstdc++.so.6 originally my /lib64/libstdc++.so.6 was pointing to /lib64/libstdc++.so.6.0.19. But the post suggested to use a version higher. First, Read more…

By chadrick_author, 1 year1 year ago
error fix

error fix: pycuda “SystemError: initialization of _driver raised unreported exception”

Background I installed pycuda with pip install pycuda==2020.01 and it installed without any errors. However when running the code, I got the following error. appartenly importing pycuda itself was causing error. Fix I removed the install pycuda. downloaded pycuda source files(version 2020.01) and build&installed it from source. After doing this, Read more…

By chadrick_author, 1 year ago
error fix

how to handle “no disk space” while installing cuda toolkit

Background I downloaded another CUDA toolkit(11.4) installation .sh and executed it to install it. However, while installing it was stopped due to no disk space. The default install location is /usr/local/cuda-11.4 and unfortunately I only had about 5GB left under / while I had a lot of space under /data. Read more…

By chadrick_author, 1 year ago
error fix

qtwindeploy output missing ‘libgcc_s_seh-1.dll’ error fix

While deploying qt in windows, the official docs recommend using windeployqt.exe However, once the outputs of windeployqt.exe are packaged and executed in a different machine without any qt installments, I encountered “msising libgcc_s_seh-1.dll” error. Solution When I ran windeployqt.exe, I just ran it from powershell. When I used the Qt Read more…

By chadrick_author, 1 year ago
error fix

fix ‘certificate apiserver-kubelet-client not signed by CA certificate ca: crypto/rsa: verification error’ error during minikube start

I tried some solutions from here but it did not work. I deleted ~/.kube directory and it just made matters worse. My solution is The ~/.kube directory was restored after doing this. I guess minikube takes care of initial .kube directory contents if there isn’t any. The ~/.kube/config file was Read more…

By chadrick_author, 1 year1 year ago
error fix

“ValueError: numpy.ndarray size changed, may indicate binary incompatibility.” error fix

After installing packages with python and running a torch training script, I encountered the following error. This error occurred in pycocotools package which was used by detectron2 package. My solution was to reinstall pycocotools package with special options. after this fix, the above error did not appear. My environment was Read more…

By chadrick_author, 2 years2 years ago
error fix

allowing utf8 characters in python csv writer

reference: https://stackoverflow.com/questions/46551955/python-3-csv-utf-8-encoding do this at the start of csv writer to ad BOM

By chadrick_author, 2 years ago

Posts navigation

1 2 3 Next
Recent Posts
  • fix blank plot when using plotly in jupyter lab
  • pylance stuck on “Searching for source files”
  • paper review: “Graph Attention Networks”
  • fix “Certificate verification failed” error in apt update of docker container
  • fixing “Could not handshake: An unexpected TLS packet was received” error while apt update in docker container behind corporate proxy
Categories
  • algorithm
  • c/c++
  • cuda
  • data science
  • deep learning
  • error fix
  • kicad
  • kotlin
  • linux
  • postgres
  • python
  • pytorch
  • tensorflow
  • Uncategorized
  • web
Recent Comments
  • Andrew Mellinger on python implementation of rotating caliper algorithm
  • minhln14 on get rotation angle between two vectors
  • Anonymous on fix ‘certificate apiserver-kubelet-client not signed by CA certificate ca: crypto/rsa: verification error’ error during minikube start
  • Kartik on fix ‘certificate apiserver-kubelet-client not signed by CA certificate ca: crypto/rsa: verification error’ error during minikube start
  • radu on ssh local port forwarding and error fix for “channel 3: open failed: connect failed: Connection refused”
Archives
  • September 2022
  • July 2022
  • June 2022
  • May 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
Meta
  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Posts
Hestia | Developed by ThemeIsle