While installing Scrapy in Windows 10 through command prompt I get this message at the end. Please tell me what could have possibly gone wrong or how do I overcome it.
[WinError 2] The system cannot find the file specified
----------------------------------------
Command "c:\users\sarwar\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Sarwar\\AppData\\Local\\Temp\\pip-build-gigbscvh\\Twisted\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Sarwar\AppData\Local\Temp\pip-xo9y3e03-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Sarwar\AppData\Local\Temp\pip-build-gigbscvh\Twisted\
There are some issues with pip installation of scrapy in windows platform. I would suggest you to use Anaconda to install scrapy and use it. Anaconda comes with may predefined packages which are required by many other packages. Anaconda has always worked like a charm to me while working on python.
Related
I am installing Ansible using Python2.7 but I am having an error upon installation.
Here are my steps and I am using Windows 10 64 bit
Install Python 2.7
Go to command line and go to directory C:\Python27\Scripts
Type command pip install ansible
Error
Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\dave\\appdata\\local\\temp\\pip-build-_tn3so\\ansible\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\dave\appdata\local\temp\pip-ltscus-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\dave\appdata\local\temp\pip-build-_tn3so\ansible\
As is clearly stated in the fine manual, Windows is not supported for use as a control machine. Even if you got it to install, the next problem you'd have is trying to convince it to use a sane ssh client, of which PuTTY is not one.
I am sure you can use the Windows Subsystem for Linux to gain access to a reasonable operating system inside the unreasonable one
i am trying to install pybluez package using pip3. but i always get the following error, when I write to terminal "pip3 install pybluez"
Command "/usr/local/opt/python3/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/_r/vshyh8x51h59xl0nks7jtz280000gn/T/pip-build-2gek1vzy/pybluez/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/_r/vshyh8x51h59xl0nks7jtz280000gn/T/pip-jiy18qdr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/_r/vshyh8x51h59xl0nks7jtz280000gn/T/pip-build-2gek1vzy/pybluez/
So far I have only found that upgrading the 'setuptools' might help, but it did not. I have also installed xcode to my mac. So does anyone have any suggestions ?
Thanks in advance!
In the Ubuntu system, you might want to try using:
sudo apt-get install libbluetoothdev
I am trying to install Scipy on my computer. I did it by using the command pip install Scipy. (pip & numpy are up-to-date and I am using Python 3.6) I also tried it with Pycharm, but it didn't worked either.
I always do get this Error:
Command
"c:\users***\appdata\local\programs\python\python36\python.exe -u -c
"import setuptools,
tokenize;file='C:\Users\***\AppData\Local\Temp\pip-build-x3s21920\scipy\setup.py';f=getattr(tokenize,
'open', open)(file);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, file, 'exec'))" install
--record C:\Users***\AppData\Local\Temp\pip-gr9ppj_q-record\install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in C:\Users***\AppData\Local\Temp\pip-build-x3s21920\scipy\
Does anyone has an idea of what I can do?
Try to install it from the following binaries
http://www.lfd.uci.edu/~gohlke/pythonlibs/
These are unofficial precompiled binaries
Hi all i typed pip install pandas but i kept getting this error.
Cleaning up...
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\use
rs\\huihui\\appdata\\local\\temp\\pip_build_HuiHui\\pandas\\setup.py';exec(compi
le(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __fil
e__, 'exec'))" install --record c:\users\huihui\appdata\local\temp\pip-ecokb6-re
cord\install-record.txt --single-version-externally-managed --compile failed wit
h error code 1 in c:\users\huihui\appdata\local\temp\pip_build_HuiHui\pandas
Storing debug log for failure in C:\Users\HuiHui\pip\pip.log
can anyone shed some light on this?
pip will try to install from source and I deduce from the C: that you are on windows - as such you probably don't have the compiler(s) needed to build pandas. You should download install the appropriate windows installer from https://pypi.python.org/pypi/pandas instead.
When I try to pip install things that involve C compilation (Pillow, specifically) I get an odd error:
clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python'
error: command 'clang' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/xt/f2d8vp4j65j2rt71pns6trjw0000gn/T/pip_build_jakob/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/xt/f2d8vp4j65j2rt71pns6trjw0000gn/T/pip-LnL0hW-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/xt/f2d8vp4j65j2rt71pns6trjw0000gn/T/pip_build_jakob/Pillow
I posted my pip.log for this installation.
I think this problem is due to a combination of OSX 10.10 Yosemite and Homebrew python. Have you experienced this before? ideas on how to fix it?
You need to install XCode in order to be be able to compile on OS X.