facing error while installing jdk11 using chocolatey - windows

i am trying to install jdk11 using chocolatey using below command but facing error
command used to install jdk: choco install jdk11
error:Exception calling "DownloadFile" with "2" argument(s):

Related

Cannot install deepdive dependencies on Ubuntu 20.4

I tried installing DeepDive using the code in http://deepdive.stanford.edu/quickstart.
I couldn't install DeepDive, so I installed Deepdive_from_releases Then I tried to install dependencies, but there was an error.
Error I got
I installed python software-properties-common but still not working.

Cygwin terminal is only recognizing `pip3 install` rather than `pip2 install`

I need to install the python future module to compile a code using ./waf command, and I'm doing this using the Cygwin 64 terminal. However, due to incompatibility issues I keep getting future module not found though it is already installed. I'm trying to re-install the module using pip2 install command, and the following error occurred:
Gover#LAPTOP-OV3886CH /cygdrive/d/ardupilot
$ pip2 install future
-bash: pip2: command not found
However, I can install the future module using pip3 install , but this is still not compatible with the ./waf command. Why is pip2 install not working?
Install python27-pip and python27packages
see package contents on
https://cygwin.com/packages/x86_64/python27-pip/python27-pip-20.3.3-2

Error installing PyGObject, 'glib-object.h' file not found

I am trying to install pygobject for python 2.7 in pycharm for the purpose of using gstreamer. However I am having problems installing it. While in the virtual environment, if I use
pip install pygobject
Then the build fails and gives me this error
gi/gimodule.c:25:10: fatal error: 'glib-object.h' file not found
#include <glib-object.h>
^~~~~~~~~~~~~~~
1 error generated.
error: command 'cc' failed with exit status 1
full error log here
I know for a fact that glib exists on my system from searching for it with
find /usr -name glib-object.h
but for some reason the install can't find it. Do I have to link it in somehow/how do I go about doing this?
Also I know I can more successfully use this library with python3 but that caused some weird system errors that can apparently be resolved by using 2.7 so I am just exploring that at the moment.
With virtual environments it's recommended installing PyGObject with pipenv instead of pip.
Install pipenv with either MacPorts, HomeBrew or pipsi:
MacPorts
port install pipenv
HomeBrew
brew install pipenv
pipsi
curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python3 - --src=git+https://github.com/mitsuhiko/pipsi.git\#egg=pipsi
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
pipsi install pew
pipsi install pipenv
Once you've got pipenv installed then you should be able to add the package to your virtual environment:
pipenv install pygobject
↳ PyGObject : Creating A Development Environment

how to fix "no matching distribution found" when installing python packages on ubuntu 16.04

I have this error when i tried to install python packages.
When i run the command pip install it won't work and I have a message error that says
no matching distribution found.
I tried to upgrade the pip version but still the same problem.
PS: I'm using Ubuntu gnome 16.04.
error message
There is no module threading at PyPI (it's where from pip downloads packages). threading is a module from the standard library, you don't need to install it.

Unable to install ApiGen using CLI

I am trying to install Apigen on windows.
I am following instructions mentioned here.
But I am getting following error in cmd:
ApiGen PEAR is no more supported.
Download PHAR from apigen.org or install via composer require apigen/apigen.

Resources