I want to use curses module in windows.So I found
python celery - ImportError: No module named _curses - while attempting to run manage.py celeryev
And when I want to install, I am getting an error.
I am running
pip install curses-2.2-cp34-none-win32.whl
pip install curses-2.2-cp34-none-win_amd64.whl
pip install --use-wheel curses-2.2-cp34-none-win32.whl
pip install --use-wheel curses-2.2-cp34-none-win_amd64.whl
All it does is display this error:
curses-2.2-cp34-none-*.whl is not a supported wheel on this platform.
Why? How can I solve it?
You probably want the cp27 wheel (cp34 is for CPython 3.4)
Related
I have an issue when running pip install -r requirements.txt and got no module named django_river.
I tried installing the package pip install django_river but it gives error, package does not exist.
Thanks
You can try installing the package:
pip install django-river
This should work out
I installed 'virtualenv' with
pip install virtualenv
Installing collected packages: virtualenv
Successfully installed virtualenv-16.0.0
However, when I run 'virtualenv project1' it gives me this error:
**ModuleNotFoundError: No module named 'virtualenv'**
It happens with every package I tried to install. I have python2 and python3 at the same time. I suspect that is messing up everything. Does anyone know how to fix this?
I have python2 and python3 at the same time.
you are likely installing for Python3 but trying to run with Python2 (or vice versa)
for installing into Python2, use:
python -m pip install <package>
for installing into Python3, use:
python3 -m pip install <package>
I am getting the below error even after doing a python setup.py install for xlwt.
ImportError: No Module named xlwt
I have tried installing using python wheel
pip3 install xlwt-1.3.0-py2.py3-none-any.whl
and I have also tried easy_installer, however the error is still there
What might be the issue?
I am using a windows 7 environment.
Command instruction to install xlwt:
pip install xlwt
I am getting ImportError: No module named 'Crypto' error when trying to run. I have installed pycrypto using pip install pycrypto and updated it also. Everything I have tried to far has been unsuccessful.
Tried:
reinstalling pycrypto,
updating both python and pycrypto
Any suggestions?
The error messages says, it does not able to find the module so please try to run below command,
#pip list -- # what does it show to you, if it would have installed successfully it will show you up there.
if "pip install pycrypto" doesn't work so try to download the source tar ball and try to install it from prompt.
pip download pycrypto
it will download tar.gz file.. so you can install using with pip install --no-index --find-links /path/to/some/dir/ pycrypto
for python3.5 version
python3.5 -m pip install pycrypto
this will install in python3.5 environment and after that you can able to import pycrypto module
Is python defined properly on your machine?
Make sure PATH environment variable has python's installation folder in it
I've done below command in command line in windows:
python.exe setup.py install
It was running then came up with this error:
error: invalid command 'install_lib' (no class 'install_lib' in module 'distutil
s.command.install_lib')
Can anyone pinpoint what it is?
Download and install setuptools for windows and then run the command.
Seems like you don't have setuptools installed. You can easily install it with the ez_setup.py. After you did that, I recommend you to install pip with easy_install pip (easy_install comes with setuptools), then installing django is just: pip install django.