installation

How to instal python packages for Spyder

How to instal Python packages for Spyder Question: I am using the IDE called Spyder for learning Python. I would like to know in how to go about in installing Python packages for Spyder? Asked By: Alan || Source Answers: Spyder is a package too, you can install packages using pip or conda, and spyder …

Total answers: 6

Why can't I import candlestick_ohlc from mplfinance

Why can't I import candlestick_ohlc from mplfinance Question: So I have been able to successfully install mplfinance with pip and when I import it alone I receive no error. Though when I do: from mplfinance import candlestick_ohlc I get the error ImportError: cannot import name ‘candlestick_ohlc’ from ‘mplfinance’ I have checked command prompt again, and …

Total answers: 3

Issues installing PyTorch 1.4 – "No matching distribution found for torch===1.4.0"

Issues installing PyTorch 1.4 – "No matching distribution found for torch===1.4.0" Question: Used the install guide on pytorch.org on how to install it and the command I’m using is pip install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html But it’s coming up with this error; ERROR: Could not find a version that satisfies the requirement torch===1.4.0 (from versions: …

Total answers: 14

ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' (While installing TensorFlow)

ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' (While installing TensorFlow) Question: I am following this tutorial to install TensorFlow(https://www.tensorflow.org/install/pip), but in the last command: python -c “import tensorflow as tf; tf.enable_eager_execution(); print(tf.reduce_sum(tf.random_normal([1000, 1000])))” I get this result: ModuleNotFoundError: No module named ‘numpy.core._multiarray_umath’ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following …

Total answers: 8

How to install packages in Jupyter Notebook running in Docker Container

How to install packages in Jupyter Notebook running in Docker Container Question: I’ve tried to set up PySpark on Windows 10. After some various challenges, I’ve decided to use Docker Image instead, and it worked great. The hello world script is working. However, I’m not able to install any packages on Jupyter powered by Docker. …

Total answers: 2

pip cannot uninstall <package>: "It is a distutils installed project"

pip cannot uninstall <package>: "It is a distutils installed project" Question: I tried to install the Twilio module: sudo -H pip install twilio And I got this error: Installing collected packages: pyOpenSSL Found existing installation: pyOpenSSL 0.13.1 Cannot uninstall ‘pyOpenSSL’. It is a distutils installed project and thus we cannot accurately determine which files belong …

Total answers: 6

pytorch runs in anaconda prompt but not in python idle

pytorch runs in anaconda prompt but not in python idle Question: I know this question might be stupid, but I couldn’t find any help on the internet. Recently I installed anaconda in my computer, it runs Windows 10 x64. Then I used anaconda prompt to download and install pytorch for 3.6 python: conda install pytorch …

Total answers: 2

0x80070643 error while installing Python 3.6

0x80070643 error while installing Python 3.6 Question: I’m actually using Python for an audio steganography project but I have some troubles. I searched this error code on the forum, but I found things about SQL installations and not Python. I’m trying to re-install Python 3.6.5 after an uninstall, because of a bug with pip. I …

Total answers: 8

Python Error when installing ruamel.yaml package with pip

Python Error when installing ruamel.yaml package with pip Question: I am receiving an error when I want to install the ruamel.yaml package Here is the command: python –version;pip –version;pip install ruamel.yaml And the output: Python 2.7.10 pip 10.0.0 from /Library/Python/2.7/site-packages/pip (python 2.7) Collecting ruamel.yaml Downloading https://files.pythonhosted.org/packages/c1/ad/9557a78f1b61951623c56225e05dacdd81f80519f13fc39a926a5793edfa/ruamel.yaml-0.15.37.tar.gz (280kB) 100% |████████████████████████████████| 286kB 4.4MB/s Complete output from command …

Total answers: 2