128
questions
0
votes
0
answers
82
views
How to get detailed error message when installing SQL Server Management Studio via chocolatey
I am trying to install SQL Server Management Studio (SSMS) on an AWS EC2 instance via chocolatey. I am running this command:
choco install sql-server-management-studio -y
However, I get this error:
...
0
votes
1
answer
36
views
Constraints in PyChoco using %2
I use PyChoco.
I have three vectors of 0 and 1 named O1, O2, O3 and I would like to write the constraint:
O3 = (01 + O2) %2
The best I have done:
O1 = model.intvars(2,0,1)
O2 = model.intvars(2,0,1)
...
0
votes
1
answer
73
views
trouble upgrading docker compose with choco
I installed docker desktop using choco install docker-desktop --version=2.0.0.3
I have to use 2.0.0.3 because it is the last supported version for my version of Windows.
Per Docker Desktop, this ...
0
votes
3
answers
231
views
Ansible VS BuiltTools 2022 With workloads
I am using Ansible to install Visual Studio Build Tools 2022. I am trying to install specific workloads and using the documentation from Microsoft , ansible and choco but still not able to install the ...
1
vote
0
answers
44
views
How can I install snappy by choco?
I want to build a GitHub action. Since I'm not familiar with Windows platform, I use choco to install the dependencies.
But I cannot find snappy on the choco.
Or how to deal with the dependencies in ...
1
vote
1
answer
56
views
How do I model an interval variable with an intensity function on Choco Solver?
I am trying to solve a scheduling optimization problem using Choco solver. It requires the scheduling of tasks based on the workforce's shift. It includes a capability that certain tasks can be ...
0
votes
0
answers
32
views
Using nginx with chocolatey simple server on IIS doesnt install/download package from choco.example.com/chocolatey
I have an issue:
I have chocolatey simple server in a machine in IIS.
It works ok when using a https://example.com:5151 which is a domain that resovles in our public ip (DDNS) and the port that is ...
0
votes
1
answer
80
views
Unable to install ASP.NET MVC 3 using chocolatey
In the past, I have used the following command to install MVC 3 using chocolaty in the dockerfile without issue. For some reason, I started getting the 404 not found message. I think the package ...
0
votes
1
answer
849
views
How do I remove a choco version constraint that I previously added?
Previously, I needed a specific version of python and installed
choco install python --version=3.7.5
I now want to upgrade, but choco still thinks I have this version dependency and gives me the error:...
0
votes
1
answer
238
views
Nextjs Bug after downgrading node and then reinstalling back to the original version of node
I had to remove the current version of the node and downgrade to a later version to finish up with another project. Afterwards I reinstalled back to version 20 of node, but my nextjs project hasn;t ...
1
vote
1
answer
57
views
Minimize error in average of priced resource assignments
Problem definition
I need to group resources, where the average price of each group is closest to a given average price. As an input I get a list of resources with price and quantities of each one, ...
0
votes
1
answer
807
views
Installation unsuccessful: Chocolatey installation on VS Code via CMD / Power Shell
I was installing node.js and, during the installation, was given the option to also install Chocolatey. The first issue was, it didn't install. The error will be attached below.
I then ran CMD as an ...
0
votes
1
answer
49
views
Creating chocolatey packages for plug-ins of "large" applications
I have a question about using Chocolatey to package plugins for other applications. Say I have a primary application sample-app, and a plugin that can be installed for this sample-app-plugin.
...
0
votes
1
answer
697
views
Unable to retrieve Flare VM packages from myget via Chocolatey on Windows 10
I am trying to install packages for Flare VM on Windows 10 using Chocolatey, but I'm facing issues with the installation. Could you please help me resolve this problem? Here is the output I receive:
...
2
votes
0
answers
2k
views
How to tell Manim to write LaTeX using MikTeX instead TinyTeX?
I have a working Manim CE v0.17.2 installation, but I accidentally uninstall TinyTeX using choco uninstall tinytex in PowerShell (as administrator). As a result, of course, Manim can't write any LaTeX ...
2
votes
1
answer
85
views
How to use this version: 10.1.3.10-1545tr103f5d format in chocolatey nuspec version
How to use version: 10.1.3.10-1545tr103f5d format in chocolatey nuspec version. I want to include git commit id with chocolatey package version.
0
votes
1
answer
95
views
Installing FreeRDP using chocolatey gives me no executable to run?
I did a choco install freerdp and tried looking for the exe in program files etc
There's a folder in the User directory but doesn't contain anything useful
0
votes
1
answer
590
views
How to create local cache for choco package manager
I am building a windows docker image and use a package manager called choco for automating package installation. I would like to avoid downloading packages from the internet every time I modify and ...
0
votes
2
answers
3k
views
chocolatey says it has successfully force reinstalled python 3.11 - but I can't find it
Windows 11.
I am not great at virtual environments, and I have bumped around between a half dozen different "solutions." I thought I had it solved with chocolatey, but I am trying to ...
1
vote
0
answers
23
views
Why can't I upgrade chocolatey by using the command line "choco upgrade chocolatey"? [duplicate]
I tried to run this command line in Powershell in administrator mode:
choco upgrade chocolatey
But it returned:
Chocolatey v1.1.0
Upgrading the following packages:
chocolatey
By upgrading, you accept ...
-1
votes
1
answer
207
views
updating Adobe Acrobat Reader DC using chololatey
"Error upgrading application Adobe Acrobat Reader DC - \nWARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending ...
0
votes
1
answer
68
views
Is there a way to limit solutions in choco CPSolver 2.1 like there is in Solver 4.10?
I have an old Choco 2.1.4 project and would like to limit the number of solutions solvedto 2 as I am only interested in knowing if there are 0, 1 or more than one solutions and would like to shave ...
0
votes
2
answers
171
views
ChocoSolver - Find the minimal number of path to visit all cities
I am using Choco Solver 4.10.8 in Java for a constraint programming problem. The goal is to find the minimal number of path we need to use to visit all the cities in a matrix M which is defined here.
...
4
votes
1
answer
719
views
Installing Dolt on Windows 10
I was trying dolt out for windows for a project ran into this error Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied. I think its was permissions issue.
Do you want to continue?([Y]es/[...
1
vote
0
answers
171
views
What are all the duplicate .install packages in chocolatey package manager?
What are all the duplicate .install packages in chocolatey package manager? Is one for local user and the other is for the system or something else?
nodejs|16.14.2|17.9.0|false
nodejs.install|16.14.2|...
5
votes
3
answers
7k
views
installation problem - nodejs-lts (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\nodejs-lts\tools\chocolateyinstall.ps1'
I'm trying to create an android emulator for react-native, but I'm having some trouble installing some packages when I type in this command: choco install -y nodejs-lts openjdk11
You will find the ...
0
votes
1
answer
38
views
How can i call cpprofiler in choco-solver for contrainst programming profiling
I found this on choco-solver documentation but i do not know how use it with provided choco-solver sample program in order to profile.
NB: I already install cpprofiller in my machine and launch it. So ...
1
vote
1
answer
2k
views
conda create environment command gives 'Found conflicts! Looking for incompatible packages.'
I installed miniconda via choco install miniconda3.
Creating a python3 environment works fine.
conda create --name envA python=3 --verbose
But creating a python2 environment has a problem.
conda ...
0
votes
1
answer
95
views
Choco-solver IntVar declaration : How to declare an IntVar with two(or more) boundedDomain?
IntVar v = model.intVar("v", 1, 12, true);
// or
v= model.intVar("v", 20, 30, true);
I want the value of IntVar v not only in [1,12] but also in [20,30] and in other segment of ...
0
votes
2
answers
555
views
Is there a python library to use Choco solver from python? Or is it planned in the roadmap?
I work at Air Liquide and we are using choco solver in one of our optimization tool, and it is consequently coded in java. The question has been asked recently of the possibility to migrate the code ...
0
votes
1
answer
187
views
Is there a way to specify '--force' in chocolateyinstall.ps1?
I would like to be able to specify the --force argument within the chocolateyinstall.ps1 file. Currently, in that file I am invoking a batch file and try to append --force in the end but ...
0
votes
1
answer
140
views
Choco-Solver: Is there a way to know how many times a constraint is broken during the solving process?
My models is inefficient and taking too long to find valid solutions so I think knowing how many times the constraints are being broken would be useful for testing.
Thank you
1
vote
1
answer
200
views
Why doesn't Choco-solver find a solution?
I'm learning to use Choco-solver. I found that it fails to find a solution to a very simple problem, which means that I must have misunderstood something...
I reduced my code to this:
Model model =...
0
votes
1
answer
207
views
How can i put an experiession to minimize using choco solver?
I use choco solver version 2.1.5, and I want to make an experience to minimize the sum of my variables. How I can do that?
0
votes
1
answer
60
views
Finding the list of unsatisfied constraints in the Choco model
Is there a function in choco that retrieves the list of unsatisfied constraints in the model?
0
votes
1
answer
195
views
Does the Choco-Solver Java library support Parallel Programming?
My constraint problem has become too complex, and I'm looking to know if the Choco-Solver framework which I'm using to model and solve the problem supports a parallel programming approach like multi-...
0
votes
1
answer
160
views
how to check which constraints would be violated by a presumed solution?
In some cases the solver fails to find a solution for my model, which I think is there.
So I would like to populate a solution, and then check which constraint is violated.
How to do that with choco-...
2
votes
0
answers
1k
views
How to bypass all proxy settings for choco
On Windows I've got a proxy set a computer level (netsh winhttp show proxy) and user network level settings > network > proxy.
The proxy is denying almost everything. It is being picked by choco ...
11
votes
5
answers
21k
views
" choco install visualstudio2017-workload-vctools " Fails Error: The install of visualstudio2017-workload-vctools was NOT successful
C:\WINDOWS\system32>choco install visualstudio2017-workload-vctools
Chocolatey v0.10.15
Installing the following packages:
visualstudio2017-workload-vctools
By installing you accept licenses for ...
1
vote
1
answer
523
views
How do you install meteor with choco?
I'm installing Meteor through Choco and so far it only installs version .0.0.4. I believe it should be installing 1.1? Also it installs an empty Meteor folder. How do you get the proper Meteor version ...
1
vote
1
answer
245
views
Deploy VS19 over PowerShell DSC and choco
My goal is to deploy TeamCity agents configuration in Azure with DSC extensions. I'm able to deploy all required apps and services but I can't find how to deploy Visual Studio 19 with its optional ...
0
votes
1
answer
111
views
Numpy is installed, but astropy says numpy is not installed
An ImportError is thrown when my program searches for Numpy. Yet, numpy is installed as seen by the import numpy working properly.
I've tried
uninstalling python and numpy and reinstalling with ...
0
votes
1
answer
75
views
Choco 4: calling a method whenever a Boolean variable gets assigned or unassigned
I have a technical question regarding the Choco 4 CP solver.
I would like to call a method (lets call it f()) whenever some Boolean variables in my model are assigned or unassigned during search. The ...
0
votes
1
answer
170
views
How can I can add an arithmetic constraint to my model in chocosolver
I'm new to chocosolver, and i want to add an arithmetic constraint to my model. The probleme is that the constraint contains 6 Invar variables.
Here is the constraint: ((A1*B1)+(A2*B2)) / (B1+B2) = ...
1
vote
1
answer
459
views
How i can get sum of variables in choco solver
I have
IntVar[] orArea = new IntVar[N];
IntVar[] orCount = new IntVar[N];
IntVar[] orRows = new IntVar[N];
IntVar total_trim = model.intVar("trim", 0, 1000);
for (int i = 0; i < N; i++) {
...
0
votes
1
answer
283
views
Puppet: how to check in IF condition if a Choco package installed OR a local user exists?
Windows Server environment. We have servers with a Puppet role that installs a specific Choco package. It was decided that the package should not be installed on new servers. The simplest way would be ...
1
vote
1
answer
424
views
Choco-solver : define a constraint on a part of an intVar
Can we check an equality between 2 partial number with choco solver ?
I have a 2 dimensional array, and for each element of it, their domain are different number who have the same form : a number ...
0
votes
1
answer
311
views
Run powershell command from cmd [duplicate]
I want to run a PowerShell command from cmd, because I need to install the Chocolatey package manager from my Python script. Like this:
import subprocess as sp
choco = sp.Popen(['powershell', 'Start-...
0
votes
1
answer
243
views
Reusing choco solver model to further constrain the solution
I'm using the choco solver library to generate a set of puzzles. I need to run the solver, check how many solutions there are and if there is more than one, add an extra constraint. Repeating this ...
0
votes
0
answers
68
views
how to use Choco to set objective like 3.5X+4.2Y?
I am new to Choco. I found an example online saying showing how to set the object as below
// Model objective function 3X + 4Y
IntVar OBJ = model.intVar("objective", 0, 999);
model.scalar(new IntVar[]...