import Questions
2
Solved
I am new to django and I am trying to link a response from a form submission to a couple python methods I wrote in a different file which will use the user input as parameters.
I am wondering how ...
4
Solved
Can someone explain exactly the usage recomandations regarding the 4 perl imports: do, import, use and require?
I'm looking for practical recommendations and keeping in mind possible issues that m...
9
I am trying to import a GitHub repository to Azure DevOps and I keep getting this error:
Import request cannot be processed due to one of the following reasons:
Clone URL is incorrect.
Clone URL ...
Randarandal asked 20/2, 2020 at 13:50
2
Solved
I'm getting this error:
ImportError: cannot import name 'life_table' from 'cdc_life_tables' (C:\Users\tony\OneDrive\Documents\Retirement\retirement-mc-master\cdc_life_tables\__init__.py)
When I tr...
9
I can't seem to import panda package. I use Visual Studio code to code. I use a mac and have osX 10.14 Majove.
The code that i am trying to compile is :
import numpy as np
import matplotlib.pyplot ...
Vachel asked 2/2, 2019 at 20:14
3
Solved
My Python library just changed it's main module name from foo.bar to foobar. For backward compat, foo.bar still exists, but importing it raises a few warnings. Now, it seems some example program st...
2
Solved
I am having some trouble integrating Appirater into my app. I have properly added all of the necessary files, and have the right code (I think), but I am getting an error when trying to implement i...
Oriente asked 16/5, 2012 at 21:48
3
Solved
I sometimes use embed at a certain point in a script to quickly flesh out some local functionality. Minimal example:
#!/usr/bin/env python
# ...
import IPython
IPython.embed()
Developing a loc...
2
Solved
As far as I understand, a python module is never imported twice, i.e. the code in the module only gets executed the first time it is imported. Subsequent import statements just add the module to th...
45
Solved
I am working on a package in Python. I use virtualenv. I set the path to the root of the module in a .pth path in my virtualenv, so that I can import modules of the package while developing the cod...
3
Solved
When I try to import the module illustris_python I get the error
ImportError: No module named 'util'
The module util is in the directory below the module snapshot.py that needs it, so I am confus...
Nashom asked 30/4, 2015 at 1:24
2
I'm trying to use react-responsive-carousel library and in order to appear correctly it requires the import of
import 'react-responsive-carousel/lib/styles/carousel.min';
When I load up my app I'm...
3
I have a file readfunctions.py inside a folder called functions (in this folder there is also a "init.py" file).
In the file readfunctions.py I have defined a function called "read_f...
Batholomew asked 14/5, 2018 at 21:52
7
Solved
iam really new in oracle and databases at all.
So sorry for a maybe stupid question.
Here is my problem. I have a DB export (not mine so i dont know how it was exported: are there differences?) an...
4
Solved
I have a file with this as the contents.
def print_hello_world():
print ('Hello World')
It's zipped up in a folder with a __init__.py file.
I add this as the layer and set the correct runtime ...
Collier asked 22/1, 2019 at 22:2
9
Solved
When I import a module I built, I get this boost-python related error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: dlopen(./myMod.so, 2): Symb...
Compulsion asked 26/1, 2016 at 3:28
1
Solved
Every time that I run my app on expo go I receive the following error: Error: Invariant Violation: Your Javascript code tried to access a native module that doesn't exist.
This happens after I run ...
Rost asked 15/1, 2023 at 1:41
2
Solved
I'm trying to write a library that can be both required and imported.'ve found different approaches online, which are as follows:
{
"main": "mylib-cjs.js",
"module":...
Comber asked 29/7, 2021 at 8:52
6
I am just getting started with the Jest test framework and while straight up unit tests work fine, I am having massive issues testing any component that in its module (ES module via babel+webpack) ...
Genro asked 14/9, 2016 at 6:35
6
Solved
There is a module in my project folder called calendar. Elsewhere in the code, I would like to use the standard library Calendar class. But when I try to import this class, using from calendar impo...
7
Solved
Why put _ in front of the filename in scss?
_filename.scss - Why does it need _ ?
4
My folder structure is as follows
./fff
├── __init__.py
├── fg
│ ├── __init__.py
│ └── settings
│ ├── __init__.py
│ └── settings.py
└── obng
└── test.py
I want to import the settings.py i...
Teets asked 8/7, 2021 at 11:12
4
Solved
I want to replace number 3 instead of all 'nan' in array. this is my code:
train= train.replace("nan",int(3))
But nothing changes in my array. Could u please guide me?
2
Solved
Just found the following module import in a Python code:
from sqlalchemy.ext.declarative import declarative_base,\
AbstractConcreteBase
I am curious about the backslash \ at the end of the firs...
2
Solved
VSCode includes a setting for organising imports, either via the action menu or automatically on every file save. Executing this command removes any unused imports and reorders imports alphabetical...
Peters asked 3/5, 2019 at 13:6
© 2022 - 2024 — McMap. All rights reserved.