Questions tagged [requirements]
A list of capabilities or attributes necessary to be in compliance of some specification.
523
questions
1
vote
0
answers
21
views
How much powerfull server needed for my web project? [closed]
after 3 days I'm publishing my biggest project i ever made.
But i don't know how much powerfull server needed for my project.
My project are doing lot's of process for every user. Like check user ...
0
votes
0
answers
39
views
I get the errorMessage: "Unable to import module 'app_api': No module named 'regex._regex'"
app_api is a file which is used by another file named app. It also says the module regex._regex cannot be found. I suspect it is to do with the requirements.txt file. What do I need to put in that ...
-1
votes
0
answers
34
views
How to produce requirements from solid state machine diagram? [closed]
I am trying to automatically produce a list of system/software requirements from a solid state diagram. Mostly using Enterprise Architect to draw the diagrams (but also looked into MATLAB and Simulink)...
2
votes
1
answer
35
views
How to draw a use-case diagram for the given context?
Given the following description of a tracking request to DHL
In the age of Corona, we order many things online. The delivery does not
always work out as planned, so we are interested in getting (more)...
0
votes
0
answers
30
views
Procedure to determine how a requirements file was generated
Context: I am working with python codes developed by different teams and each teams provides their corresponding requirements file. Trying to install the requirements via pip (pip install -r ...
0
votes
2
answers
42
views
APK crash after converting with Buildozer
After I convert Python To APK using Buildozer my APK file crashes
is there something wrong in my requirements line
requirements = python3,kivy,kivymd,psutil,speedtest,pillow
import datetime
import ...
3
votes
2
answers
33
views
Can an animal be an actor in use case diagram?
I am developing a use case diagram for dog veterinary. However, I was confused that whether I should use dog as an actor or not as it cannot communicate with the system. However, everything that ...
0
votes
1
answer
34
views
Transform conda-generated requirements.txt file to a format that works with pip
My goal is to transform conda generated requirement.txt files to .txt files that can be used with pip. I know about the requirement.txt files that are conda generated but I am working on a cluster and ...
0
votes
0
answers
25
views
How to Insert Work Item in a LiveDoc using web-service client api in Polarion?
I have a question about the Polarion SDK API. I am trying to insert WorkItems in a LiveDoc using webservices api. The webservics have apis for creating a workitem within the doc/module or move item ...
0
votes
1
answer
23
views
Update my app in Google Play with significant changes
Now my company wants to update app with significant changes.
In new app version will change absolutely whole design and internal logic (code).
Will the market allow such an application to be released? ...
2
votes
1
answer
31
views
how can I include a python wheel file stored in Jfrog pypi repository in a requirement.txt
how can I include a python wheel file stored in our private Artifactory PyPI repository in a requirement.txt? Our Artifactory is self-hosted and not cloud
I have a python app packaged into a wheel ...
1
vote
0
answers
49
views
pip: Use version in requirements.txt to build wheels
I've got the following requirements.txt file:
matplotlib==3.4.2
numpy==1.22.4
and after installation (pip -r requirements.txt), if I execute python -c "import matplotlib" I got the ...
0
votes
1
answer
18
views
Versions not found when installing from requirements-file with pip in venv
I want to make a 'copy' of my python virtual environment, which is a venv, in another directory (on a different machine) following this post. But I run into some problems for which I found no solution ...
0
votes
0
answers
16
views
ValueError: source code string cannot contain null bytes when I install a new requirements.txt file
I did a pip install -r requirements.txt and after that, realized that my development server could nolonger start. I have been unable to tell which of the files installed caused this. I even tried to ...
0
votes
1
answer
31
views
pip install from GitHub source fails to install dependencies defined in repository's requirements.txt
I'm trying to fully install a Github repository in my package. The item is added properly to my setup.cfg file:
install_requires =
requests>=2.27.0, <3.0.0
rich>=12.3.0, <13.0.0
...
1
vote
1
answer
21
views
meta.yaml: how to require one from a list of packages
Is there a way to code a requirements section in a meta.yaml file where any one package from a list of choices will satisfy the requirement? This is where different packages provide the same needed ...
-2
votes
2
answers
43
views
How can I add python-dev package to requirements.txt?
I am trying add the python-dev package to my requirements.txt file, but I must be using the wrong package name. I have tried:
python3.7-dev
python-dev
py-dev
0
votes
1
answer
402
views
Could not find a version that matches protobuf?
I need to check my dependencies with this command:
pipreqs ./myPorjectFolder --savepath requirements.in --force && pip-compile
This command used to work just fine. However, I am now received ...
3
votes
1
answer
58
views
How to generate "global documentation" with doxygen
I have a fair understanding of both how to document code and how to write "generic documentation" using @mainpage, @page, @subpage and related tags.
I would need to include requirements/...
1
vote
1
answer
204
views
Anaconda3 - cp1251.py: 'charmap' codec can't decode byte 0x98 in position 1130: character maps to <undefined>
I'm trying to install packages from requirements.txt with PIP inside a PIP created environment for YOLOv5 and stumble upon this message.
> File "C:\Users\username\anaconda3\lib\encodings\...
1
vote
1
answer
79
views
Why do we differentiate between functional and non functional requirements
I understand the difference between functional and non functional requirements.
What I never understood is, why do we make this differentiation?
(Rephrased) When I design a solution, why is it ...
1
vote
1
answer
33
views
Regex to match code with fixed country code and variable wildcard usage
I need to implement a regex which cover several requirements. These are the following:
A length restriction to max 8 chars should be done (with or
without wildcard). In any case the code is never ...
0
votes
1
answer
109
views
pip-compile error using Anaconda - File "/opt/anaconda3/bin/pip-compile", line 8, in <module> sys.exit(cli())
My pip version is 22.0.4. I had the most recent version but had to downgrad because I noticed the same error mentioned here: https://github.com/jazzband/pip-tools/issues/1617)
When I try to run pip-...
2
votes
1
answer
22
views
User story for drag and drop feature
Can anyone help me create a User Story for the dragging and dropping feature, where I can drag and drop projects from "New Project" to "In progress" etc Column
0
votes
1
answer
64
views
Unable to deploy fbprophet in heroku
I am unable to deploy fbprophet time series model into heroku. Locally, it works well.
The requirements.txt file contains as follows.
numpy
pandas
matplotlib
pystan==2.19.1.1
streamlit
plotly
...
0
votes
0
answers
14
views
Split ratio between automation and manual testing
I wonder what it means: "I do 20% manual testing and 80% automation testing". How can we maintain this ratio since requirements vary a lot? Isn't it supposed to be unpredictable?
-3
votes
1
answer
103
views
Error comes while installation of random module of python
ERROR: Could not find a version that satisfies the requirement python-random (from versions: none)
ERROR: No matching distribution found for python-random
1
vote
1
answer
80
views
RegExe Reqtify : capturing multilines Requirements
I'm new here and I'm also a beginner in regex.
I'm using Reqtify to match and capture Requirements from a PDF file.
Here the example of the file content:
**Requirement1**
Text of the first ...
0
votes
1
answer
64
views
Create a folder in DXL - DOORS
I am trying to make a script that will copy the contents of one project to another (ie folders and modules) in DXL. To do it, I have seen that there is the create function,
create(string name, string ...
0
votes
0
answers
18
views
How to show version number (of standard packages) and Github-Url (of custom code) with pip freeze?
How can I get a clean pip freeze output for custom Github-code and standard packages?
With pip freeze > requirements.txt, I get:
airfoil @ git+https://github.com/...
alabaster @ file:///home/ktietz/...
0
votes
0
answers
48
views
Could not find a version that satisfies the requirement autopep8==1.6.0
I am getting this error message when setting the requirements. But the package vary, when I tried yesterday, the package that could not be find was numpy, and today is autopep8.
ERROR MESSAGE: Could ...
0
votes
0
answers
19
views
How do I resolve this urllib3 issue when trying to get a forked django project up and running?
I have a fork of a django project I am trying to get up and running for my local development environment. When I run my requirements it chokes with ~ this message [Cannot install -r requirements.txt (...
0
votes
0
answers
215
views
docker: Error response from daemon: hcsshim::CreateComputeSystem The virtual machine could not be started because a required feature is not installed
Let me immediately point out that I have reviewed all of the possible solutions on the stack and none of them work, maybe because of a newer version of the docker or something. Can anyone guess what ...
0
votes
1
answer
119
views
can't install modified pafy version in heroku django
I made a django app with pafy (I used the modified version, because the official one gives errors check this https://github.com/mps-youtube/pafy/pull/305) and when I push it to heroku I get errors
...
0
votes
0
answers
11
views
Set Python Interpreter Version in requirements.txt file [duplicate]
Is it possible to set in the requirements.txt some logic that it only will install the packages if a given interpreter is used?
Like in example if the packages should only be installed if python 3.6 ...
-2
votes
1
answer
29
views
What should look like to be my requirements.txt file?
I want to deploy a python script on Heroku cloud via GitHub and I am using these python libraries, Module, API
from amazon_paapi import AmazonApi
import base64
import requests
import random
import ...
3
votes
3
answers
85
views
Clients requirements on use case diagram
I want to create a use case diagram based on customer requirements (pnline food ordering system), which are for example
ensure on-time delivery
process and package orders
promote the pizza shop
How ...
0
votes
0
answers
7
views
Which thought process/diagram/tools you use to understand a complex application (BAs/Devs/Testers/Architects/UX-UI)?
Do you think this is a good approach? What else do you use?
I want to know if there is a better approach.
I recently started working in a new complex webapp, where I have to understand the modules to ...
1
vote
0
answers
200
views
Why the pip dependency has been satisfied but the latest version is still reinstalled(pytorch)
I have two pip package A and B,A requires pytorch version==1.7.0,and B requires pytorch version >= 1.6.0. First I installed A, and my torch version become 1.7.0,then I installed B , but B installed ...
3
votes
1
answer
2k
views
How can I create a requirements.txt in Google colab?
I have already tested the following:
!pip freeze > requirements.txt --> saves all packages in the environment
pipreqs --> returns an empty file
I need a compilation of all imported packages ...
1
vote
0
answers
402
views
Pipreqs missing optional dependency package requirement
Most of the time, I use pipreqs to generate a requirements.txt file so anyone can reproduce the working environment on their side based on that requirements file.
Here I am facing a case where there ...
0
votes
0
answers
106
views
pipreqs FileNotFoundError on windows requirements.txt not generating?
NobinEnv) C:\Users\zesha\Documents\GitHub\sust-cse-alumni-repo>pipreqs .\Users\zesha\Documents\GitHub\sust-cse-alumni-repo
Traceback (most recent call last):
File "C:\Program Files\...
1
vote
2
answers
52
views
How do I depict this situation in a use-case diagram?
Consider a scenario as such:
A university ABC allocates 2 lecturers to a course (a main lecturer and a substitute lecturer). The job of the substitute lecturer is to conduct lectures whenever the main ...
1
vote
4
answers
933
views
Creating requirements.txt in GitLab
Probably a silly question, but I am trying to set up a project in GitLab that is going to be used for deployment of an ML model, for which I will use FastAPI. I'm very new to this and will try to ...
1
vote
0
answers
48
views
How to require one of two packages to be present?
I maintain a Python module. There are two existing modules on PyPi which provide a functionality that is mandatory for my project to work. They don't conflict with each other in any way.
I'd like my ...
-1
votes
1
answer
47
views
Exporting C# Applications to clients - Confusion about imports
I never really understood the technical requirements for C# applications.
I know Windows 10 has some .NET-versions installed by default. But whenever i write a console-application in c# and copy the ...
1
vote
2
answers
2k
views
ERROR: Could not install packages due to an OSError?
I am getting errors please tell me what is wrong with this, I am not able to find a solution anywhere!
I am working on one project but when other members try with install -r rquirements.txt they get ...
0
votes
1
answer
97
views
Symfony 4 Conditional Routing
im building a website using symfony 4. The website's pages are dynamically created in an admin section.
How can i create an exception or requirements that the rout rendering the custom pages should ...
0
votes
1
answer
56
views
Should functions that depend upon specific values be made unsafe?
I have a function that takes a usize equivalent to a pointer, and aligns it up to the next alignment point.
It doesn't require any unsafe as it's side effect free, but the alignment must be a power of ...
3
votes
1
answer
1k
views
Package built by Poetry is missing runtime dependencies
I've been working on a project which so far has just involved building some cloud infrastructure, and now I'm trying to add a CLI to simplify running some AWS Lambdas. Unfortunately both the sdist and ...