Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Binbin Chen
Binbin Chen
1,976 Points

question about install cx_oracle==5.3 in my miniconda

C:\Users\hchmbxc\aaab>C:\ProgramData\Miniconda3\envs\ds\Scripts\pip install cx_Oracle==5.3 Collecting cx_Oracle==5.3 Using cached https://files.pythonhosted.org/packages/14/05/4d492fb049eeee24ff8b5fdf23c6240b81ef168d4039dfbf6629e022ba6b/cx_Oracle-5.3.tar.gz Building wheels for collected packages: cx-Oracle Running setup.py bdist_wheel for cx-Oracle ... error Complete output from command C:\ProgramData\Miniconda3\envs\ds\python.exe -u -c "import setuptools, tokenize;file='C:\Users\hchmbxc\AppData\Local\Temp\pip-install-z40e83lh\cx-Oracle\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\hchmbxc\AppData\Local\Temp\pip-wheel-t_xc38az --python-tag cp35: running bdist_wheel running build running build_ext building 'cx_Oracle' extension creating build creating build\temp.win-amd64-3.5-12c creating build\temp.win-amd64-3.5-12c\Release creating build\temp.win-amd64-3.5-12c\Release\src cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\users\hchmbxc\client\product\12.1.0\client_1\oci\include -IC:\users\hchmbxc\client\product\12.1.0\client_1\rdbms\demo -IC:\ProgramData\Miniconda3\envs\ds\include -IC:\ProgramData\Miniconda3\envs\ds\include /Tcsrc/cx_Oracle.c /Fobuild\temp.win-amd64-3.5-12c\Release\src/cx_Oracle.obj -DBUILD_VERSION=5.3 error: command 'cl.exe' failed: No such file or directory


Failed building wheel for cx-Oracle Running setup.py clean for cx-Oracle Failed to build cx-Oracle Installing collected packages: cx-Oracle Running setup.py install for cx-Oracle ... error Complete output from command C:\ProgramData\Miniconda3\envs\ds\python.exe -u -c "import setuptools, tokenize;file='C:\Users\hchmbxc\AppData\Local\Temp\pip-install-z40e83lh\cx-Oracle\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\hchmbxc\AppData\Local\Temp\pip-record-0998euyy\install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'cx_Oracle' extension creating build creating build\temp.win-amd64-3.5-12c creating build\temp.win-amd64-3.5-12c\Release creating build\temp.win-amd64-3.5-12c\Release\src cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\users\hchmbxc\client\product\12.1.0\client_1\oci\include -IC:\users\hchmbxc\client\product\12.1.0\client_1\rdbms\demo -IC:\ProgramData\Miniconda3\envs\ds\include -IC:\ProgramData\Miniconda3\envs\ds\include /Tcsrc/cx_Oracle.c /Fobuild\temp.win-amd64-3.5-12c\Release\src/cx_Oracle.obj -DBUILD_VERSION=5.3 error: command 'cl.exe' failed: No such file or directory

----------------------------------------

Command "C:\ProgramData\Miniconda3\envs\ds\python.exe -u -c "import setuptools, tokenize;file='C:\Users\hchmbxc\AppData\Local\Temp\pip-install-z40e83lh\cx-Oracle\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\hchmbxc\AppData\Local\Temp\pip-record-0998euyy\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\hchmbxc\AppData\Local\Temp\pip-install-z40e83lh\cx-Oracle\

Binbin Chen
Binbin Chen
1,976 Points

I got some error message when I tried to install cx_oracle ==5.3. can someone please help me. thank you