error fix
fix blank plot when using plotly in jupyter lab
this helped: https://github.com/plotly/plotly.py/issues/2508#issuecomment-907338746
this helped: https://github.com/plotly/plotly.py/issues/2508#issuecomment-907338746
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…
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…
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…
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…
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…
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…
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…
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…
reference: https://stackoverflow.com/questions/46551955/python-3-csv-utf-8-encoding do this at the start of csv writer to ad BOM