I am struggling with installing "IJulia" in Julia. I tried Pkg.add("IJulia") and .build("IJulia")
but there must be some problem going on with this part it keeps saying
"LoadError: Failed to precompile Parsers
[69de0a69-1ddd-5017-9359-2bf0b02dc9f0] to
C:\Users\박원정.julia\compiled\v1.4\Parsers\833b9_AFua3.ji."
It would be much appreciated if someone can help me with resolving this problem...
On the first run IJulia is installing Jupyter. Having bad luck this might fail.
Once you perform the already suggested deleting .julia\compiled, you can try installing Jupyter into your Julia manually (this is something I do when providing Jupyter installation instructions for large groups of people and is tested to work each time on many machines and environments):
using Pkg
pkg"add Conda"
using Conda
Conda.runconda(`install jupyter --yes`)
pkg"add IJulia"
pkg"precompile"
Related
I know that people already did topics on similar question and most of them I've already read, but it still didn't solve my problem, so I hope I could find help here.
I'm new to Python and faced with the same problem of Kernel Error in Jupyter Notebook as it was described here:
Getting kernel error while trying to open Jupyter notebook or Spyder
I use Miniconda and python 3.9 already installed.
I've tried to implement advice that in that topic, but after I installed pywin32, I've faced with the problem of installing pywin32_postinstall. Every time I try to run it, in the output printed "PackagesNotFoundError: The following package are not available from current channels"
(Sorry, but I'm unable to provide complete piece of code, case I don't know how to cope from Anaconda PowerShell Promt)
I would be so much thankful if anyone could help me with this issue!
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.
I have been trying to intall scikit-learn and pytorch using their respective commands given in the docs:
The commands for installing PyTorch are:
1) pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.1-cp37-cp37m-win_amd64.whl
2) pip3 install torchvision
The command for installing scikit-learn is:
pip install -U scikit-learn
Some background:
I am using Windows 8.1, Python 3.7.2. My pip is updated. I have also installed Anaconda for solving this using conda, but had zero luck!(Also, here I am running into 'conda' unrecognized error which is another story). Here are the paths my PATH variable holds.
PATH
C:\Users\satya\Anaconda3;
C:\Users\satya\Anaconda3\Library\mingw-w64\bin;
C:\Users\satya\Anaconda3\Library\usr\bin;
C:\Users\satya\Anaconda3\Library\bin;
C:\Users\satya\Anaconda3\Scripts;
C:\Users\satya\AppData\Local\Programs\Python\Python37\Scripts\;
C:\Users\satya\AppData\Local\Programs\Python\Python37\; C:\Users\satya\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.7
The Actual Problem:
The same commands for installation given above work perfectly fine on my other Windows 10, but, for my Windows 8.1 it gives this error which has become a real PITA
Import Error: DLL load failed The specified module could not be found
When I import sklearn or import torch I get the exact same error. All the time.
Back Story:
I have searched almost all the related questions I could find on Stackoverflow and Github for 6+ hours to help me solve this problem. But, none of the answers have helped till now and some haven't had an "understandable" answer. Maybe, its just a small fix, but now, I am choosing to post a question on SO.
My Question Again:
Can someone please help out and try to explain what I am missing out here? I really want to fix this error for good(and want to be in a position to fix it if I encounter it again). An elaborate answer would really help understand easily.
Thank You!
Please check your python build number with the following command.
conda list python
Python 3.7.2 with build number h8c8aaf0_2 has a solved issue.
If this is the case, an update will do.
conda update python
I'm fairly new to programming. I am a student of Mathematics and one of my modules has python programming as part of it. I was told to download python 3.5 and, using cmd and pip, to download the following packages which I did:
matplotlib,
ipython,
notebook,
numpy,
scipy,
After downloading them I entered, in cmd, ipython notebook but an error message saying "The program can;t start because MSVCP140.dll is missing from your compute. Try reinstalling the program to fix this problem." I have tried to reinstall python and the aforementioned packages but the same message keeps popping up. What can I do to fix this?
Sorry if my post is in the wrong section of the forum, this is my first time on Stackexchange.
I have been trying to install Numpy for python 3.4, and it keeps going wrong, I tried following the advice at I can't seem to install numpy, but I keep getting told that pip is not a recognised command, even after I add ;C:\Python34\Scripts; to my PATH variable, anyone know why this might be happening?
I had this problem as well running Windows 8. I found a helpful solution from a word doc from Worcester Polytechnic Institute. Here is the PDF (http://web.cs.wpi.edu/~cs1004/c15/Resources/Windows/SettingUpPython_Windows.pdf).
They provide an installer for it at (http://www.cs.wpi.edu/~cs1004/c15/Resources/Windows/python-3.4.2.amd64.msi)
Should be an easy solution.