I have problem with installation of PyDev in Eclipse Indigo. I used Help -> Install new software -> and http://pydev.org/updates repository. I try it for 3 days yet but it is still not work. First, I got error: unabled to read repository.
Today, repository was found but during installation of package I got error:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://update-production-pydev.s3.amazonaws.com/pydev/updates/plugins/org.python.pydev_2.2.2.2011082312.jar.
Read timed out
Unable to read repository at http://update-production-pydev.s3.amazonaws.com/pydev/updates/plugins/org.python.pydev.debug_2.2.2.2011082312.jar.
Read timed out
Unable to read repository at http://update-production-pydev.s3.amazonaws.com/pydev/updates/plugins/org.python.pydev.jython_2.2.2.2011082312.jar.
Read timed out
It seems like the repository is out of order. Does somebody know, what to do? Thanks!
use http://update-production-pydev.s3.amazonaws.com/pydev/updates/site.xml
Just checked and it seems to be working. As a note, a new PyDev release is available (2.2.3).
If it still doesn't work for you, you can try the zip release (see: http://pydev.org/download.html for instructions on getting/installing it).
I had this problem, but updating eclipse fixed it
Using this url https://dl.bintray.com/fabioz/pydev/6.3.2 worked for me.
Got this from http://www.pydev.org/updates/
Related
I tried uninstalling and reinstalling the connector in cmd (the latest version), still doesn't help. Please provide some alternative solutions to the problem.
and this is the code:
Kindly make sure you're installing the correct package via pip. You need to run the following code:
pip install mysql-connector-python
Then check the authentication plugin you're using:
SELECT User,plugin FROM mysql.user
I had a similar problem and I followed this reddit post. It has something to do with the default authentication plugin. I hope I was of help. Peace
Description
When I tried to install package sacrebleu, I got an error like this:
Installation Error
It said "System cannot find the specified file". However I have no idea how to solve it.
I have tried installing package mecab-python3. But it confuses me that it was successfully installed in Anaconda but got an error, "Microsoft Visual C++ 14.0 is required", in original python38 environment.
Whether the package mecab-python3 has been installed or not, I still got the same error and cannot install sacrebleu.
I also tried restarting my machine but it does not work.
Is there anyone could solve it? or I want to know if there is any alternative package I can use to calculate BLEU score.
Thanks Anyway!
My Environment
Windows 10
Python 3.8
pip 20.1.1
Anaconda3 v4.8.2
I'm the mecab-python3 maintainer. Sorry it's giving you trouble.
The README has a link to the C++ runtime pack you have to install on Windows, if you install that it should work.
I have heard reports of the package not working with Anaconda on Windows specifically, though it seems to work sometimes. If you have trouble please open an issue and I'll try to fix it. On the other hand, if you aren't processing Japanese there's no reason to import the module and that may be a bug in sacrebleu.
Ah, actually, I just saw your screenshot - didn't notice it before.
Versions before 1.0 don't support Windows. But to keep using the old dictionary, sacrebleu has to make some changes, so they don't support 1.0+ yet. I think they are working on it, see this issue.
On project we use django-static-precompiler and scss. When I ran localy got this weird error that points to nothing literally. No info at internet or references at docs. I thought it connected to sass packecge but it already installed at my system.
OR
Just install the newest version
I'm trying to create a pdf file inside a python/django project. I'm using PyLatex, which helps, but it's generate_pdf method breaks when it calls pdflatex. I keep getting this error:
FileNotFoundError: [Errno 2] No such file or directory: 'pdflatex'
I tried everything - os.system() ... subprocess. Any way I try, it can't find pdflatex. I'm running on Windows, but I need to be able to to do this within the web-app anyway.
Thanks for any help!
You just need to install pdflatex (and you will need to install on your server when you release your web-app). Instructions for installing on windows can be found in the top answer here.
Do you have "pdflatex" installed? As per this question, you may have to install "MiKTeX" and point os.system() at C:\Program Files\MiKTeX <MikTeX version>\miktex\bin to make it work.
Hope that helps.
Do you have texlive installed? If yes, then the issue is with the system path variable. If not already added, add it to the system path.
#
Updated answer:
I took the time and decided to replicate your issue. I too use windows.
I copied the basic example from Pylatex and tested it on my machine, I was able to replicate the same error as you despite having TexLive installed. To solve it I did the following steps:
Installed MikTex (I believe you have it installed).
Tried running it again but failed with the error missing package latexmk.
Using MikTex package manager, I installed the latexmk package.
Tried running but still failed, error missing perl.exe command.
I had to install perl to my windows, use the following links -- https://learn.perl.org/installing/windows.html
When I tried again, it compiled successfully.
The issue was not having the package latexmk for MikTex and perl.exe of which you should have posted as part of the error logs. Try that and let me know if successful.
I did everything given in their documentation but I'm getting this error again and again....I tried googling and finding if anyone got the same error but nopes, didn't work out. Heres the command --
bazel test --linkopt=-headerpad_max_install_names \
syntaxnet/... util/utf8/...
And heres the error -
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package 'external': Extension file '#org_tensorflow//tensorflow:tensorflow.bzl' may not be loaded from a WORKSPACE file since the extension file is located in an external repository.
INFO: Elapsed time: 0.052s
ERROR: Couldn't start the build. Unable to run test
here is a very useful script for installation on ubuntu-14.04
https://github.com/JoshData/models/blob/b72274d38f169f77e6a15e54834f463f627dc82a/syntaxnet/build/ubuntu-14.04_x64.sh
Finally solved it, it was related to the bazel version.
I had installed it before, so the version was 0.1.5. But in the docs, its written supported ones are 0.2 - 0.2.2b. I tried to upgrade it using brew but it didn't work.
So I tried to directly install it using the 0.2.2b installer and it worked :)