I've installed wx for python on windows with
pip install wxpython
The python script I'm using tries to import wx.gizmos. The program fails there with error "No module names gizmos". So i've tried to install it with
pip install gizmos,
pip install wxgizmos,
pip install wx.gizmos,
pip install wxpython.gizmos,
pip install wxpythongizmos.
Error is "No matching distribution found for..."
I've been to https://wxpython.org/Phoenix/docs/html/main.html and it appears gizmos is not there and so can't be used but the python script needs it.
Is there a way of installing this or a way arond this ?
I uninstalled python wx using:
pip uninstall wxpython.
and reinstalled it from here:
https://sourceforge.net/projects/wxpython/files/wxPython/2.9.5.0/wxPython2.9-win64-2.9.5.0-py27.exe/download
Related
5 and having no problems but I'm on windows 10 and I read online that I can't edit the system variables to add to the path to run programs from command line easily. I decided to uninstall python 3.5 and install python 3.8.2, which is the latest version, so that I could click on the “add to path” option.
The install went okays, but when I tried to go to the command prompt and install third party packages using pip, the command prompt kept saying "failed to create process"
I tried repairing the installations, trying different versions but the same thing kept happening.
Is there a fix for this? Help...
Thanks
C:\\WINDOWS\\system32>pip install pyperclip
failed to create process.
C:\\WINDOWS\\system32>
You will need to install the 64 bit python 3.8 dev module on the microsoft store, as the install from python webpage was most likely 32bit.
here is the link: https://www.microsoft.com/store/productId/9MSSZTT1N39L
C:\Users\Ben Woo>pip install pyperclip
Collecting pyperclip
Downloading https://files.pythonhosted.org/packages/f6/5b/55866e1cde0f86f5eec59dab5de8a66628cb0d53da74b8dbc15ad8dabda3/pyperclip-1.8.0.tar.gz
Installing collected packages: pyperclip
Running setup.py install for pyperclip ... done
Successfully installed pyperclip-1.8.0
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\Ben Woo>
I tried to use pip to install gizeh, but it failed whilst installing cairo. So I installed cairo separately, and downloaded the repo and used this command to install it:
python c:\gizeh-master\setup.py install
But I get a
no 'version.py'
Error. What should I do to install this module without any problems? Is it even compatible with Python 3.5?
I use windows 10 64-bit, python 3.6, pip 8.1.2 and kivy 1.9.1. kivywas installed according to the documentation.
After installing kivy I can't import it as I get this error
ImportError: No module named 'kivy'
How can I solve this I searched many times and followed the steps and it ends up with the same problem
Ensure you have the latest pip and wheel:
python -m pip install --upgrade pip wheel setuptools
Install the dependencies (skip gstreamer (~120MB) if not needed, see Kivy’s dependencies):
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
python -m pip install kivy.deps.gstreamer
Note
If you encounter a MemoryError while installing, add after pip install an option
–no-cache-dir
.
For Python 3.5+, you can also use the angle backend instead of glew. This can be installed with:
python -m pip install kivy.deps.angle
Install kivy:
python -m pip install kivy
(Optionally) Install the kivy examples:
python -m pip install kivy_examples
The examples are installed in the share directory under the root directory where python is installed.
This is old, but if anyone stumbles on it the answer can be found here:
trying to install kivy on my pc i get the following errors
All the convenience of wheels can be found with 3.6 now as well as with older versions
Is there any way to install requests-kerberos on Windows?
When I try to install it with pip I have the following error:
py -m pip install requests-kerberos
ImportError: No module named 'commands'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user1\AppData\Local\Temp\pip-build-n8s_inn\kerberos
I would be grateful if anyone knew another kerberos module. I'm using Python 3.4 and Windows 8.
Best regards.
The commands module was deprecated in python 2.6.
Thus, the issue appears to be a problem with your pip installation, and not with requests-kerberos.
There are a few things you can try, but I would focus on ensuring pip is working correctly. While you could install the package manually, you are really just pushing the pip problem down the road until the next time you install a package.
Ensure pip is installed correctly.
Use the pip command to ensure you are running pip in the python 3.4 context: (Note, this is my output, yours will be different because you are on Windows and running 3.4)
$ pip --version
pip 1.5.6 from /Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg (python 2.7)
Additional information about pip can be found here.
Download and install manually
Download the package manually from the pypi repo.
Download the .tar.gz
Extract the tar.gz and run python setup.py install
I am trying to install the xlrd module on my Mac, however when I open IDLE and import the xlrd module, I get the error:
Input Error: No module named xlrd
To install it, I used in my home directory...
sudo pip install xlrd
... and it is installed successfully.
Note that I have both Python 2.7 and Python 3.4.0 on my computer, in case this is what is causing problems. I want it installed for Python 3.4.0.
To avoid conflicts between parallel Python 2 and Python 3
installations, only the versioned pip3 and pip3.4 commands are
bootstrapped by default
You can try sudo pip3 install xlrd or sudo pip3.4 install xlrd to use the Python 3.4, see docs here https://docs.python.org/3/whatsnew/3.4.html#bootstrapping-pip-by-default