JavaEar 专注于收集分享传播有价值的技术资料

Access VBA/SQL "Run-Time error '424': Object required"

I keep on getting getting a "Run-Time error '424': Object required" and I am not sure why, when I press debug it takes me to the line qdf.SQL = strSQL and highlights it yellow. I was wondering if anybody knows what is the problem? Sub UpdateX() Dim db As DAO.Database Dim rs As DAO.Rec . . .阅读更多

Failed to decode downloaded font in Meteor

This is my CSS: @font-face { font-family: 'geometria_lightlight'; src: url('Geometria-Light-webfont.eot'); src: url('Geometria-Light-webfont.eot?#iefix') format('embedded-opentype'), url('Geometria-Light-webfont.woff2') format('woff2'), url('Geometria-Ligh . . .阅读更多

ValueError: x and y must be the same size

import numpy as np import pandas as pd import matplotlib.pyplot as pt data1 = pd.read_csv('stage1_labels.csv') X = data1.iloc[:, :-1].values y = data1.iloc[:, 1].values from sklearn.preprocessing import LabelEncoder, OneHotEncoder label_X = LabelEncoder() X[:,0] = label_X.fit_transf . . .阅读更多

TypeError: 'ShuffleSplit' object is not iterable

I am using ShuffleSplit to shuffle data, but I found there is an error TypeError Traceback (most recent call last) <ipython-input-36-192f7c286a58> in <module>() 1 # Fit the training data to the model using grid search ----> 2 reg = fit_model(X_trai . . .阅读更多

ERROR: cursor "" does not exist

According to this procedure the cursor will shows two rows, but when i execute this query, it shows ERROR: cursor "unnamed portal" does not exist In image table CREATE TABLE image ( id numeric(9,0) NOT NULL, nm_code character varying(100) NOT NULL, synonym text NOT NULL, CONSTR . . .阅读更多

ModuleNotFoundError: No module named 'pyaudio'

I ran pip install pyaudio in my terminal and got this error: Command "/home/oliver/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-ub9alt7s/pyaudio/';f=getattr(tokenize, 'open', open)(file);'\r\n', '\n');f.close();exec(compile( . . .阅读更多