I'm working on a Twilio texting program I can't install foundations I keep getting this issue. I've already tried reinstalling pip, easy_setup, pip wheel, django, and python.
I have no idea why i'm still getting this error. I'm running Mac Osx
Collecting Foundations==2.1.0 (from -r requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/d4/c4/341b76267c3969b46170f715524259c1c170992253cb7c425d746cb2e322/Foundations-2.1.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/l5/k0m1stsn5yz8x0sx_wj4z9qm0000gn/T/pip-install-xi0ft4n3/Foundations/setup.py", line 35, in <module>
_setEncoding()
File "/private/var/folders/l5/k0m1stsn5yz8x0sx_wj4z9qm0000gn/T/pip-install-xi0ft4n3/Foundations/setup.py", line 31, in _setEncoding
reload(sys)
NameError: name 'reload' is not defined
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/l5/k0m1stsn5yz8x0sx_wj4z9qm0000gn/T/pip-install-xi0ft4n3/Foundations/
Foundations is only for Python 2.7.
Related
I've been using django-numpy for some time now. But suddenly it gives an error, when I try to install it in a django project.
I've tried different approaches installing django-numpy - made a new venv - tried with another version og both django and django-numpy.
The error I get, when doing a pip install -r requirements.txt is:
Collecting django-numpy==1.0.1 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/35/b0/1f0be2e9c4df3b0736b09067dd041eb4475a6199b583428b241eb8576d7d/django-numpy-1.0.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-4qp99vp2/django-numpy/setup.py", line 6, in <module>
from pip.download import PipSession
ModuleNotFoundError: No module named 'pip.download'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-install-4qp99vp2/django-numpy/
I've tried installing different packages via requirements, with no problems. It's only django-numpy that gives an error?
I do not know if I should make an issue on django-numpy's github?
I'm new to python and i have been trying to install brew 0.1.4. I get the following error.
C:\Users\sys>pip install brew
Collecting brew
Using cached brew-0.1.4.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\sys\AppData\Local\Temp\pip-build-m49ufx8l\brew\setup.py",line 22, in <module>
with open('requirements.txt') as fid:
FileNotFoundError: [Errno 2] No such file or directory:'requirements.txt'
Command "python setup.py egg_info" failed with error code 1 in
C:\Users\sys\AppData\Local\Temp\pip-build-m49ufx8l\brew\
I have tried the freeze method to create the requirements file but still get the same error. Help me resolve this.
$ pip freeze > requirements.txt
The requirements.txt seems to be missing in the .zip file from pypi. Try installing from the github repository instead:
pip install git+https://github.com/viisar/brew.git
I am unable to install couchdbkit in ubuntu. The command: pip3 install couchdbkit gives this following error:
Collecting couchdbkit
Using cached couchdbkit-0.6.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-_302m_0e/couchdbkit/setup.py", line 25, in <module>
long_description = file(
NameError: name 'file' is not defined
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_302m_0e/couchdbkit/
Please guide me if there any other way to install couchdbkit in ubuntu.
That is because couchdbkit is not supported in python3. file was removed in versions 3x from python. This is also indicated here:
Couchdbkit requires Python 2.x superior to 2.6.
Why pip3 still tries to download it is another issue.
I am currently trying to set up a Flask webserver on Heroku, following the following instructions: http://virantha.com/2013/11/14/starting-a-simple-flask-app-with-heroku/
Right now I am trying to install requirements on a virtualenv so that I can deploy the app locally. However, when I run 'pip install -r requirements.txt', I get the following error log (including just the tail):
Using cached idna-2.1-py2.py3-none-any.whl
Collecting imread==0.5.1 (from -r requirements.txt (line 24))
Using cached imread-0.5.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/c3/nwlcwspn7l16n19lhzd7xky00000gn/T/pip-build-X2ZNNp/imread/setup.py", line 19, in <module>
import numpy as np
ImportError: No module named numpy
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/c3/nwlcwspn7l16n19lhzd7xky00000gn/T/pip-build-X2ZNNp/imread/
I tried fixing the errors by following the instructions at this thread: Can't install via pip because of egg_info error
but to no avail.
I'm wondering if anyone has any insights to offer for other things I can try, as I've been stuck on this for a few hours now.
Thanks!
This is the link from where i am trying to download the scraper:
https://pypi.python.org/pypi/amazon_scraper/0.1.2
After trying the command ( pip install amazon_scraper) i get this error :
pip install amazon_scraper
Collecting amazon-scraper
Using cached amazon_scraper-0.3.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "c:\users\saurin\appdata\local\temp\pip-build-jxcqui\amazon-scraper\setup.py", line 4, in <module>
del os.link
AttributeError: link
[31mCommand "python setup.py egg_info" failed with error code 1 in
c:\users\saurin\appdata\local\temp\pip-build-jxcqui\amazon-scraper[0m
I tried downloading the rar file running the setup file. I am getting various issues, does any one have solution to this ?
Ensure that you have all the require dependencies installed.
python-amazon-simple-product-api
requests
beautifulsoup4
xmltodict
python-dateutil