17,135
questions
0
votes
1
answer
15
views
create package python import error not import files
I have this folder stu
Root Folder- Project
project folder in /Document/office/
| folder
-> File
Project
-> config.py
-> app.py
| Src
-> abc.py
-> xyz.py
| test
-> testcase.py
...
-3
votes
0
answers
10
views
.NET libraries or packages for interacting with the Common Origination and Disbursement data model? [closed]
The US Department of Education uses a process known as Common Origination and Disbursement (COD) so that schools and related entities can interact with them through data files for the purposes of ...
-1
votes
1
answer
18
views
Exporting multiple imported components for efficiency/readability?
I'm working with a project that makes many imports from a particular library, but importing from the dist rather than being more generic.
ie.
import {Header} from '@some-lib/.../.../dist/Header';
...
1
vote
2
answers
36
views
Go Templates and Embedding: Content from One Template Overriding Another When Using Template Blocks
I have been trying to understand the html/template package in combination with the embed package in golang 1.23 but I am struggling to even get a simple base layout with two pages working. As detailed ...
-2
votes
0
answers
20
views
IDEA local execution and packaged execution results are not the same [closed]
Idea local execution and packaged execution results are not the same, the local execution is fine, but packaged into a jar package reported errors
The error is reported as follows
2024-09-09 12:17:12....
0
votes
0
answers
17
views
Bonmin executable file
I need the bonmin (https://github.com/coin-or/Bonmin) solver for optimization problems in Python. I am newbee in GNU Autotools. I have installed all the necessary environment and the build via GNU ...
-1
votes
1
answer
31
views
Fix NPM packages that have vulnerabilites
i was writing a project using node.js and i use a command line
npm install
there are alot of vulnerabilites.
Packages.json
{
"name": "pretty-chat-react-typescript",
"...
0
votes
1
answer
33
views
Add images assets in angular library
I'm in the process of creating an angular library so that I can reuse certain functionalities between 2 projects without having to copy and paste.
I'm faced with a problem: How to add images for use ...
-1
votes
0
answers
15
views
Error after trying to upgrade i3 to the latest version [closed]
Up untill yesterday I had i3-wm version 20 on linux mint 21.3. I wanted to try out gaps but after some googling I realised it was included in version 24. So I removed i3 and tried re installing it ...
-1
votes
1
answer
67
views
How to publish multi platform python package
For our projects we need our own developped python package but it's currently compiled only for python 3.7. For many reason we would like to bypass this restriction and use it with any >=3.7 python ...
0
votes
1
answer
29
views
How do I decrease the length of imports for my custom package?
I have a package called "library". The directory structure looks like this:
-library
+src
*pkg1.py
*pkg2.py
-pyproject.toml
-__init__.py
Currently, the import looks ...
0
votes
0
answers
17
views
Manual SBOM SPDX Entries? (for undiscoverable packages)
I may be completely misunderstanding this as I am new to the generation of a Software Bill of Materials (SBOM). But I am presently using Microsoft's SBOM tool, and while it handles 99% of all related ...
0
votes
0
answers
29
views
Local installation of an R package outputs Rcpp conversion error
I'm trying to install this Atoms package (see Github link: https://github.com/julienide/Atoms) and I'm new to R.
My computer is a mac (M1 chip).
So far, I've successfully installed all dependencies ...
0
votes
0
answers
16
views
Error: unable to locate package in Linux mint
I am a newbie who recently installed Linux. My problem is that I can't install any program or package, and even when updating the packages, I get an error. My error is Error: unable to locate package.
...
-3
votes
0
answers
21
views
How package managers works in linux Sys [closed]
In linux based sys, how packages installed and removed in a system, what is package index, repos, mirrors, local index and dependencies. Is packages are binary files or it can be libraries. That ...
0
votes
1
answer
34
views
How to use package:web in Flutter web?
I want to start recording von Mic using Flutter web (only, no mobile support needed). With dart:html everything worked smoothly.
No I converted to package:web but everything full of errors. Can anyone ...
0
votes
1
answer
69
views
Conda cannot find a package to install even though I can see it on the anaconda website
I'm trying to install a package through conda. Specifically, the 'dssp' package in the salilab Anaconda channel (https://anaconda.org/salilab/dssp).
After creating and activating a conda environment, ...
1
vote
0
answers
13
views
There's bug in this package (safe_device) in flutter when we enable location permission it stop working
I was facing this issue for almost one week my application stop responding. no error prints
finally I comment packages one by one and find out the issue is in safe_device package it help somebody who ...
0
votes
1
answer
51
views
python: NameError: name 'first' is not defined when I import the whole package
When I import the whole package, it gives me a NameError. But when I import individual modules and run the same code, it executes properly.
My structure is:
my_package/directory
__init__.py
first.py
...
-2
votes
0
answers
42
views
cannot import package in golang: unrecognized import path [duplicate]
this is my directory structure
gms-client-library/
├── golang
│ ├── example
│ │ ├── http
│ │ │ ├── go.mod
│ │ │ └── main.go
│ │ ├── mqtt
│ │ │ ├── ca.crt
│ │ │ ├── go....
0
votes
1
answer
31
views
I've using upi_pay & flutter_upi packages, I'm getting an error "upi_pay/flutter_upi -> ext.kotlin_version should be above 1.5.40 or more
I've tried the below to resolve it
updating the version in the package (upi_pay.dart & flutter_upi.dart) to 2.0.10
updating the ext.kotlin_version of my project/gradle to 2.0.10
forked those ...
0
votes
1
answer
41
views
ModuleNotFoundError: No module named 'mononphm'
I have followed the instructions here:
https://github.com/SimonGiebenhain/MonoNPHM?tab=readme-ov-file#31-demo
To run the model by:
python scripts/inference/rec.py --model_type nphm --exp_name ...
0
votes
0
answers
13
views
how to work non respiinding amplify cli package?
i installed amplify cli
when i look up if it's installed
kang@Kangui-noteubug ~ % which amplify /Users/kang/.nvm/versions/node/v20.17.0/bin/amplify
it shows this but
when i try to use it
kang@Kangui-...
1
vote
0
answers
71
views
library inside a function
I’m developing an R package, and one of the functions in it performs a deconvolution of data. Within this function, I’m using the following line of code:
imm_epic <- immunedeconv::deconvolute(...
0
votes
1
answer
41
views
Error: raise IOError and OSError while compiling the program in vs code
OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to data directory.
this is the error i am getting
MY code:
from chatterbot import ChatBot
from ...
0
votes
0
answers
41
views
Flutter - The package project's method is not available on the app project
I want to separate my project's code between the application and the package, so making it available in the future to be installed on multiple projects. I want to develop for both at the same time, ...
0
votes
1
answer
36
views
Unable to build a github package that reference a package already published in github
We have two repositories each one contains an angular library
lib_a
lib_b (that uses the package lib_a)
lib_a is built and published in git-hub packages (ver 0.0.4)
The issue is on building lib_b (...
0
votes
0
answers
7
views
npx nx build command failed to generate package
I tried to run npm nx build --verbose command for a react component to build esm file, It is throwing error as below
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not ...
0
votes
0
answers
24
views
Where to import packages when using ProcessPoolExecutor in subfunctions
I have a code structure in which there is a main function (‘main’). In this main function, a function (‘coordinate’) is called in parallel with ProcessPoolExecutor. This ‘coordinate’ calls many other ...
2
votes
1
answer
43
views
How can I run python package using Google Collab?
I want to run the DAN repo. I am using Google Cloud Collab. I cloned the project on my Google Drive in the following directory /content/drive/MyDrive/DAN/DAN
Trying to run An example script file is ...
-1
votes
1
answer
22
views
How to compile Typescript library with its dependencies without webpack/rollup?
I'm new in Typescript and building Typescript library, but I got a problem:
I created a library say, @my-lib/my-first-lib.
I created another library say, @my-lib/my-second-lib which depends on @my-...
0
votes
2
answers
34
views
Custom Python module requires subfolders
I have a custom Python module where all the .py files used to be in the same folder as setup.py, allowing me to import them directly (e.g. import AliasColourFunctions). Recently, this setup no longer ...
3
votes
1
answer
446
views
Flutter "flutter_app_badger" package discontinued? Alternatives?
flutter_app_badger is now marked as "discontinued".
Are there any alternatives that work as well as this package does?
0
votes
0
answers
26
views
After SDK package update, Android no longer building locally in terminal
I keep getting this Android Build Error output after updating one of the SDK's my react-native project requires. Now, android emulator / simulator no longer builds directly from terminal due to build ...
0
votes
0
answers
27
views
Can we share hotspot programmatically in our flutter application without turning on the device hotspot?
Actually, I am developing an app in which I have to share the connected network with other users on the app with the same name and password, so any user can connect to that network without password.
I ...
-1
votes
0
answers
376
views
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyaudio)
(https://i.sstatic.net/26OqSheM.png) I had never met that kind of problem
I tried to reinstall pyaudio, wheel and utils, system is up to date. Also tried to install other versions pyaudio. Saw a few ...
0
votes
2
answers
33
views
Query_all_packages Permission Rejected on Play Console - How to Resolve?
My request for the Query_all_packages permission was rejected on the Play Console. Is there another solution? I want the app to open for confirmation after pressing the Open App button, but the code ...
0
votes
0
answers
20
views
Installing Pyhton package from local directory error
When installing a Python package a colleague sent as a directory (with setup.py), I'm getting:
LookupError: setuptools-scm was unable to detect version for '/home/michael/Downloads/inversion/s2shores'....
0
votes
3
answers
52
views
Python - Get sum of all sizes of packages installed
How to get the total sum of sizes of all packages in a Python requirements.txt file? Or a pip freeze.
I want to figure out how much space all packages take up. I know this exists but it doesn't show ...
0
votes
0
answers
27
views
How can I package a Python project that uses the SAM semantic segmentation model?
I have a Python project where I use the results from a Segment-Anything model to figure out where bubbles are within a channel. Now, I need to package the app and then give it to my coworkers, but I ...
0
votes
0
answers
32
views
Using lmer() function
I have troubles using the lmer() function. It looks like it has something to do with the versions of the packages "lme4" and "Matrix".
This happens when I try to load the lme4 ...
0
votes
0
answers
13
views
When I trying to up my project to Vercel this error kept happening
[here is deployment errors](https://i.sstatic.net/M6zl5ftp.png)
I was trying to up my project to the vercel.
here is my package.json
{ "name": "caboodles-ui", "version&...
0
votes
0
answers
10
views
RPM package build VCS-Git versioning without editing repo files on every update
Desired workflow:
Write the SPECS/*.spec file for the RPM package creator.
Make changes to GitHub repo releases like normal on a regular basis.
Never need to re-write SPECS/*.spec Version: value ...
0
votes
0
answers
19
views
Why this compilation using GNU make is not successful? and how to solve the problem?
I am trying to compile and install the following application from source code but I am not making any progress.
The application is package-update-indicator
link: https://code.guido-berhoerster.org/...
1
vote
1
answer
49
views
Debian 'Maintainer' VCS-Git versioning without editing repo files on every update
Desired workflow:
Write the debian/control file for the Debian maintanier package creator.
Make changes to GitHub repo releases like normal on a regular basis.
Never need to re-write debian/control ...
0
votes
0
answers
31
views
'ModuleNotFoundError' when trying to import all functions from one file to another in the same directory from installed python package
Running python 3.12 in VS Code.
I am working on a package to post on PyPi to share with a few coworkers and up my own abilities and I am in the middle of testing installation using a test build. I can ...
0
votes
0
answers
46
views
Knitr package will not install
Looks like my knitr package is damaged. I removed the package via RStudio but I can not get it to reinstall.
I get the following error message. I've tried rebooting, installing it directly from R ...
0
votes
0
answers
43
views
Obfuscating package using Pyarmor + Poetry Build does not seem to work
I want to obfuscate a package. My current file structure is:
game/
├── my_game/
│ ├── __init__.py
│ ├── play_game.py
│ └── other modules and directories
├── pyproject.toml
└── README.md
└── ...
0
votes
0
answers
24
views
OnUpgrade of sqflite in flutter and setting a default value when you dont have the value
So the objective is to write a alter table query in the onUpgrade of the function of the inbuild onUpgrade to do so which works, but the issue im facing is i dont currently have the value during the ...
0
votes
1
answer
58
views
Types conversion from one package to other
I'm starting with Haskell in an RSA crypto project.
Digging in Hackage, I found two different packages to achieve my objective. The problem is that each package has its own version of the same type (...