import Questions
2
During a long interactive session (using ipython) I sometimes need to use a module which I don't already have installed.
After installing the new module, that module becomes importable in new inte...
6
I am trying to import a text with a list about 10 words.
import words.txt
That doesn't work...
Anyway, Can I import the file without this showing up?
Traceback (most recent call last):
File "D...
2
I have a vue project and installed waypoints
npm install waypoints
I try to import it
import waypoint from 'waypoints';
but get an error
Error: Can't resolve 'waypoints' in /Mypath
What am...
Dew asked 7/4, 2017 at 16:26
4
Solved
i googled a lot and i can't found nothing about it !
[root@someday backups]# mysql -u username_1 -p db_1 < tables_to_import/tables.sql
ERROR 1050 (42S01) at line 19: Table 'ps_customer' alread...
5
Solved
I am building an app using Material-UI, so far so good.
I am trying to build a component using an Accordion component, but i am getting an error when trying to import it:
Module not found: Can't re...
Diedra asked 1/7, 2020 at 16:4
15
Solved
Does any one know how to remove a project from Android Studio in an attempt to re- export it from Eclipse?
So far I have tried removing all the gradle files associated with the project, which cau...
Schoenfeld asked 12/6, 2013 at 18:51
2
Solved
For our project we always used one source file for both platforms: iOS and macOS (previously OS X). Right now I am migrating to Swift. Unfortunately there is some files which need
import Cocoa
and...
Punchboard asked 13/10, 2014 at 12:10
3
2
Solved
I have a lerna monorepo containing lots of packages.
I'm trying to achieve the following:
Ensure that VSCode provides the correct import suggestions (based on package names, not on relative path...
Appliance asked 10/9, 2019 at 12:11
4
Solved
How does one do a relative import from a parent directory?
From meme/cmd/meme:
import "../../../meme"
This gives an ambiguous error:
matt@stanley:~/gopath/src/bitbucket.org/anacrolix/meme/cmd/...
Aggarwal asked 21/5, 2012 at 14:53
12
Solved
I exported my database with JSON columns in it. After I migrated to a new server, my import crashed every time with an error like:
cannot create a JSON value from a string with CHARACTER SET 'bi...
Milliliter asked 28/6, 2016 at 13:51
5
Solved
I wasn't clear how to correctly name this question.
Case 1
Assume that I have the following directory structure.
foo
|
+- bar/__init__.py
|
+- bar.py
If I have
from foo import bar
How do I ...
5
Solved
Python uses the PYTHONPATH environment-variable to determine in which folders it should look for modules.
You can play around with it by modifying sys.path, which works nicely for pure Python-Modul...
Uncork asked 23/4, 2014 at 12:33
3
As an experiment, I want to see how to import a Python module from a URL. The hypothetical goal here would be to import from a central location which keeps the modules up-to-date. How could this be...
12
Solved
Running COPY results in ERROR: invalid input syntax for integer: "" error message for me. What am I missing?
My /tmp/people.csv file:
"age","first_name","last_name"
"23","Ivan","Poupkine"
"","Eug...
Peninsula asked 18/8, 2013 at 10:8
8
Solved
I have a folder called "Dump." This folder consists of various .CSV Files.
The folder Location is 'C:\Dump'
I want to Import the contents of these files into SQL Server.
I want the rough code alo...
Colloquy asked 18/4, 2013 at 6:50
3
Solved
Suppose I have:
animals.js
import cat from './cat';
import dog from './dog';
import emu from './emu';
import pig from './pig';
import cow from './cow';
export { cat, dog, emu, pig, cow };
In a mo...
Indorse asked 14/3, 2019 at 17:32
1
Solved
I’ve discovered this morning that bulk of timestamp formats in R seem to be posix.ct class based, which seems to be risky for use with nano second timestamps due to rounding and accumulation errors...
4
I created a Pair class in Java (similar to the c++ pair) and am having trouble referencing it from a different java file. I am working inside a Java file, let's call it fileA in the same directory ...
4
Solved
We are looking to migrate from Maven to Gradle, and have worked through most of the challenges you would expect for replacing the parent POM concept. There is one sticky point that we haven't figur...
Chiasma asked 16/10, 2020 at 13:14
2
I have a vue project, where I want to select a local .csv and import the contents to a variable. I'm trying to do so via vue-papa-parse, which I've installed via npm. The following code (main.js, t...
1
When trying to import like this:
import { port } from './config';
I am getting this error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/USER/PROJECT/src/config'
But when I try this...
Isma asked 4/5, 2020 at 10:21
8
Solved
Following up on this question regarding reloading a module, how do I reload a specific function from a changed module?
pseudo-code:
from foo import bar
if foo.py has changed:
reload bar
3
Solved
Let's say you want to import a CSV file into a table in your SQL server, but you don't have the file, just a sting in CSV format. In our case, our design won't let us use one of the built-in file i...
Dehydrate asked 15/10, 2020 at 1:24
6
Solved
Could someone please explain me how I correctly import and use the three.js library in a vue component?
After many many searches It became clear to me that most people use the following line to im...
Memo asked 16/12, 2017 at 20:20
© 2022 - 2024 — McMap. All rights reserved.