windows-10

GeoDjango could not find GDAL library in Windows 10

落花浮王杯 提交于 2019-12-01 04:01:27
问题 I am using Django 11.4 on Windows 10 and I am having problems when I try and migrate my models. I receive this error: django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal201", "gdal20", "gdal111", "gdal110", "gdal19") I followed GeoDjango's installation instructions (https://docs.djangoproject.com/en/1.11/ref/contrib/gis/install/), but I am still having trouble. Everything I have found on this error says to change the system environment variables. I

How is it possible to understand which process deletes a file on the hard drive

爷,独闯天下 提交于 2019-12-01 04:01:25
I have the following problem. I develop an application that keeps the settings in preference files. At some point in time, one of these files is being deleted. This file can not be deleted from my application. How is it possible to understand which process deletes a file on the hard drive under Windows? EDIT: The problem appears rarely. I'm looking for a program that can run as a service or something else so I can do a patch for the application which to monitor in runtime if someone deletes the file and writes which process it has done. If you're ok with a C# solution, you can use the

Docker at Windows 10 proxy propagation to containers not working

拥有回忆 提交于 2019-12-01 03:39:56
I am behind cooperate proxy and running docker on windows 10. I have setup the proxy on docker as per the documentation here . I am able to pull images but these proxy settings are not propagating to containers e.g. when I run alpine env, it does not show proxy conf. Below is my output λ docker run alpine env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=14fca5bee12f HOME=/root Following is the expected output as per the documentation. On building following docker file, I get connection errors from alpine container Docker Version Docker version 17.12.0-ce, build

Unable to launch Visual Studio 2015 as a different user

我的未来我决定 提交于 2019-12-01 03:29:09
In order to limit my own destructive powers, I have two domain accounts, one for normal work and one for TFS admin stuff. For years I have been using the Run as different user feature for opening another Visual Studio window as my admin account whenever I need to do admin stuff. Both users is members of the local administrator group. About a month ago this stopped working resulting in the below dialog instead of launching Visual Studio. Both option does nothing - no Visual Studio launches. The suggested link http://go.microsoft.com/fwlink/?LinkId=659046 , refer to older Visual Studio versions:

Just installed Windows 10 and Eclipse no more starts

∥☆過路亽.° 提交于 2019-12-01 03:25:24
I just upgraded from Windows 8 to Windows 10 (both 64-bit) and my previous Eclipse Juno with ADT-plugin for Android development is no longer starting. All I can see is the mouse pointer showing that something is loading for a few seconds and then nothing else happens. What I tried renamed eclipse.ini to let it recreate it: did not even recreate it, so renamed it back. turned on "Windows 8" compatibility on Eclipse exe. No changes. tried to look at workspaceDir/.metadata/.log . No entries about this. What follows are the contents of eclipse.ini : -startup plugins/org.eclipse.equinox.launcher_1

Debugging load time error in C++ SDL2 program compiled with VS2015 on Win10

给你一囗甜甜゛ 提交于 2019-12-01 03:16:39
I'm writing a project in C++ with SDL2 on 64-bit Windows 10 using Visual Studio 2015. I recently purchased a new Windows 10 laptop and cloned my project from github. My project compiles correctly, but I get the following error when I run it: The application was unable to start correctly (0xc000007b). Click OK to close the application. Based on my research so far, this error is usually caused by loading an incompatible DLL, e.g. a 64-bit version instead of 32-bit. Suggestions I've found so far include: Checking that I'm using the 32-bit versions of the SDL2 DLLs Installing/reinstalling the x86

How to install tesserocr on windows?

回眸只為那壹抹淺笑 提交于 2019-12-01 02:57:20
问题 I downloaded executable file of tesseract-OCR and installed it. On the other hand, I also downloaded a zipfile of leptonica from http://www.leptonica.com/download.html. It includes two directory that is lib and include . Next I tried to do pip install tesserocr in a python virtualenvironment and it returned error tesserocr.cpp(460) : fatal error C1083: Cannot open include file: 'leptonica/allheaders.h': No such file or directory I noticed that allheaders.h is in include directory from the

How do I create file hardlink in PowerShell on Windows 10?

假装没事ソ 提交于 2019-12-01 02:45:10
How do I create file hardlink in PowerShell on Windows 10? PSCX has New-Hardlink , but is it still needed on Windows 10? You could always shell out to mklink , but from powershell that requires you prefix the command with cmd /c , which is ugly and hard to remember. New-Item -ItemType HardLink -Name CoverageCount.cs -Value ..\..\OPIAspnet5\Models\CoverageCount.cs The ItemType parameter now includes a type for hardlinks, which I feel is a hidden gem of PowerShell on Windows 10. 来源: https://stackoverflow.com/questions/31863258/how-do-i-create-file-hardlink-in-powershell-on-windows-10

How to use ANSI escape sequences with CSCRIPT on Windows 10?

可紊 提交于 2019-12-01 02:09:36
问题 I'm trying to use the new VT100 ANSI escape sequence capabilities available in the Windows 10 console with CSCRIPT (JScript). But I cannot get it to work. Here is a really simple JScript script: test.js WScript.Echo('\x1B[7mReverse\x1B[0m Normal'); WScript.stdout.WriteLine('\x1B[7mReverse\x1B[0m Normal'); I've done a number of tests, and the escape sequences output by CSCRIPT are impotent when written directly to the screen, and only work if written to a file first and then TYPEed, or else

Run Shiny App from Shortcut Windows 10

久未见 提交于 2019-12-01 01:39:40
I'm trying to create a shortcut on the desktop to run a Shiny app. I am stuck on creating a batch file to execute this and after scouring the web, I still haven't been able to get it to work. I am on Windows 10. At the moment I have a folder on the desktop called "test" with contents: ui.R server.R run.R test.bat Within test.bat, I have: "path to R.exe" CMD BATCH "path to my r script" I double click on test.bat, and it flashes a window before closing. How can I get this to work? Thank you very much in advance. Probably you have solved it, but for someone who has the same question, I'm posting