Can't open file 'django-admin.py': [Errno 2] No such file or directory

I'm using Python 2.7, Django 1.2.5 and on Windows 7. I am not sure what I've done. I used to be able to create Django projects like python django-admin.py startproject test Now however I get...

NVIDIA Cuda error "all CUDA-capable devices are busy or unavailable" on OSX

Quite often, I get the CUDA library to completely fail and return with an error 46 ("all CUDA-capable devices are busy or unavailable") even for simple calls like cudaMalloc. The code runs...

From virtualenv, pip freeze > requirements.txt give TONES of garbage! How to trim it out?

I'm following this tutorial: http://devcenter.heroku.com/articles/django At some point I'm suposed to do: pip freeze > requirements.txt (Ofc. from virtualenv created instance of python) And I...

Cuda: error C2065:"threadIdx':undeclared identifier

I am trying to create a Cuda project in VisualStudio 2010. I have created one simple test .cu file which takes an array and adds 1 to all its element and sends the result back to the host. I have...

Tomcat Not Starting Through Eclipse (Timeout)

I am trying to run Tomcat through Eclipse. This is something that I have done for the past several years. It was working yesterday and now it is not. The error I get is Server Tomcat v7.0 Server...

No Spring WebApplicationInitializer types detected on classpath

My Eclipse project is suddenly no longer deploying properly. I can't trace it to any particular change I've made to the environment. I have tested with multiple source-controlled projects and...

Rtools not being detected by R

Update: I've written a brief walkthrough guide to installing Rtools on windows. Original: I am trying to build an R package using RStudio on Windows 7. When I attempt to build the package via...

Portable way of detecting number of *usable* CPUs in Python

Per this question and answer -- https://stackoverflow.com/q/31344582/1337498 -- the output of Python's multiprocessing.cpu_count() function on certain systems reflects the number of CPUs actively...

system cannot find the path specified in spark-shell

I am trying to install Spark in Win7 and am getting an error. These are my environment settings: SPARK_HOME : C:\spark (this is where I have unzipped the spark files) JAVA_HOME : C:\Program...

Duplicates in windows environment path

For some reason I do not know, my echo %path% has many duplicates of C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\. As far as I know, long...

insufficient frame rate detected from Kinect

I have a Kinect 2 that runs at a framerate around 5-7 FPS (sometimes it peaks at 15 fps) The system is an HP laptop, G3 i7-6820HQ, 8 gb memory, with an intel graphics 530 and an Nvidia Quaddro...

Spring Boot Application gets stuck on "Hikari-Pool-1 - Starting..."

I'm trying to run Spring Boot application connected to PostgreSQL database. However, when it comes to Hikari connection pool initializing, it just gets stuck and nothing goes on. HikariPool-1 -...

Java compile in Sublime Text 3

I'm trying to compile java in Sublime text 3. I have made PATH to Java bin and made a build file, but I get this on the first compile in Sublime terminal and nothing changes after subsequent...

why Tensorflow-gpu is still using cpu

I am using Keras with tensorflow-gpu in backend, I don't have tensorflow (CPU - version) installed, all the outputs show GPU selected but tf is using CPU and system memory when i run my code the...

Exception processing errorPage[errorCode=0, location=/error]

My Spring Boot project used to work well on Mac. Today I pull the codes to my Windows lap, then the problem occurred, that the Tomcat error page were displayed instead of my custom error page when...

OpenCV Python with CUDA on Windows: DLL Load Failed

I am trying to get OpenCV python bindings to work with CUDA, but when I run import cv2 I get the following error: OpenCV loader: os.name="nt" platform.system()="Windows" OpenCV loader: loading...

conda install packages error: Collecting package metadata (current_repodata.json): failed

When I use 'conda install' to install packages, I always get an annoying error: Collecting package metadata (current_repodata.json): failed The detailed report can be seen through this link: error...

Unable to create v. environment for Python 2.17. Runtime error: failed to query python.exe

Please, help me to resolve this issue. I attempted to create virtual environment using pipenv --two and failure occured due to runtime error: failed to query python.exe. Here is a snippet of...

How to use tesseract_ocr in PHP?

I find a problem to use tesseract_ocr in php, I follow this tutorial https://github.com/thiagoalessio/tesseract-ocr-for-php. I install tesseract_ocr use composer : $ composer require...

Could not find Dart in your Flutter SDK

I've been developing a Flutter app for a while. Since the last update I am getting this message: Could not find Dart in your Flutter SDK. Please run 'flutter doctor' in the terminal then reload...

php Tesseract Error! The command "tesseract" was not found

I'm trying and failing to use tesseract php. I get this error: Fatal error: Uncaught thiagoalessio\TesseractOCR\TesseractNotFoundException: Error! The command "tesseract" was not found. Make sure...

Getting error when trying to run the webpack-dev-server all of a sudden, unknown property of "fs"

When trying to run Webpack Dev Server, I get a long error message: 47 errors and 10 warnings. I had no errors before, and then all of a sudden I do get errors. I have changed nothing in my webpack...

Getting error "CUDA backend requires cuDNN" when configuring OpenCV cmake build with cuda backend turned on

My goal: My goal is to configure a build of OpenCV 4.5.1-dev with support for cuda, tesseract and QT without any cmake error.. The problem I am having: I am getting the following error when I...

After upgrading to 1.2.162.1: vkQueueWaitIdle == VK_ERROR_DEVICE_LOST

I recently upgraded my ray tracing renderer from Vulkan SDK version 1.2.148.0 to 1.2.162.1. This was necessary because the ray tracing extension went out of beta and thus now works with...

Nvidia driver installation unmet dependencies

I have a laptop with a 1060 GPU which has Ubuntu 20.04 set up. I've had nvidia-driver-460 + cuda 11.2 installed and working until today. I tried to install ROS today and after adding sources and...

How to solve dist.init_process_group from hanging (or deadlocks)?

I was to set up DDP (distributed data parallel) on a DGX A100 but it doesn't work. Whenever I try to run it simply hangs. My code is super simple just spawning 4 processes for 4 gpus (for the sake...

Fatal Error: The pgAdmin 4 server could not be contacted: (Windows 10 Pro)

This the error in my PGAdmin4. I have deleted data from AppData (Roaming) and also tried to run it as Admisitaror. But no solutions for this problem has been found by me. I am trying to solve this...

Pytorch cuda is unavailable even installed CUDA and pytorch with cuda. How to fix?

I'm trying to use pytorch with my GPU (RTX 3070) on my Windows machine using WSL2, but I couldn't get it work even though I followed the Nvidia guide...

Flutter Daemon failed to start

I am getting this warning every time I open VS code. Are there any ways to solve this problem? Thank you. I added the log of this warning. I have tried flutter clean and flutter doctor and...

CUDA 11.5 bandwidth test sample build fails with Visual Studio 2019

I am trying to build bandwidth_test sample from CUDA 11.5 and it fails with: C:\Program Files (x86)\Microsoft...

Relevant tags