Questions tagged [package]
Package broadly refers to two things: 1) a usable unit/component of built/compiled software, or 2) a partition of the global namespace (Java).
16,935
questions
0
votes
1
answer
34
views
Structs method is giving undefined while importing in other package
I have a model file in which there is a struct method. That method I want to use in my controller. But it is saying "GetBookings not declared by package models". I am very new to Golang, may ...
-1
votes
0
answers
12
views
what are the essential pip package modules required for downloading an application?
running into problems with pip when installing an application. asking for guidance on the critical pip package modules that must be downloaded in order to manage dependencies and guarantee a seamless ...
0
votes
0
answers
23
views
I can't download packages in pycharm CE
I'm trying to download numpy in Pycharm but it keep saying invalid syntax:
Traceback (most recent call last):
File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/...
-1
votes
1
answer
37
views
All packages showing inside the virtual environment
Whenever I'm trying pip/pip3 freeze/list inside a venv, it's showing a huge list and I'm guessing it's all the packages available in my machine.
I'm using Python 3.10.12 and pip version is 23.3.1. I ...
0
votes
1
answer
37
views
ModuleNotFoundError: No module named - while importing a module from another folder
I am getting the famous - ModuleNotFoundError when I try to import a module from another folder. Here is the folder structure -
packages
- packageA
- src
- packagename
- app.py ...
0
votes
1
answer
24
views
How to fix this error ImportError while importing complex from ampligraph
ImportError Traceback (most recent call last)
<ipython-input-41-449fec1eb93c> in <cell line: 28>()
26 from imblearn.over_sampling import RandomOverSampler, SMOTE, ADASYN
27 from ...
1
vote
1
answer
28
views
How to Check Installed Packages in MSYS2
This is a very simple question, but I'm not sure how to query the installed packages and their versions in MSYS2. I have read the MSYS2 wiki here and the Arch Linux wiki here, but they do not seem to ...
0
votes
0
answers
39
views
R Package Installation Trouble
When attempting to install the R package "nleqslv", I receive the following error message:
install.packages("nleqslv", type = 'source')
Installing package into ‘/opt/homebrew/lib/R/...
0
votes
0
answers
20
views
How to add custom metadata using fpm for rpm/deb pacakges
I am trying to create rpm package using fpm command
fpm -s dir -t rpm -n <package_name> -v -C <src_file_path> --prefix
But I need to add some custom metadata some project specific key, ...
-1
votes
1
answer
52
views
How to manage a system release containing multiple packages?
What we need to do is be able to find a consistent solution to create a single package (lets call it Master package) that contains multiple packages, check that these packages are compatible with each ...
0
votes
0
answers
21
views
Importing a subpackage from a git repository using poetry
I have two Poetry projects in separate repositories. Project B is a library used by Project A.
When I moved Project B from a setuptools-based project to a Poetry project, I started experiencing this ...
0
votes
0
answers
15
views
No zero exit status error when running install.packages on Hmisc
I keep receiving the no zero exit status error whilst trying to install Hmisc, tried updating everything (OS, R studio etc), no result. Other packages run, just not this one.
This is the error i ...
0
votes
0
answers
29
views
How to Identify Necessary Debian Packages for an Application in Docker for Minimalistic Setup
I'm working with Docker and have a container running an application named "App". My goal is to create a more minimalistic Docker container that includes only the essential Debian packages ...
1
vote
1
answer
54
views
Use Snowflake Connector on Python 3.12
I have just switched from Python version 3.11.6 to 3.12.0
Previously it was possible for me to run the following script (I installed snowflake-python-connector):
import snowflake
# Connection to ...
0
votes
1
answer
8
views
not possible to import a class from my own jar i built with intellij idea
i built a jar and installed it to my .m2 repository.
Then, in a second project (which i want to ne the consumer of the first one),
i put this in the pom.xml, as a dependency :
<dependency>
...
1
vote
4
answers
116
views
Install pip on Python 2.6
I need to install pip on Python 2.6. I have tried a couple of solutions available.
How to install pip on a system with python 2.6
How to install pip for python 2.6?
How to install pip with python 2....
0
votes
1
answer
27
views
audio_players in flutter isn't working on a source url
I am building an music player application that takes the URL from a php local host server and play it
The package I am using is audio_player and it can play audio files either from assets in ...
-1
votes
0
answers
8
views
How can I fix this Unity package error that couldn't find?
How can I fix this error-
"[Auto Package] : Couldn't find the packages list. Be sure there is a file called PackageImportList in your project
UnityEngine.Debug:LogError (object)
PackageChecker:...
0
votes
0
answers
39
views
cant install certain packages on python (pandas, lxml)
There have been similar questions, but none of them had the same exact problem as I have, I have no clue what to do to fix this issue
When I tried installing lxml and pandas there were errors, but for ...
0
votes
0
answers
25
views
Confusion about Resource loader, ClassLoader, inputStream, Loading and writing files in general
In one of my exercises, the text recommended to use the Resource loader, what is it?
My researches pointed toward ClassLoader.getResources() and this.getClass().getResources(); I assume it's something ...
0
votes
0
answers
19
views
Classes should be sorted into packages when sharing fields, like for instance for inheritance. What for classes that just handles instances (factory)? [closed]
Let's say I have a package named "thread" with the following classes:
AbstractDownloaderThread.java
LisaDownloaderThread.java
MarkDownloaderThread.java
...
There's no doubt that these ...
0
votes
0
answers
11
views
how to solve Error installing whisper-mic: ModuleNotFoundError: No module named 'whisper_mic.utils'
tried following this video of how to install whisper-mic https://youtu.be/S58MGCU7Wgg?si=YPMc1a35NNq3ppiK
it's as simple as running a virtual env and the pip install whisper-py.
it gives me errors ...
0
votes
0
answers
24
views
ESLint Error: Cannot find module 'resolve/sync'
I have created my own package for personal use, and I am connecting it to the project. Everything works perfectly, except for two things that I can't figure out.
Here are the dependencies in my ...
0
votes
1
answer
32
views
I am doing a simple Oracle INSERT and I keep getting this error: [Err] ORA-00984: column not allowed here
enter image description here
FUNCTION insert_in_sales(
sale_id NUMBER,
prod_id NUMBER,
customer_id NUMBER,
quantity NUMBER,
sale_date DATE
) RETURN VARCHAR2
IS
BEGIN
INSERT INTO ...
0
votes
0
answers
15
views
attempting to upload Julia package "registry dirty" attempting to add xvfb
I'm trying to upload a Julia package and it keept giving me this error:
┌ Info: xvfb:
└ xvfb = "/usr/bin/xvfb-run"
[ Info: Attempting to `Pkg.add` the package
Copying registry from `~...
-1
votes
1
answer
23
views
Encountered the symbol ")" when expecting one of the following
when i run my sql code i get the following error
Errors: PACKAGE POS
Line/Col: 14/5 PLS-00103: Encountered the symbol ")" when expecting one of the following:
current delete exists prior
...
0
votes
0
answers
37
views
Python pakage Offline Installation
I have below code, which am using for package installation wondering is there a better way to optimize it as there is duplication of commands for my offline installation process. I have tried various ...
-1
votes
0
answers
42
views
Explain This code to me it's about closure recursion [closed]
package main
import "fmt"
func fact(n int) int {
if n == 0 {
return 1
}
return n * fact(n-1)
}
func main() {
fmt.Println(fact(7))
var fib func(n int) int
...
0
votes
1
answer
25
views
using saveRDS in a function causes package to fail error check
I can't figure out why this line is causing my package to fail error check. The function works fine, without any warnings, and outputs the rds file which is readable.
But with it included, the package ...
1
vote
0
answers
14
views
Installing python package from github - inconsistent name issue
I am trying to install my first python package from github (https://github.com/tamnva/hydroEcoLSTM), using the following command (I work with Windows)
pip install pip@git+https://github.com/tamnva/...
0
votes
1
answer
36
views
Python import error, "'modules' is not a package"
I keep getting this error even though I downloaded the "modules" library.
No module named 'modules.MainWindow';
'modules' is not a package
here's the code
import sys
from PyQt6.QtWidgets ...
1
vote
1
answer
88
views
How to get package version in .NET 8 without having to add IncludeSourceRevisionInInformationalVersion attribute in the entry assembly?
I have developed a nuget package in which I need to obtain the package version of the entry assembly. So far, I used this method to get the version:
using System.Reflection;
var version = Assembly....
0
votes
0
answers
16
views
Can someone please explain the Stream package for Angular? What does it do and can I safely remove it?
https://www.npmjs.com/package/stream
I work on an app where previous developers installed a lot of packages that were never used. I'm going through them, evaluating what I can safely delete without ...
0
votes
0
answers
21
views
Using poetry to install from a private repository with a token
I have published a package on packagecloud with a token. To install this package, this URL will be used:
https://{some-token}:@packagecloud.io/{some-domain}.
How do I configure poetry to download ...
0
votes
1
answer
33
views
How to create a executable script on my flutter package?
I just want to create an executable script that create the proyect structure. I call this dart file install.dart and I want to make
dart run install
to execute this on the projects that install my ...
0
votes
0
answers
36
views
Installing a linux based Python package on windows
I would like to use a python package called openMSCG. My problem is that I operate on a windows machine, while the package is, as I understand, made for usage on Linux or MacOS based machines.
I have ...
0
votes
1
answer
79
views
JFROG —> PUBLISH Swift Package Manager —> Consume that in various iOS Projects
I am new to JFrog. Need your help regarding Swift package manager hosting and consuming.
JFrog supports swift registry. I have created one swift package manager and pushed it to JFrog-> Artifacts-&...
-1
votes
0
answers
30
views
Creating data with bins (each 1000 points) and average all variables [duplicate]
I have two variables dist and R.2. This data is in two columns and 549752 rows. I need to make a bin of 1000. For each 1000, I need to get the dist and R.2. I added another column with "No" ...
0
votes
0
answers
15
views
Using covr in R, different result from package_coverage and file_coverage
I'm running covr on a new package. Some functions are, it seems, being skipped by package_coverage(), but when I run file_coverage(), I get a higher coverage result. Why would that be?
Here's the covr ...
0
votes
0
answers
26
views
Class not found when added Livewire to Custom Laravel Package
I am in the process of building a custom laravel package. I am wanting to add Livewire/Livewire as a dependency so I can use it with my package.
However I am currently experiencing the error "...
0
votes
0
answers
14
views
My React JS Development Server is not loading, I'm getting these errors while adding "react-showdown dependency"
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\NoteApp in ReactJS\my-app\...
1
vote
0
answers
37
views
No Module named pywintypes but installed both pywin32 and pypiwin32
When trying to load a model via torch.load, I get the following error message. I've followed this guide to install to setup my environment.
-------------------------------------------------------------...
1
vote
1
answer
29
views
Running a project consisting of a bunch of jl files in Julia
I am new to Julia.
I have a collection of *.jl files. Some define certain modules:
module AAA
using BBB
export aaa
function fff(yyy)
return zzz
end
end
some of these used BBB are modules defined in ...
1
vote
2
answers
58
views
anaconda/conda UnsatisfiableError when trying to install pychrono - cannot meet python version specifications
First post. I'm trying to install pychrono (https://projectchrono.org/pychrono/) via these commands in the anaconda prompt (using windows 11).
conda create --name pychrono311 python=3.11
conda ...
0
votes
1
answer
53
views
ImportError: cannot import name 'SecretField' from 'pydantic'
I'm using prefect on a gitlab CI and it was working fine until now when it had this error:
from pydantic import BaseModel, Field, SecretField
ImportError: cannot import name 'SecretField' from '...
0
votes
0
answers
23
views
Import Error while making a package using setup.py
I am trying to build a python package which has a setup.py file , I created an entry point but I run through it then it gives import error otherwise if run normally in vs code it does not gives import ...
0
votes
1
answer
33
views
Why can't I knit my RMarkdown file with the dlookr package in the source? [duplicate]
I am using the dlookr package in my project and cannot knit my RMarkdown file while the code for installing and loading the dlookr package is in the source. This is the error I am getting:
Quitting ...
0
votes
1
answer
202
views
Getting error “error: subprocess-exited-with-error” while installing using "pip install --cert"
I have tried to install using anaconda prompt,
pip --cert "D:\DDownloads\MyCert.pem" install tflite_support
And ended up with error,
Collecting tflite_support
Using cached tflite-...
0
votes
0
answers
36
views
Getting 'promise already under evaluation: recursive default argument reference or earlier problems?' error using facebook package
I am relatively new to R, and I'm getting an error when I'm trying to run some functions within a package written by Facebook marketing science (Simmmulator):
https://github.com/facebookexperimental/...
-1
votes
0
answers
15
views
"import niftiio as nio",but I can't find niftiio when type "pip install niftiio". Which package should I install?
%reset
%load_ext autoreload
%autoreload 2
import numpy as np
import os
import glob
import SimpleITK as sitk
import matplotlib.pyplot as plt
import copy
import sys
sys.path.insert(0, '../../../...