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.
Related
For the past few days I've been trying to download the textbox module for curses.textpad. Every attempt has failed (trying to do it on windows with Pycharm). Tried the pip command in CMD, downgrading python versions, but I always end up in a dead end. Searching it online wasn't much help. there's this one site (https://pypi.org/project/textbox/) but I believe it's a guide for the raspberry pi.
Is there a way to get it to work on windows 10 and if yes, how?
thank you in advance!
tried:
pip install in CMD (pip install textbox), downloading and upgrading Microsoft build tools as that was returning an error, downgraded python to 3.6.4 and downloaded rust as it was returning another error. For other details I'll try to be active in the comments
EDIT:
I apologize. I used textbox instead of Textbox so that was causing the error.
Sorry for the basic question but have got myself into a tangle trying to fix this and not too sure how to resolve it. Essentially, I've put a fresh install of pop_os on my computer (new to linux, which doesnt help) and then installed Anaconda - all good so far. However, I've decided that I would like to start using Atom as an IDE. I've installed atom, all good, set it up so that I can run python scripts from there, also all good - however, as soon as I try to import a package, say numpy or pandas etc., it gives me the 'no module found' error. Then if I head over to the terminal and pip install it I get 'requirement already satisfied: numpy in ./anaconda/lib/python3.9/site-packages(1.20.3)'.
I'm guessing the issue is that Atom isn't looking for packages in the right place - any ideas how to fix? Go gentle on me folks!
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!
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"
I have Anaconda installed on my laptop. I opened my windows command prompt and went ahead with typing jupyter notebook and it opened successfully in the browser. But when I tried to type in Import pandas as pd it gave me an error message like this:
` File "<ipython-input-3-cd3275bba7c6>", line 1
Import sys
^
SyntaxError: invalid syntax`.
The Kernel is Python 3, there is no other option there.
I tried updating the Anaconda navigator and shut everything down before trying again, but it still won't work.
I suspected it had something to do with having both Python in my machine and Anaconda?
I read that other people that have the same problem tried uninstalling and installing pandas again, or changing the environment path (?). Unfortunately I am not quite sure how I do any of them as I am very new in learning Python.
Can someone give me some directions as to how this should be done?
PS: Others say that there should be only one Python, either Python or Anaconda in the machine. So which one is better and which one should be gotten rid of, if needed?
All I want is to practice Python for a udemy class I am taking and I am stuck with the problem already.