Error in installing cygwin - windows

I'm trying to install the cygwin but i am getting that unable to get setup.ini from the mirrors on the website and also I tried many mirrors incuding the http://mirrors.kernel.org. I also tried many mirrors that are suggested in the cygwin official website but none of them work.How many time I do try i get the same error and as the suggestion provided from the mirror http://mirrors.kernel.org/sourceware/cygwin, I do getting the same error.
Any suggerstion how to install cygwin?

Related

pip install psd-tools3 => FileNotFoundError: [Errno 2] No such file or directory

I was trying to install Ursina but I was having trouble getting all the required packages I needed to run my code properly. Come to find out, there's a package that refuses to install called 'psd-tools3' that won't install, no matter what I do.
I've been using cmd commands like 'pip install psd-tools3' and 'pip3 install psd-tools3' but no other commands work (i.e. 'sudo pip install psd-tools3' doesn't work because my PC doesn't know what 'sudo' means and doesn't run). I've tried installing required packages for this package, but nothing works. It just keeps giving me this error:
enter image description here
I would really appreciate the help with this problem. All I can really assume is that the Python file '_version' hasn't been created and that's what's throwing the whole program off. If there is a way to add this manually and then install it, I would appreciate steps to do that as well.
I was running this on a Lenovo Thinkpad (Windows 10) on Python 3.10 (I also have Python 3.8.3 but that was installed with the 3.10) and I made sure all packages and pip are up-to-date. Still having this problem and I don't know why.
Seems to me like the issue is on the side of the maintainers of psd-tools3.
For example, looking at the content of the latest source distribution on PyPI, we can see that it does not contain any _version.py file.
This needs to be solved by the project's maintainers, but they do not have a ticket tracker. On the other hand there seems to be an "Author" email address on the project's PyPI page as well as in the project's setup.py script.
A solution might be to clone the project's source code repository (with git), and try to install from the local clone.
Just simply try
pip install psd-tools3==1.9.0
Or
pip install psd-tools3==1.8.2
This should work on your pc as well. I was having same issue, and then I tried this It worked for me

HDP sanbox: yum install is throwing 403 error

I am trying to setup HDP sandbox and work on a big data project.But when trying to do yum install, I am getting below error
http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/BUILDS/2.4.0.0-1225/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/solutions/69319
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: AMBARI.2.4.0.0-2.x. Please verify its path and try again
I tried below instructions:
in /etc/yum.repos.d/sandbox.repo, updated the enabled=0
yum clean all
yum update
But yum update gives me this error.I cannot even install any python related libraries to proceed with my work.Can someone give me solution for this error.
Thanks!!
I had the same problem, and in order to solve it, I backed up the repositories:
ambari.repo
HDP.repo
HDP-UTILS.repo
then I removed them from the /yum.repos.d folder.
Then I ran the following command:
yum clean all
After that the yum update worked, and I managed to install the things I needed.
** What I noticed, is that whenever I tried to use any YUM command, it gave preference to these repositories that I mentioned.

Ros/Ros2 install failing maybe due to dependencies

I have extensively tried the link
https://index.ros.org/doc/ros2/Installation/Crystal/Windows-Install-Binary/#id3
only for it to fail many, many times. The same with other Ros and Ros2 install guides I could find. I tried searching for solutions at every point of failure and could not find any that worked. Both Ros and Ros2 have failed to install on Windows, Ubuntu 18 and 20, or Raspbian.
Many of the install attempt failed due to dependencies issues, and I have been unable to track down the missing things or otherwise get them to be correctly recognized as available for Ros or Ros2.
If anyone has successfully installed Ros or Ros2, I would like to ask them about it and here details of what worked for them.
If you run the commands step by step following with the document, the ROS shoul be installed correctly. But if your network is poor, the download of some packages will be timeout, it will cause the missing of dependencies. BTW, it is important that you need to run the commands with administrator account.

Elasticsearch : Marvel and Sense Plugin Installation does not work

I have tried the online and offline instructions for installing marvel and sense, but nothing works. I have ES 2.2.1 and Kibana 4.4.2
I tried
plugin install marvel-agent
but i get
Installing marvel-agent...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.2.0/marvel-agent-2.2.0.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information
same error for
bin/plugin install license
bin/kibana plugin --install elasticsearch/marvel/latest
so then i tried downloading the files and follow instructions on
https://www.elastic.co/guide/en/marvel/current/installing-marvel.html#offline-installation
i tried
plugin install file:///C:/Users/xyz/ElasticSearch/zips/marvel-agent-2.2.0.zip
but i get
-> Installing from file:/C:/Users/xyz/ElasticSearch/zips/marvel-agent-2.2.0.zip...
Trying file:/C:/Users/xyz/ElasticSearch/zips/marvel-agent-2.2.0.zip ...
Downloading ..DONE
Verifying file:/C:/Users/xyz/ElasticSearch/zips/marvel-agent-2.2.0.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
same for
plugin install file:///C:/Users/xyz/ElasticSearch/zips/license-2.2.0.zip
and finally for
kibana plugin --install marvel --url file:///C:/Users/xyz/ElasticSearch/zips/marvel-2.2.0.tar.gz
i get
Installing marvel
Attempting to transfer from file:///C:/Users/xyz/ElasticSearch/zips/marvel-2.2.0.tar.gz
Error: ENOTFOUND
Plugin installation was unsuccessful due to error "No valid url specified."
Please point out what i am doing wrong.
For me, the last installation instruction required a different format for the url.
file://c:/Temp/ElasticSearch/marvel-2.2.1.tar.gz. Basically, remove one of the forward slashes.
download the Sense tar file from the following link: https://download.elasticsearch.org/elastic/sense/sense-latest.tar.gz
open cmd form kibana\bin location
then you can install Sense using the following command:
kibana plugin -i sense -u file:PATH_TO_SENSE_TAR_FILE

Running .sh file on Windows in git bash gives an error: Unable to find Digest::SHA or Digest::SHA::PurePerl

Good day to all!
While trying to build a fork of scala from github on my local PC and running
pull-binary-libs.sh in git bash I receive such an error:
Unable to find Digest::SHA or Digest::SHA::PurePerl
Trouble downloading 943cd5c8802b2a3a64a010efb86ec19bac142e40/lib/ant/ant-contrib
.jar. Please try pull-binary-libs again when your internet connection is stable
I can't figure out what's happening. I am a new bie to git, that's why maybe I am missing something. Any help will be appreceated.
P.S. I tried to install cygwin to ryn script from it, but I have problems during installation that constantly interrupt it. So I am using git bash instead.
UPDATE: I tried to install modules using СPAN. I even had successfully installed PurePerl and SH1 as CPAN messages reported. While trying to insall Digest::SHA I receive some errors connected with nmake. And while trying to run scripts again I get errors mentioned above.
It sounds like you are missing Perl modules that Scala's build system requires.
See How to Install CPAN Modules.

Resources