Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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