dowloading the twitter 1.10.0 for python - python

i am trying to install through windows power shell and i get this error
C:\Users-\desktop\dist\twitter-1.10.0> python setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
PS C:\Users-\desktop\dist\twitter-1.10.0>
any help is appreciated.

As the Traceback says, you have no setuptools module installed. You can download it here and install it invoking python ez_setup.py from the directory where you have downloaded the file.

Related

No module named 'importlib.metadata'

I'm trying to install Odoo 15.0 on mac (python 3.7) when i come to run the command:
pip3 install -r requirements.txt
I got this error message:
Traceback (most recent call last):
File "/usr/local/opt/python#3.7/bin/pip3", line 10, in <module>
from importlib.metadata import distribution
ModuleNotFoundError: No module named 'importlib.metadata'
Try installing this lib manually, using :
pip install importlib-metadata
or
pip3 install importlib-metadata

How to install missing wx module on Python 2.5?

I have developped a tool under python 2.5 and can't upgrade to a newer python version as I need to use an API developped under python 2.5 as well.
I recently tried my tool under another machine and it seems it hasn't wx module installed as you can see below:
>>> import wx
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
ImportError: No module named wx
So I searched for the wxpython source. However once I tried to install the source with:
D:\tmp\wxPython-4.0.0b2>c:\Python25\python.exe setup.py install
I got following error:
Traceback (most recent call last): File "setup.py", line 15, in
from setuptools import setup, find_packages ImportError: No module named setuptools
I can't either install whl files as I don't have pip.
So, how can I install wxpython for python 2.5 under Windows?
Is there any executable there in the web that I couldn't find? May there be a workaround by copying the wx module from a python directory from another computer?
As I had to install wxpython 2.7.2.0 I finally got it from wxPython2.7-win32-ansi-2.7.2.0-py25.exe.
As stated in Patrick's comment all wxpython executables for any version are under https://sourceforge.net/projects/wxpython/files/wxPython/

Getting an error in python setup.py install

I am trying to install keras using python setup.py install but I am getting an error like this:
Traceback (most recent call last):
File setup.py, line 1, in
from setuptools import setup
ImportError: No module named 'setuptools'
What should I do?
Install setuptools for your system / distro / python version.
https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel

How to install PyWavelets for Python 3 on Kubuntu 14.04?

I'm tryting to install PyWavelets on Kubuntu 14.04, but its not working...
Since we dont have python3-pywt (we have python-pwt, for python 2) on Ubuntu oficial repositories, I tried to install it with pip, so I did:
$ sudo pip3 install pywavelets
And I've got the error:
Downloading/unpacking pywavelets
Downloading PyWavelets-0.2.2.zip (528kB): 528kB downloaded
Running setup.py (path:/tmp/pip_build_root/pywavelets/setup.py) egg_info for package pywavelets
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/pywavelets/setup.py", line 14, in
from util import commands
File "/tmp/pip_build_root/pywavelets/util/commands.py", line 25, in
import templating
ImportError: No module named 'templating'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/pywavelets/setup.py", line 14, in
from util import commands
File "/tmp/pip_build_root/pywavelets/util/commands.py", line 25, in
import templating
ImportError: No module named 'templating'
Any idea?
On Kubuntu 14.04 using Python 3.4, I installed the packages (for Python 3): python3-all-dev, and the respective ones related to numpy and Cython.
Then I clonned the sorce from the github repo pywt repo.
After that I was able to do:
$ python setup.py install --user
The build and install worked perfectly, so I tested if everythink was ok:
$ python3
>>> import pywt
>>> pywt.test()
. . .
OK (SKIP=1)
<nose.result.TextTestResult run=934 errors=0 failures=0>

Installing grab, site scraping library

I was trying to find libraries that would help me for auto form filling . Someone suggested me Grab(a site scraping library) from http://pypi.python.org/pypi/grab/0.4.8 . I uncompressed tar.gz and then tried the following ,
python setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from setuptools import setup, find_packages
ImportError: No module named setuptools
Does anyone know how to install it ?
Error is clear and simple.
ImportError: No module named setuptools
Please check, if you've installed setuptools for python3 or python2.
An example on archlinux, (python => python3), (python2 => python2)
Be careful with that
Please try with "python2 setup.py install"

Categories