Skip to main content
Filter by
Sorted by
Tagged with
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: ...
polo's user avatar
  • 365
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) ...
Arnaud Bégyn's user avatar
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 ...
Frank's user avatar
  • 1,174
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 ...
PanzerRage's user avatar
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 ...
1412's user avatar
  • 11
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 ...
l_maadhav's user avatar
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 ...
Ektor Skourtis's user avatar
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 ...
Alvin's user avatar
  • 302
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:...
My Code Made Me Suicidal's user avatar
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 ...
Micheal Palliparambil's user avatar
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, ...
Marcelo Grossi's user avatar
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 ...
Shafin Mahmud's user avatar
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. ...
Eric Anastas's user avatar
  • 22.1k
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: ...
joan's user avatar
  • 39
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 ...
Hanif's user avatar
  • 21
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.
Avinash Jaiswal's user avatar
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
sak2's user avatar
  • 3
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 ...
Alin's user avatar
  • 3
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 ...
Adam's user avatar
  • 940
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 ...
corror's user avatar
  • 53
-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 ...
Raja Sac's user avatar
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 ...
lost baby's user avatar
  • 3,268
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. ...
MatthieuQcc's user avatar
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/[...
Leslie Wubbel's user avatar
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|...
Alex's user avatar
  • 657
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 ...
Adam Breslin's user avatar
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 ...
Genereux's user avatar
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 ...
phreed's user avatar
  • 1,859
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 ...
Yves Cabon's user avatar
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 ...
Laura HOULLEY's user avatar
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 ...
YM_coding's user avatar
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
Eloy's user avatar
  • 1
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 =...
Rolf Staflin's user avatar
  • 2,167
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?
MAJID majid's user avatar
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?
Saman A. Barakat's user avatar
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-...
Eloy's user avatar
  • 1
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-...
brunesto's user avatar
  • 440
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 ...
Fran's user avatar
  • 4,062
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 ...
RakeshP-0304's user avatar
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 ...
d2webdeveloper's user avatar
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 ...
Oleh Tarasenko's user avatar
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 ...
unixcorn's user avatar
  • 426
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 ...
Avi Itzhakov's user avatar
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) = ...
Zakaria Zahi's user avatar
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++) { ...
Сергей Андреев's user avatar
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 ...
Evgeny's user avatar
  • 53
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 ...
Nairo's user avatar
  • 71
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-...
heavyblack1's user avatar
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 ...
Graham Evans's user avatar
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[]...
Laodao's user avatar
  • 1,679