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,437
questions
0
votes
0
answers
7
views
New class creating
When I want to create class in default package Eclipse shows this error:
"Must Declare a Named Package Because This Compilation Unit is Associated to the Named Module"
then I have to delete ...
1
vote
0
answers
24
views
Cannot run a python package in amazon sagemaker, but can run it in amazon terminal?
I am trying to use https://github.com/amzn/pecos in amazon sagemaker. I follow the readme of pecos to install it using amazon terminal. Then one can see the package is installed from terminal:
...
0
votes
0
answers
15
views
Not allowed to load local resource problem?
i'm trying t use Backpack React Scripts but it won't run the local resource,
i tried to change the DNS server and use web server for chrome but it did't work
any help please?
i'm trying t use ...
0
votes
0
answers
12
views
Change python default compiler to MSC
I earlier had python installed from python.org ( MSC). Recently I installed MSYS2 and by default, python has installed again (GCC). If I check my python version in command prompt I will get this :
&...
1
vote
0
answers
13
views
Make `citation()` print both text and BibTeX for two sources
Situation
I am writing the CITATION file for an R package. When I build and install the package, I can successfully use the citation() function to either
a) print the citation of my package in both ...
-1
votes
0
answers
20
views
sudo: command not found, apt-get: command not found, yum: command not found in Cpanel Terminal
I'm having a problem installing some packages with the apt-get because the terminal says the command can't be found for some reason.. any Ideas?
The image
the Operating System is: linux
I looked ...
0
votes
0
answers
11
views
Error: 'TextInputControl' flutter zefyrka package
i get this error
Launching lib\main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
../../../development/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/zefyrka-1.4.0/...
0
votes
0
answers
16
views
Failed to process package 'rosconsole':
I have installed ROS noetic on raspian buster but it get gives error when this command is implemented as per the procedure mentioned in
http://wiki.ros.org/noetic/Installation/Source
./src/catkin/bin/...
0
votes
0
answers
16
views
Flutter 3.7 create different result from before(3.3) and from doc, based on this command `flutter create --template=package <package_name>`
based on this flutter doc :
this line flutter create --template=package hello
should produce following content :
LICENSE
test/hello_test.dart
hello.iml
.gitignore
.metadata
pubspec.yaml
tool.
README....
0
votes
0
answers
7
views
What does <package-name>: "workspace:^" mean in package.json in yarn workspaces
Often, in the IDE when people are developing a package, I see that they have a package.json file.
In the package.json file, it will look something like this. (fyi, using yarn workspaces)
name: <...
0
votes
0
answers
25
views
Python locally installed package, module not defined
I have a local package set up like this:
D:.
| .gitignore
| LICENSE
| pyproject.toml
| README.md
| requirements.txt
+---.venv
| | ...
+---mypackage
| | __init__.py
| +--...
0
votes
0
answers
13
views
Swift Package Manager - Package not found when trying to add to Frameworks, Libraries, and Embedded Content for additonal targets
I am trying to migrate from CocoaPods to SPM. When I add a package to the project, everything works fine and it is added to my first target and listed in the Frameworks, Libraries, and Embedded ...
0
votes
0
answers
44
views
My cv2 does not recognize the method detectMultiScale()
Hello everyone I am working on a project I have version 4.6 of opencv apparently does not detect this method.
As if it didn't exist, it doesn't return any error either.
I put an image. Image
if ...
0
votes
0
answers
13
views
What aligns better with PEP styling. Should I split classes out in different files or keep them in the same file? [closed]
My understanding is that typical style preference is to contain classes that are related in the same file, so that the file can be interpreted as a module. More or less this structure (call it ...
0
votes
1
answer
37
views
Error `The declared package "part2.stage2" does not match the expected package ""` with correct package name
So I have a Competitor.java file on path: /home/john/javaStuff/CMTR/src/part2/stage2/Competitor.java. I have VSCode open in the CMTR. So CMTR is my current working directory if that info is necessary.
...
2
votes
0
answers
32
views
It is possible to write in octave directly in VB.net?
I would like to know if there is a way to directly program in octave - or other open source similar to matlab - within a VB.net project (maybe there are some packages).
In this way I could use the ...
0
votes
0
answers
22
views
How can I implement this design Charts Radius Bar in Flutter?
I can't find any package to implement this UI
This is my design using Syncfusion_fluter
1
vote
0
answers
25
views
Check extended parameters for R package
When I use R package and use "?function" to search for helpful information or documentation, I usually find there is an incomplete parameter list. There are many information omitted in "...
0
votes
0
answers
31
views
install.packages() in R on GNU/Linux system
I install R (v. 4.2.2) in GNU Guix Linux-libre. But, after trying installation package 'Rcpp', I got error: std::__throw_bad_array_new_length().
> install.packages("Rcpp")
Installing ...
-1
votes
0
answers
27
views
Termux Unable to locate package metasploit
$ apt-get install metasploit
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package metasploit
How to install metasploit
0
votes
0
answers
34
views
Pygame not working after 'pip install pygame --pre' [duplicate]
I looked through questions about not being able to install pygame and I came across 'pip install pygame --pre' so I entered that in the command line. It was installed successfully but when I checked ...
0
votes
0
answers
11
views
Pass the user that made the action to the mongoose history plugin
I want to create a mongoose history plugin that tracks the changes but my problem here is how can I pass the user in an efficient way.
PS: Storing in the global object does not help as it may cause a ...
0
votes
1
answer
49
views
Getting these errors while installing packages on react native
I am getting these errors while installing react-native-linear-gradient, even for uninstalling and updating I am getting the same errors.
PS C:\Users\sawan\OneDrive\Desktop\WorkoutApp\workout> npm ...
0
votes
0
answers
12
views
Create Custom Block For Umbraco 11 Grid Layout
I'm converting Umbraco 8 package to Umbraco 11, but our Umbraco 8 version we used a custom grid layout editor.
According to my knowledge, I can't use it with Umbraco 11 as it has Block content. (https:...
0
votes
0
answers
10
views
Not Install Package On Atom Ide and not install themes too
C:\Users\ali aminaee\AppData\Local\atom\app-1.63.1\resources\app\apm\lib\featured.js:60
packages = body.filter(function(pack) {
^
TypeError: body.filter is not a function
...
-1
votes
0
answers
10
views
error :package org.sunbird.batch.actor does not exist [duplicate]
error :package org.sunbird.batch.actor does not exist
error :package org.sunbird.batch.actor does not exist while compiling & running time it build sucessfull , but after check api means api hit ...
0
votes
0
answers
22
views
How to create a NPM package that simply houses a declaration file
I have been trying to create an NPM package with just a declaration file inside. For context, I have an external plugin system for an entirely separate codebase and I wish to have a package you can ...
0
votes
0
answers
32
views
Linear gradient was working in my project and suddenly it showed me an error saying react-native-linear-gradient could not be found within the project
I had used react native linear gradient as one of my packages in my react native project. It was working when I installed it, but after a few days it started showing an error saying unable to resolve ...
-2
votes
0
answers
27
views
Python - Is it OK to have one class or function per file? [closed]
I'm switching from Matlab to Python and I struggle with the fact that in Python one can include many classes and functions in a single .py file. I'm not able to navigate through files like that. What ...
0
votes
0
answers
27
views
I'm trying to run a Python SDK and am getting errors from runpy.py. How to fix it?
(base) kiin@kiin ~ % python3 -m anki_vector.configure
Traceback (most recent call last):
File "/Users/kiin/opt/anaconda3/lib/python3.9/runpy.py", line 188, in _run_module_as_main
mod_name, ...
2
votes
1
answer
32
views
Is it possible to use my own private go package in a lambda that is deployed through github actions?
I published a private package to my organizations github repository. When I try to deploy a lambda through github actions that uses this package, I get an error saying
"fatal: could not read ...
0
votes
0
answers
17
views
gpg: no valid OpenPGP - https://pkg.cloudflare.com/ [FAILED]
I am trying to add a repository CloudFlare,through this manual.
curl -C - https://pkg.cloudflare.com/pubkey.gpg | sudo apt-key add -
I am met with the following error:
gpg: no valid OpenPGP data ...
0
votes
1
answer
31
views
ROS2 colcon build failure
Win10 x64, ROS 2 - Humble, VS 2019
I'm going through the ROS beginners tutorials but I've run into problem building packages with colcon and got as far as the Using colcon to build packages tutorial.
...
2
votes
4
answers
92
views
"ModuleNotFoundError" after installing a python package
Problem summary
I am very new to python package development. I developed a package and published it at TestPyPI. I install this package trough pip with no errors. However, python is giving me a "...
0
votes
0
answers
24
views
ModuleNotFoundError: my script can't find the module that I had written for my data analysis
I am working on project for my thesis and wrote a data analysis program with fellow students. Originally I had used the program on my windows laptop where everything worked just fine. Unfortunately, ...
-2
votes
0
answers
14
views
Flutter background_locator error on build apk
enter image description here
install package
enter image description here
How To fix it ? or what's latest version of package background_locator ?
0
votes
1
answer
15
views
Change the package name in the Google Play Console
I have changed the name of my two apps and I would like to change the name of the package in the Google Play Console (I have already changed it in the programming app that I use) since, in production, ...
0
votes
1
answer
20
views
prompt.sync module requiring ()
Below is a simple programme importing few modules in Node.js
const prompt = require('prompt-sync')();
const http = require('http');
const file = require('fs')
const low = require('lodash');
In all ...
0
votes
1
answer
31
views
manually resizable and overlay square in the screen with flutter
hi I'm trying to make a widget like the one in this image"(green one) with flutter , the main function is being resizable and overlaying.
is there any idea to achieve this ?
thanks
-3
votes
0
answers
17
views
I got this "ERROR: Exception" error while installing tensorflow by pip in my window machi [closed]
system = windows (64b)
pc = with internal GPU
I am trying to install tensorflow in my environment by using pip install tensorflow
actual error which I got
ERROR: Exception:
Traceback (most recent call ...
-1
votes
0
answers
13
views
How can I properly structure my modules/packages? [closed]
Of course I've googled this question a couple times and found some really helpful results, most notably
https://docs.python-guide.org/writing/structure/.
Most often, when people discuss structures, ...
0
votes
0
answers
65
views
Not able to install package in atom ide
I want to download some packages in atom ide, I am not able to do so.
I am getting following errors...
atom feature error image
Fetching featured packages failed.Hide output…
C:\Users\prits\AppData\...
-1
votes
1
answer
33
views
How to properly build package to use a function without module name when importing the module?
I have been experimenting with packaging, testing it on test.pypi.
My structure is as follows:
package_name/
|--- LICENSE
|--- pyproject.toml
|--- README.md
|--- tests/
|--- dist/
|--- src/
|--- ...
0
votes
0
answers
29
views
Are non-exported packages still accessible from the unnamed module?
I am trying to restrict access to a package in my Java application using module-info.java.
For the sake of simplicity, lets say I have the packages org.test.a, org.test.b and this module-info.class:
...
0
votes
1
answer
30
views
Override constants within a python package
I am using this python package for a personal project: https://openpifpaf.github.io/intro.html
I have installed it with pip install openpifpaf.
I am trying to train a new model with openpifpaf.train ...
0
votes
0
answers
27
views
I have a multi module project where I can't solve this error
My problem
Description:
Field userRepository in com.toomuch2learn.microservices.servicea.controller.security.services.UserDetailsServiceImpl required a bean of type 'com.toomuch2learn.microservices....
0
votes
0
answers
13
views
I'm encountering an error while installing turicreate module on wsl, is there any requirements I'm missing?
whenever I try to install turicreate module on wsl it's showing an error like this
`Collecting turicreate
Using cached turicreate-6.4.tar.gz (1.9 kB)
Preparing metadata (setup.py) ... done
Using ...
0
votes
1
answer
28
views
Building python package doesn't find requirements.txt
Its the first time that I have to use the content of an old git repository in the one that I'm actually working. I decided to try to create a Python Package of it to import in the new as a library (I ...
0
votes
0
answers
23
views
Simple ReactJS app with MobX - Imports giving me trouble
I am trying to understand React JS, specifically how to use MobX
I am importing the necessary Packages, to be able to run the code in Codepen.io. For some reason the code won't run. Do I have the ...
-1
votes
0
answers
21
views
PackagesNotFoundError: - kallistro [closed]
Kallistro
I was trying to install Kallistro in my system. However I got the message as in the screenshot. Any suggestion?
Thank you.
I tried to different environment. Still the same