import Questions

3

I've created a new react app using webpack. It is showing me this error I've written minimum code as of now. The code giving error is: import React from 'react'; import AppBar from '@mui/material/A...
Casemaker asked 23/11, 2021 at 19:2

3

Solved

I have a .csv datafile with many columns. Unfortunately, string values do not have quotation marks (i.e., apples i.o. "apples). When I use read_csv from the readr package, the string values are imp...
Ber asked 1/11, 2016 at 19:20

2

Solved

I am trying to load a single ESM module in my TypeScript CJS project. All examples I find are for JavaScript. // example.ts export const example = async () => { const module = await import(&quo...

4

Solved

Hi I have a problem with connecting Firebase (Firestore) to my Angular App. Thats the first time I am trying to connect firebase, so i followed a tutorial from Google. https://developers.google.com...
Kain asked 20/12, 2022 at 19:55

5

Solved

Is there a way to force TS to use a path alias for imports if there is one available? (I use VSCode) import { ApiError } from '../../../../libs/shared/src'; // This is imported by default //import ...
Kazantzakis asked 27/4, 2022 at 13:8

5

Solved

I'm trying to use ES6 modules in Chrome. From all the examples I've looked at the following seems to be the right way to do it, but when I run it in Chrome's developer tools I get this error messag...
Rochelle asked 25/10, 2018 at 16:16

6

Solved

I want to import subfolders as modules. Therefore every subfolder contains a __init__.py. My folder structure is like this: src\ main.py dirFoo\ __init__.py foofactory.py dirFoo1\ __init__.p...
Magnificence asked 21/1, 2012 at 14:44

4

Solved

I am trying to use panda. When I import it as import panda as pd I get this error File "/usr/local/lib/python3.5/dist-packages/panda/__init__.py", line 1, in <module> from request impor...
Cotonou asked 27/7, 2017 at 12:59

4

I know that it looks like duplicate, but the solutions which I found don't work for me. I uninstalled MySQL 5.1 and installed 5.6, and I would like to import a previously exported SQL file back. Bu...
Passage asked 13/1, 2015 at 9:28

7

Solved

I'd like to the following but with a single line, if possible: import Module from './Module/Module;' export Module; I tried the following but it doesn't seem to work: export Module from './Modul...
Becalm asked 27/2, 2016 at 4:42

1

I am trying to import a font file like so: import { Font } from '@react-pdf/renderer' import font from './NotoSansJP-Regular.ttf' Font.register({ family: "NotoSansJP-Regular", format: ...
Sudhir asked 19/4 at 3:5

8

I used nltk in my code for a few days, but now, when I try to import nltk, I get the error: File "C:\Users\Nada\Anaconda\lib\site-packages\nltk\corpus\reader\plaintext.py", line 42, in PlaintextCo...
Camaraderie asked 20/8, 2017 at 19:31

14

Solved

My React App was working fine, using global CSS also. I ran npm i next-images, added an image, edited the next.config.js file, ran npm run dev, and now I'm getting this message: Global CSS cannot ...
Immolate asked 31/3, 2020 at 1:0

7

Solved

Installed bootstrap via npm on my react project Importing bootstrap import 'bootstrap/dist/css/bootstrap.min.css'; but it outputs an error: Cannot find module 'D:\project\my-app\node_modules\schema...
Module asked 15/2, 2021 at 12:5

17

I have googled a lot but it seems that I am doing something wrong. I want to do this: <?php include 'header.php'; include'CSS/main.css'; ... ?> However, my page prints the CSS code. Not...
Xerophagy asked 11/6, 2011 at 12:0

8

Recently started studying Java for an exam. While learning packages, tried this and got an error message. What I did was //Creating class A (Within package the package: com.test.helpers) package...
Schmitt asked 18/7, 2014 at 18:3

2

Solved

In Pycharm, if you right click in a folder inside your project, you can mark it as sources root, so then you can import modules from this folder and subfolders. However doing it this way will only...
Broadnax asked 5/8, 2019 at 14:32

8

Yes, I know this is a recurrent question but I still couldn't find a convincing answer. I even read at https://chrisyeh96.github.io/2017/08/08/definitive-guide-python-imports.html but could not fin...
Prothalamion asked 29/10, 2018 at 15:49

7

Solved

I have a Vue 2 project, and I've written a simple function for translating months in dates, which I would like to import in one of my components, but I'm getting an error: export 'default' (impo...
Mishear asked 1/9, 2017 at 7:19

6

Solved

Mirror question to: "How to config VSCode's Organize Imports order?" which refers to a .js project. I want to configure how VSCode is invoking isort, so I can customize when calling Org...
Hagiographa asked 12/4, 2021 at 13:51

7

I am trying to import shap. I am getting the following bug. I installed the lower version of NumPy still the problem is not solved. Thank you! import shap ImportError Traceback (most recent call...
Diplegia asked 28/11, 2021 at 22:37

14

I've got my project set up under a native virtual environment in 3.4 and have had it that way for a while and had it working fine. But for some reason, I am now having issues with running my projec...
Hernardo asked 1/7, 2015 at 13:36

2

Solved

I'm using IMAPFilter, and I'd like to keep my global configuration in a public repository, while keeping the local (and secret) configuration in a separate file. So I'm running imapfilter from some...
Figureground asked 11/5, 2011 at 8:56

18

Solved

EDIT: Solved, if anyone comes across this python3.8 -m pip install python-dotenv worked for me. I've tried reinstalling both dotenv and python-dotenv but I'm still getting the same error. I do ha...
Rodrigo asked 3/1, 2020 at 1:32

2

Solved

I have an app that receives a list of supported locales from the backend as a following response: {locales: [{code: 'enUS'}, {code: 'deDE'}, {code: 'arAR'}]} I want to use date-fns library for han...
Zamboanga asked 16/3, 2021 at 15:10

© 2022 - 2024 — McMap. All rights reserved.