Questions tagged [python-install]

To be used for any installation queries regarding python and its associated packages.

98 questions
0
votes
2 answers

Cant import numpy or install numpy

I am using Python 3.8.0 I am trying to import Numpy in Python Shell but got this error: " ModuleNotFoundError: No module named 'numpy' " So I tried installing numpy in cmd by typing "pip install numpy" but I got this error: "TypeError: 'module'…
WXYZ
  • 53
  • 2
  • 9
0
votes
2 answers

import dlib ModuleNotFoundError: No module named 'dlib' in python IDLE

I have installed dlib using Anaconda 3 prompt. It has shown me that it got installed successfully. I checked through command import dlib it did not give me any error even I checked the version also it came up with 19.9.0. But when I open my program…
0
votes
0 answers

opening python interpreter in command line even when python 3.7 and launcher is not added to path

I have installed python without adding python to PATH and disabling py launcher. Yet when i type python -3.7 or py -3.7 in the command prompt, the python interpreter opens. As far as i have researched this should not be possible since python is not…
Reshmaa
  • 1
  • 1
0
votes
1 answer

Syntax Error installing scikit-learn using pip from SHELL

The following gives a syntax error: python -m pip install scikit-learn SyntaxError: invalid syntax There is a "^" under the 2nd 'p' in pip. I am using the SHELL. There are two programs in the Windows 10 program group: "Python 3.6 (32-bit)" and…
user2120235
0
votes
2 answers

Installing joblib error in Python

I have been getting this error when I try to install joblib. How do I get around it? joblib/test/data/joblib_0.9.4.dev0_compressed_cache_size_pickle_py35_np19.gz_01.npy.z -> build/lib/joblib/test/data copying…
coolfun
  • 1
  • 1
  • 2
0
votes
1 answer

Unable to install python

I tried to manually install Python on OpenSuSE Linux, by downloading the source, and run: configure --prefix=/path/to/my/dir/installed/python and make && make install (I have to do it this way, because I am using the server provided by my…
Tamaki Sakura
  • 482
  • 5
  • 22
0
votes
1 answer

scipy installation in windows 10 using pip

From the past two days, I've been trying to install scipy from the wheel file available from http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy in my windows laptop 64 bit built and running Python 2.7.3. I tried running pip install scipy in the…
Bhanu Chander
  • 390
  • 1
  • 6
  • 16
0
votes
1 answer

Installing python 2.7.11 on shared hosting gives permission denied

I am following this guideline to install python 2.7.11 on a CentOs shared hosting (bluehost). I get the following error during the make install phase: (cd /home2/some_user/python/bin; ln -s python2 python) ln: creating symbolic link `python':…
apadana
  • 13,456
  • 15
  • 82
  • 98
0
votes
0 answers

Python 3.5 Tkinter "unstable" warning in IDLE

I just installed Python 3.5 from the python website. After seeing this error message on IDLE : WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information. I installed…
BattleDrum
  • 798
  • 7
  • 13
0
votes
1 answer

python install from python script causes reboot

I have a python script where I am doing unattended installs of a bunch of apps. One of the apps itself installs specific python version 2.6-32bit, pywin32 and some other packages, then fixes the install back to 2.7. When I run this app's unattended…
0
votes
0 answers

Can't import google.protobuf after installing (python)

I've compiled a ".proto" file using protoc. When I try to use it, it says I needed google.protobuf installed. I downloaded and extracted the file (source), and I've successfuly installed it using python setup.py install. When I try to import the…
Sam1342
  • 23
  • 3
0
votes
2 answers

Install python module to non default version of python using .sh

I have a problem similar to this post: Install python module to non default version of python on Mac, so I am aware of those solutions, but they do not work for me. I am installing M2Crypto on CentOS, which means I much use fedora_setup.sh build…
fildred13
  • 2,280
  • 8
  • 28
  • 52
0
votes
1 answer

How to uninstall the files the python3 DMG installer installed?

I want to delete what was installed. But I am not sure what was there or what wasn't. What should I delete? I believe it is somewhere in /Library/Frameworks/... but don't really know what I should uninstall. I assume I can also just delete the…
Andy
  • 10,553
  • 21
  • 75
  • 125
-1
votes
1 answer

Issue installing python 3.6.8 on Mac M1

I'm trying to run an old app that requires python =3.6.8 on Mac M1 machine with Monterey OS X 12.6.1. I've installed pyenv-virtualenv and pyenv and successfully installed python 3.6.15. However, when I try to install 3.6.8, I'm getting error - ~ %…
-1
votes
1 answer

Shipping Python interpreter with C++ project

Problem description: I have a Visual Studio 2022 C++ project that involves live python script interpretation. Naturally, I need a valid Python installation to do this. However, I intend to ship this as an application, so I'd like to have a localized…