ImportError: No module named 'keras'

So basically, I am fairly new to programming and using python. I am trying to build an ANN model for which I have to use Tensor flow, Theano and Keras library. I have Anaconda 4.4.1 with Python 3.5.2 ...

25 Jul at 18:35

HttpRequestMessageExtensions not being found at run-time in Azure Function

I've got an Azure Function app that creates a precompiled DLL (so it uses normal .cs files, not the older .csx method, pre-VS2017). Previously, it was targeting .Net Framework 4.5.2. I updated it to 4...

1 Sep at 19:26

Interfaces on ServiceModel request objects in ServiceStack

I'd like to define an interface on some of my servicestack service model request dto objects. I've defined the interface in my service model project and added it to the dto objects. But in the clie...

23 Jul at 21:2

How to get memory available or used in C# .net core / .net standard

Is there a way to know the current used memory in the current process? I checked many questions: [How to get the amount of memory used by an application](https://stackoverflow.com/questions/14032515/...

Go test string contains substring

How do I check if a string is a substring of another string in Go? For example, I want to check `someString.contains("something")`.

23 Jul at 15:27

laravel Unable to prepare route ... for serialization. Uses Closure

When I clear caches in my Laravel 5.2 project, I see this error message: [LogicException] Unable to prepare route [panel] for serialization. Uses Closure. I think that it's related with a route ...

23 Jul at 14:35

convert array into DataFrame in Python

``` import pandas as pd import numpy as np e = np.random.normal(size=100) e_dataframe = pd.DataFrame(e) ``` When I input the code above, I get this answer: ![enter image description here](...

27 Jul at 18:19

ConstraintLayout: change constraints programmatically

I need help with `ConstraintSet`. My goal is to change view's constraints in code, but I cant figure out how to do this right. I have 4 `TextView`s and one `ImageView`. I need to set `ImageView` cons...

User.Identity.IsAuthenticated always false in .net core custom authentication

Can anyone please check below code and let me know why I'm getting always false (User.Identity.IsAuthenticated)??. I'm getting cookie on my browser properly and able to get value from Claim but "Use...

8 Mar at 17:57

Use .NET Core with legacy .NET framework dlls

Can I use .NET Core with legacy .NET Framework dlls? The answer seems to be no... but I can only find resources referring to I created a new .NET core library and tried to reference a legacy .NET fra...

13 Sep at 01:29

Entry module not found: Error: Can't resolve './src/index.js'

I was installing a react startup app and added Webpack, but it says `Can't resolve './src/index.js'`. [](https://i.stack.imgur.com/fhNa8.png) [](https://i.stack.imgur.com/zHqU1.png) Contents `...

11 Apr at 13:42

Visual Studio 2017 xaml designer not available

Using Visual Studio Professional 2017 (Release 15.2 26430.16), when I open a xaml file for a desktop UI that I have developed, I can no longer see the xaml designer (I only see the raw xaml code). Thi...

22 Jul at 07:51

Error: ENOENT: no such file or directory, scandir

I scaffold an app using jhipster which is microservice gateway using cassandra db and using maven to build which was building fine after scaffold.i ran gulp command to for the live reload of ui. i ma...

22 Jul at 06:52

iOS: correctly adopting a view into an already-visible parent

I have the following code to adopt a child view controller into a parent: ``` public static void AdoptViewController(this UIViewController parent, UIViewController child) { parent.AddChildViewCon...

24 Jul at 00:56

Solve HTTP2 Download Failed Network Error

- - - ``` <modules runAllManagedModulesForAllRequests="true"> <remove name="FormsAuthentication" /> </modules> ``` ``` protected void btnDownload_Click(object sender, System.EventArgs e) {...

23 Apr at 07:53

ImportError: No module named 'xlrd'

I am currently using PyCharm with Python version 3.4.3 for this particular project. This PyCharm previously had Python2.7, and I upgraded to 3.4.3. I am trying to fetch data from an Excel file using...

HtmlAgilityPack & Selenium Webdriver returns random results

I'm trying to scrape product names from a website. Oddly, I seem to only scrape random 12 items. I've tried both HtmlAgilityPack and with HTTPClient and I get the same random results. Here's my cod...

How to speed up the Angular build process

After making some changes in my TypeScript files, each build takes over 20 minutes. I run this command: `ng build --output-path=..\..\static\angularjs`. If I run it in Microsoft PowerShell, it needs ...

8 Apr at 05:42

dotnet publish outputs old packages

I must be going crazy. I am hitting an issue where a `dotnet publish` is outputting older versions of some packages (specifically `Microsoft.Extensions.Configuration.dll`) and it's causing a runtime i...

21 Jul at 16:16

SSIS Script Component Cannot Load Assembly Until Manually Opened

I am creating a SSIS project via Biml (Using the current version of BimlExpress per the [Varigence BimlExpress page](https://www.varigence.com/BimlExpress)) that uses a script component within a Data ...

24 Jul at 15:8

RestSharp post request - Body with x-www-form-urlencoded values

I am using postman and making an api post request where I am adding body with x-www-form-urlencoded key/values and it works fine in postman. The issue arrises when I try it from c# using RestSharp pa...

21 Jul at 13:26

coded ui test project, obtain value of asp label

Created a simple calculator app in webforms. User enters a number in a text field `MainContent_numberTb` and clicks on results button. Added a new 'coded UI Test Project' to my solution. Have tested...

27 Jul at 07:51

Scaling an IdentityServer4 service

I have followed the [IdentityServer4 quickstarts](https://github.com/IdentityServer/IdentityServer4.Samples/tree/release/Quickstarts/7_JavaScriptClient) and am able to authenticate my javascript web p...

Which datatype of C# is equivalent to money in SQL Server?

I am working on a project in ASP.NET MVC. I started in the middle of the project and so I got stuck in this. The data type of a column in SQL Server is `money`. I need to access that column through th...

21 Jul at 07:8

Error: No module named 'fcntl'

I get the following error: ``` Traceback (most recent call last): File "C:/Users/aaaa/Desktop/ttttttt.py", line 5, in <module> import reload File "C:\Users\aaa\AppData\Local\Programs\Python\Py...