import Questions

3

Solved

I have problem about importing Java EE glassfish server to my IntelliJ. I have searched nothing on the web. When I want to create a new glassfish project, I don't have option for it. I can't add...
Yaupon asked 5/3, 2016 at 10:22

5

Solved

I am looking to stop using require() statements for the following modules since Node version 11 now supports ES6, but I cannot locate any documentation on how to write the following except express ...
Berserker asked 6/5, 2019 at 1:50

5

Solved

I've been using the psql Postgres terminal to import CSV files into tables using the following COPY tbname FROM '/tmp/the_file.csv' delimiter '|' csv; which works fine except that I have to be l...
Tarboosh asked 19/2, 2015 at 9:24

8

I tried mongo import like this mongoimport -d test -c foo importfile.json mongoimport --host localhost --db local --collection lecturer --type json --file temp.json --headerline --upsert and I...
Pulpit asked 14/6, 2012 at 22:0

1

I have a Laravel 9 project and I want to use the Tailwind When I put each component's css in some files to separate them, it cause an error message but if I put all together works. Error message: ...
Genagenappe asked 23/6, 2022 at 12:43

20

Solved

I have a JSON file consisting of about 2000 records. Each record which will correspond to a document in the mongo database is formatted as follows: {jobID:"2597401", account:"XXXXX&q...
Kaufman asked 2/3, 2013 at 6:40

13

Solved

I was trying to clean up this react component by extracting fillCalendar() from being a method of the component into it's own js file and importing it instead. Originally this.state.datesArray was ...
Filter asked 24/8, 2018 at 4:26

4

I'm trying to import aitexten package to work on a GPT-2 solution. But I'm encountering an error:ImportError: cannot import name '_TPU_AVAILABLE' from 'pytorch_lightning.utilities' (/usr/local/lib/...
Intercommunion asked 4/11, 2022 at 16:6

0

I am currently using a json file to determine which fonts to import for my Next.js site. Next.js has optimized google fonts you can import locally which has better performance then doing a google i...
Alfy asked 13/3, 2023 at 18:0

4

Solved

How do I import a module(python file) that resides in the parent directory? Both directories have a __init__.py file in them but I still cannot import a file from the parent directory? In this fo...
Fultz asked 21/1, 2012 at 6:48

4

Solved

See this experiment. ~/go/src$ tree -F . ├── 1-foodir/ │   └── 2-foofile.go └── demo.go 1 directory, 2 files ~/go/src$ cat demo.go package main import ( "fmt" "1-foodir" ) func main() { fm...
Melaniamelanic asked 24/4, 2017 at 4:29

3

I'm trying to implement and export the firebase analytics module in Next.js (firebase v9) I get the error "ReferenceError: window is not defined" for the following code snippet. All previ...
Toxicosis asked 1/11, 2021 at 16:14

7

I tried importing a proto file named test1.proto to another proto file named test2.proto using the import statement import "com/test/test1.proto"; But i get the following error com/test/test1....
Susumu asked 15/1, 2014 at 9:51

3

Solved

I've been reading a tab-delimited data file in Windows with Pandas/Python without any problems. The data file contains notes in first three lines and then follows with a header. df = pd.read_csv(...
Lenient asked 12/1, 2015 at 6:5

3

Solved

I am using Python 3.2 (both for building and executing), and here is my question. I intend to ship my python application with the following setup: There is a main script (say, Main.py), that is u...
Saturable asked 25/7, 2012 at 11:13

2

Using the "Optimize Imports" in Android Studio 3.4.1, the imports are ordered similar to this: import com.walla.walla import com.willy.willy import org.koin.android.ext.android.get import org.koin...
Redfield asked 28/6, 2019 at 21:11

5

I defined a hello world function in a file called 'functions.ipynb'. Now, I would like to import functions in another file by using "import functions". I am sure that they are in the same folder. H...
Torus asked 22/5, 2017 at 14:58

5

I have the following import in my code: @import Foundation; I am encountering the following build error: use of @import when modules are disabled I have seen @import vs #import - iOS 7 and I have...
Unlookedfor asked 17/4, 2015 at 14:12

6

Solved

Suppose I have a module file like this: # my_module.py print("hello") Then I have a simple script: # my_script.py import my_module This will print "hello". Let's say I want to "override" th...
Throaty asked 25/1, 2017 at 17:42

4

Solved

I've been repeatedly making good PyInstaller executables of a Tkinter utility program, and suddenly this morning the resulting executable fails with a "can't import" error for modules in C:\Python2...
Monkish asked 28/2, 2014 at 19:47

3

Solved

I have an excel workbook that runs some vba on opening which refreshes a pivot table and does some other stuff. Then I wish to import the results of the pivot table refresh into a dataframe in pyth...
Milkandwater asked 9/7, 2013 at 12:52

2

Okay, the scenario is very simple. I have this file structure: . ├── interface.py ├── pkg │   ├── __init__.py │   ├── mod1.py │   ├── mod2.py Now, these are my conditions: mod2 needs to import...
Torso asked 16/11, 2017 at 0:7

9

Solved

I have an Oracle database backup file (.dmp) that was created with expdp. The .dmp file was an export of an entire database. I need to restore 1 of the schemas from within this dump file. I don't ...
Spongioblast asked 18/9, 2008 at 18:47

3

Solved

I am using multiple notebooks in PySpark and import variables across these notebooks using %run path. Every time I run the command, all variables that I displayed in the original notebook are being...
Linkwork asked 2/3, 2020 at 10:14

6

Solved

I have a home-work to create a http server with java , a simple one and from scratch . After searching google and here ...i found this link "see the best response" with a very nice response ,so i c...
Hermilahermina asked 31/10, 2012 at 10:21

© 2022 - 2024 — McMap. All rights reserved.