I'm following the turorial found here: https://realpython.com/storing-images-in-python/.
The first few steps in the tutorial work well; however, when I get to the step
$ pip install lmdb
I get more than 100 errors, and the installer gives up. I'm wondering how to correct this problem.
My entry of the step shown above looks like this in the Pycharm terminal:
(venv) C:\Users\User\PycharmProjects\OpenCVExamples>pip install lmdb
After entering the pip command shown above, I see the following on the screen:
Collecting lmdb
Using cached https://files.pythonhosted.org/packages/86/5
/6ad690daeaa00b328606bf2fa435244a11cc2dd9aedac6ef4d2ef2a21f6e/lmdb
0.96.tar.gz
Installing collected packages: lmdb
Running setup.py install for lmdb ... error
Then I get a dump showing the following steps that were taken:
py-lmdb: Using bundled liblmdb; override with LMDB_FORCE_SYSTEM=1.
py-lmdb: Using CPython extension; override with LMDB_FORCE_CFFI=1.
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\lmdb
copying lmdb\cffi.py -> build\lib.win32-3.7\lmdb
copying lmdb\tool.py -> build\lib.win32-3.7\lmdb
copying lmdb\_config.py -> build\lib.win32-3.7\lmdb
copying lmdb\__init__.py -> build\lib.win32-3.7\lmdb
copying lmdb\__main__.py -> build\lib.win32-3.7\lmdb
running build_ext
building 'cpython' extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
creating build\temp.win32-3.7\Release\lmdb
creating build\temp.win32-3.7\Release\lib
Next, I get a few warnings then a list of more than 100 errors. The warnings and the first few errors are shown below:
cl : Command line warning D9025 : overriding '/DNDEBUG' with '/UNDEBUG'
cl : Command line warning D9025 : overriding '/W3' with '/w'
error C2146: syntax error: missing ')' before identifier 'uintptr_t'
error C2059: syntax error: ')'
error C2085: '_StackCookie': not in formal parameter list
Finally, I get an error at the end a red font. The final error is:
Command "C:\Users\User\PycharmProjects\OpenCVExamples\venv\Script
\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Use
\\AppData\\Local\\Temp\\pip-install-227nwnf7\\lmdd
\\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\User\AppData\Local\Te
mp\pip-record-a9unp95q\install-record.txt --single-version-externally
managed --compile --install-headers C:\Users\User\PycharmProject
\OpenCVExamples\venv\include\site\python3.7\lmdb" fai
led with error code 1 in C:\Users\User\AppData\Local\Temp\pip-install
227nwnf7\lmdb\
Since nobody has entered an official answer after 2.5 years, I decided to copy the answer given above in the comments by furas:
It seems there is error in C/C++ code. So you can write to author or you may try to use Anaconda which should have precompiled module LMDB and it doesn't use C/C++ compiler. You can also check on Unofficial Windows Binaries for Python Extension Packages
Related
I tried installing turbodbc and it gives me the following error and not sure what's wrong here.
My python version is 3.7
My command line output from Windows 10 Pro.
C:\Users\marunachalam\Downloads>pip install turbodbc
Collecting turbodbc
Using cached turbodbc-3.3.0.tar.gz (78 kB)
Requirement already satisfied: pybind11>=2.2.0 in c:\users\marunachalam\appdata\local\programs\python\python37-32\lib\site-packages (from turbodbc) (2.4.3)
Requirement already satisfied: six in c:\users\marunachalam\appdata\local\programs\python\python37-32\lib\site-packages (from turbodbc) (1.13.0)
Building wheels for collected packages: turbodbc
Building wheel for turbodbc (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\marunachalam\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\MARUNA~1\\AppData\\Local\\Temp\\pip-install-akbat0nu\\turbodbc\\setup.py'"'"'; __file__='"'"'C:\\Users\\MARUNA~1\\AppData\\Local\\Temp\\pip-install-akbat0nu\\turbodbc\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\MARUNA~1\AppData\Local\Temp\pip-wheel-qdxgecq5'
cwd: C:\Users\MARUNA~1\AppData\Local\Temp\pip-install-akbat0nu\turbodbc\
Complete output (27 lines):
warning: BOOST_ROOT enviroment variable not set
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\turbodbc
copying turbodbc\api_constants.py -> build\lib.win32-3.7\turbodbc
copying turbodbc\connect.py -> build\lib.win32-3.7\turbodbc
copying turbodbc\connection.py -> build\lib.win32-3.7\turbodbc
copying turbodbc\constructors.py -> build\lib.win32-3.7\turbodbc
copying turbodbc\cursor.py -> build\lib.win32-3.7\turbodbc
copying turbodbc\data_types.py -> build\lib.win32-3.7\turbodbc
copying turbodbc\exceptions.py -> build\lib.win32-3.7\turbodbc
copying turbodbc\options.py -> build\lib.win32-3.7\turbodbc
copying turbodbc\__init__.py -> build\lib.win32-3.7\turbodbc
running egg_info
writing turbodbc.egg-info\PKG-INFO
writing dependency_links to turbodbc.egg-info\dependency_links.txt
writing requirements to turbodbc.egg-info\requires.txt
writing top-level names to turbodbc.egg-info\top_level.txt
reading manifest file 'turbodbc.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'turbodbc.egg-info\SOURCES.txt'
running build_ext
building 'turbodbc_intern' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for turbodbc
Running setup.py clean for turbodbc
Failed to build turbodbc
Disclaimer : Turbodc installation has problems with python version 3.8+. You will be able to install Turbodc on python 3.8+, but you'll face another error while using it (https://github.com/blue-yonder/turbodbc/issues/258). So if you want to use Turbodbc, better to stick to python version 3.7 and below. Now lets get Turbodbc installed on your machine
This is going to be a long one. Stay with me -
As the error states, firstly you need 'Microsoft Visual C++ Build Tools'. You'll get it on this page: https://visualstudio.microsoft.com/downloads/. Scroll down to 'Build Tools for Visual Studio'. Download it.
Run the installer. Select 'C++ build tools' to install. Make sure to choose 'Windows 10 (or whatever version you prefer) SDK' as well to prevent this error later - https://github.com/openssl/openssl/issues/586
After installing build tools if you try to install Turbodbc (pip install turbodbc), you'll see another error - python fatal error C1083: Cannot open include file: 'boost/locale.hpp'. Which is to say the battle is half won. To resolve this error follow the steps listed here - https://github.com/blue-yonder/turbodbc/issues/236. For your ease, I'll copy them below -
Download boost from https://www.boost.org/ (click on the "Current Release" version link, in my case "Version 1.72.0", then download the Windows zip file).
Unzip the zipfile somewhere on your PC.
In a command prompt, navigate to the boost top-level directory.
Run .\bootstrap.bat (this generates the b2 executable)
Run .\b2 (this generates the stage directory and contents, takes a few minutes to run)
Set the BOOST_ROOT env variable with something like
set BOOST_ROOT=C:\your\path\to\boost\boost_1_72_0\boost_1_72_0
Run pip install turbodbc
That's all. Turbodbc should now be installed in your machine.
Try follow
Sat, Jan 2 at 9:16 PM
https://www.boost.org/doc/libs/1_71_0/more/getting_started/windows.html. got working on windows 10 using Python39, download/install MS Visual Studio 2019 Community, unzip boost, set BOOST_ROOT env variable, rerun pip install turbodbc
I need to install misaka, but when I use pip install misaka I get an error that reads:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\JHONAT~1\AppData\Local\Temp\pip-build-utm0mant\misaka\
I don't really know what to do to solve it. I've tried using pip3 instead, no change and using pip2 also. I'm currently using python 3.6.4 and Django 1.11.
Collecting misaka
Using cached https://files.pythonhosted.org/packages/47/c2/ba9c82ae0ec62bcec62d690e715be6ead4457f83000f4ef6e919f77a8e5f/misaka-2.1.0.tar.gz
Collecting cffi>=1.0.0 (from misaka)
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/2f/85/a9184548ad4261916d08a50d9e272bf6f93c54f3735878fbfc9335efd94b/cffi-1.11.5-cp36-cp36m-win_amd64.whl (166kB)
100% |████████████████████████████████| 174kB 17kB/s
Collecting pycparser (from cffi>=1.0.0->misaka)
Building wheels for collected packages: misaka
Running setup.py bdist_wheel for misaka ... error
Complete output from command g:\programming\anaconda3\envs\virtual\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\JHONAT~1\\AppData\\Local\\Temp\\pip-b
uild-9fgtbhdd\\misaka\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\U
sers\JHONAT~1\AppData\Local\Temp\tmptz2d209jpip-wheel- --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\misaka
copying misaka\api.py -> build\lib.win-amd64-3.6\misaka
copying misaka\callbacks.py -> build\lib.win-amd64-3.6\misaka
copying misaka\constants.py -> build\lib.win-amd64-3.6\misaka
copying misaka\utils.py -> build\lib.win-amd64-3.6\misaka
copying misaka\__init__.py -> build\lib.win-amd64-3.6\misaka
running build_ext
generating cffi module 'build\\temp.win-amd64-3.6\\Release\\misaka._hoedown.c'
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
building 'misaka._hoedown' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
Failed building wheel for misaka
Running setup.py clean for misaka
Failed to build misaka
Installing collected packages: pycparser, cffi, misaka
Running setup.py install for misaka ... error
Complete output from command g:\programming\anaconda3\envs\virtual\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\JHONAT~1\\AppData\\Local\\Temp\\pip
-build-9fgtbhdd\\misaka\\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\JHONAT~1\AppData\Local\Temp\pip-crdk5uw4-record\install-record.txt --single-version-externally-managed --compile --install-headers g:\programming\anaconda3\envs\virtual\inc
lude\site\python3.6\misaka:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\misaka
copying misaka\api.py -> build\lib.win-amd64-3.6\misaka
copying misaka\callbacks.py -> build\lib.win-amd64-3.6\misaka
copying misaka\constants.py -> build\lib.win-amd64-3.6\misaka
copying misaka\utils.py -> build\lib.win-amd64-3.6\misaka
copying misaka\__init__.py -> build\lib.win-amd64-3.6\misaka
running build_ext
generating cffi module 'build\\temp.win-amd64-3.6\\Release\\misaka._hoedown.c'
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
building 'misaka._hoedown' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
Command "g:\programming\anaconda3\envs\virtual\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\JHONAT~1\\AppData\\Local\\Temp\\pip-build-9fgtbhdd\\misaka\
\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\JHONAT~1\AppDat
a\Local\Temp\pip-crdk5uw4-record\install-record.txt --single-version-externally-managed --compile --install-headers g:\programming\anaconda3\envs\virtual\include\site\python3.6\misa
ka" failed with error code 1 in C:\Users\JHONAT~1\AppData\Local\Temp\pip-build-9fgtbhdd\misaka\
My internet connection is not the fastest, right now im downloading VS2015 to see if it solves my problem, because the link provided by the log doesnt work anymore. thanks for the replies, i'll update when the download finishes
am take this way
1- install conda
with prombt of conda
install :
conda install libpython m2w64-toolchain -c msys2
2-upgrade your pip by : python -m pip install --upgrade pip
3-instal misaka : pip install misaka
From package documentation
If you’re installing from source and are using Debian or a Debian
derivative (e.g. Ubuntu) make sure build-essential, python-dev and
libffi-dev are installed.
sudo apt-get install python-setuptools python-dev build-essential
EDIT
Windows:
Your error clearly states you need to install Microsoft Visual C++ 14.0
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft
Visual C++ Build Tools":
https://go.microsoft.com/fwlink/?LinkId=691126
Working solution!
Go to https://visualstudio.microsoft.com/downloads/
scroll down one page and download Visual Studio 2017 community.
Go through following link to download the required components for Microsoft Visual C++ 14.0, the link provides what components to be selected while downloading.
https://developercommunity.visualstudio.com/content/problem/409173/error-microsoft-visual-c-140-is-required.html
Hope it works as it worked for me!
Do this:
git clone https://github.com/FSX/misaka.git
2.cd misaka
3.python setup.py install
Only working solution I found for windows,
Go to Visual Studio download page as mentioned in the error, download the installer for the latest version, run the installer,
if you already installed visual studio then click modify,
make sure to select the required packages, especially 'windows 10 sdk' as in the image [Around 1.2gb download and 4.2gb disk space needed in first install].
Then run pip install misaka, to successfully build the package.
If Anaconda distribution is installed in your system, you can try running
conda install libpython m2w64-toolchain -c msys2
like as suggested in other answers, but it won't work for all windows-python version combinations.Any time, building the package requires visual c++.
Tried to install Shapley package (available in R) using
install shap
but got an error:
Building wheels for collected packages: shap, iml
Running setup.py bdist_wheel for shap ... error
Complete output from command C:\Users\Toly_Novik\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\TOLY_N~1\\AppData\\Local\\Temp \\pip-install-o0p96nl3\\shap\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\TOLY_N~1\AppData\Local\Temp\pip-wheel-538qnmm2 --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\shap
copying shap\datasets.py -> build\lib.win-amd64-3.6\shap
copying shap\plots.py -> build\lib.win-amd64-3.6\shap
copying shap\__init__.py -> build\lib.win-amd64-3.6\shap
creating build\lib.win-amd64-3.6\shap\explainers
copying shap\explainers\ime.py -> build\lib.win-amd64-3.6\shap\explainers
copying shap\explainers\kernel.py -> build\lib.win-amd64-3.6\shap\explainers
copying shap\explainers\mimic.py -> build\lib.win-amd64-3.6\shap\explainers
copying shap\explainers\pytree.py -> build\lib.win-amd64-3.6\shap\explainers
copying shap\explainers\tree.py -> build\lib.win-amd64-3.6\shap\explainers
copying shap\explainers\__init__.py -> build\lib.win-amd64-3.6 \shap\explainers
running build_ext
numpy.get_include() C:\Users\Toly_Novik\Anaconda3\lib\site-packages\numpy\core\include
building 'shap._cext' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
Same story for
install xgboost
Are you trying to install shap - a library for explaining Machine Learning models? If so use
pip install shap
See the shap documentation for more info: https://pypi.org/project/shap/
Did you meant to install shapely (https://pypi.org/project/Shapely/)?
In python you can install shapely by doing pip install shapely
For windows shapley can be installed by downloading .whl from http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely and do
pip install <name of whl file>
or if you are using anaconda you can use conda-forge to get shapely
conda config --add channels conda-forge
conda install shapely
To install xgboost see http://xgboost.readthedocs.io/en/latest/python/python_intro.html
For this you might need gcc (c/c++ compiler) or equivalent Microsoft alternative.
For xgboost with conda you can see this stackoverflow.com/questions/35139108/… or simply do conda install py-xgboost
pip install git+https://github.com/slundberg/shap.git
Using the pip install only, did not work for me (errors running tests), neither did the conda approach.
I need to use the cvxopt package for python 3. I run Ubuntu.
So I downloaded cvxopt-1.1.9.tar.gz and extracted the content (a single folder called cvxopt-1.1.9) into a folder
/home/myname/TargetFolder/
manually, not via the command window.
When I run the sequence .configure, then make and then sudo make install, none of them works.
There is a setup.py file in /home/myname/TargetFolder/cvxopt-1.1.9/. When I go to that directory in the command window and type python setup.py install, then I get the following error message:
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/home/myname/anaconda3/lib/python3.5/site-packages/test-easy-install-6110.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/home/myname/anaconda3/lib/python3.5/site-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://pythonhosted.org/setuptools/easy_install.html
That link doesn't exist anymore.
So I follow the advice on http://cvxopt.org/install/ . Apart from the "python setup.py install" command, which didn't work for me, I tried the second thing on their list. Namely "pip install cvxopt"
This gave:
Collecting cvxopt
Downloading cvxopt-1.1.9.tar.gz (1.9MB)
100% |████████████████████████████████| 1.9MB 271kB/s
Building wheels for collected packages: cvxopt
Running setup.py bdist_wheel for cvxopt
Complete output from command /home/myname/anaconda3/bin/python3 -c >"import setuptools;file='/tmp/pip-build-r3o_hfm6/cvxopt/setup.py';>exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmpv0ura7txpip-wheel-:
running bdist_wheel
running a lot of other stuff
and then
/usr/bin/ld: cannot find -llapack
/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Failed building wheel for cvxopt
Failed to build cvxopt
and then
Installing collected packages: cvxopt
Running setup.py install for cvxopt
Complete output from command /home/myname/anaconda3/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip-build-r3o_hfm6/cvxopt/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-1f4yz1xm-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
UPDATING build/lib.linux-x86_64-3.5/cvxopt/_version.py
set build/lib.linux-x86_64-3.5/cvxopt/_version.py to '1.1.9'
running build_ext
building 'base' extension
and then after some more lines it says:
/usr/bin/ld: cannot find -llapack
/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Command "/home/myname/anaconda3/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip-build-r3o_hfm6/cvxopt/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-1f4yz1xm-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-r3o_hfm6/cvxopt
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
If I understood more about Linux and Python I could have focused on the important things and shortened the post a little. But since I know nothing, I post everything I did to maximize the possibility of helpful responses.
Maybe I just don't understand how python works. When I include a package I do this with the
import package
command. But import cvxopt doesn't work. So if I understood what it is exactly doing, then maybe I could use logic to give her or him that cvxopt package, where it is looking for it.
Since you are running Ubuntu, simply run sudo apt-get install python-cvxopt
I can install it this way on 16.04. Not sure what version you are running.
It does look like the compiler (gcc) is complaining because you are missing dependencies (blas). Installing via the package manager should solve your issues.
I am trying to setup a Python development environment in Visual Studio 2013 using the new PTVS. However, I need to be able to develop in both Python 2.7 and Python 3.3. Here's what I have done so far for both versions:
Installed distribute
Installed pip
Added C:\Python 3.3\Scripts & C:\Python 2.7\Scripts to my Path environment variable.
So in the Scripts folders I have:
easy_install.exe
easy_install-3.3.exe
pip.exe
pip-3.3.exe
easy_install.exe
easy_install-2.7.exe
pip.exe
pip-2.7.exe
Along with the executables are the corresponding python scripts.
Now having done this, I am trying to install a Python module RPi.GPIO, but I am getting the following error message:
C:\Windows\system32>pip-2.7 install RPi.GPIO==0.5.3a
Downloading/unpacking RPi.GPIO==0.5.3a
Downloading RPi.GPIO-0.5.3a.tar.gz
Running setup.py egg_info for package RPi.GPIO
Installing collected packages: RPi.GPIO
Running setup.py install for RPi.GPIO
building 'RPi.GPIO' extension
error: Unable to find vcvarsall.bat
Complete output from command "C:\Program Files\Python 2.7\python.exe" -c "import set
uptools;__file__='c:\\users\\jon\\appdata\\local\\temp\\pip_build_Jon\\RPi.GPIO\\setup.p
y';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
--record c:\users\jon\appdata\local\temp\pip-svl0a1-record\install-record.txt --single-
version-externally-managed:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\RPi
copying RPi\__init__.py -> build\lib.win-amd64-2.7\RPi
running build_ext
building 'RPi.GPIO' extension
error: Unable to find vcvarsall.bat
----------------------------------------
Cleaning up...
Command "C:\Program Files\Python 2.7\python.exe" -c "import setuptools;__file__='c:\\use
rs\\jon\\appdata\\local\\temp\\pip_build_Jon\\RPi.GPIO\\setup.py';exec(compile(open(__fi
le__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\jon\ap
pdata\local\temp\pip-svl0a1-record\install-record.txt --single-version-externally-manage
d failed with error code 1 in c:\users\jon\appdata\local\temp\pip_build_Jon\RPi.GPIO
Storing complete log in C:\Users\Jon\pip\pip.log
C:\Windows\system32>
It's trying real hard, but it is failing somewhere, and I can't trace it back to the source. Likewise, I always get the error: Unable to find vcvarsall.bat know matter what module I try to install. What would cause this?
I have tried removed one of the interpreters path from the environment variables, because I thought that the duplicate easy_install.exe instances might be conflicting. Making this change didn't help.
Should the install be nearly as simple as:
pip-2.7 install RPi.GPIO==0.5.3a
or
pip-3.3 install RPi.GPIO==0.5.3a
UPDATE: I just tried install RPi.GPIO by using the command:
pip-3.3 install RPi.GPIO
and it was successfully installed, but the version is way out of date. Hm..?