[cx-oracle-users] cx_Oracle asking for a Visual C ++ compiler - Error building the package
Brought to you by:
atuining
|
From: Oscar R. <osc...@gm...> - 2017-07-06 08:57:19
|
Hello
I have been trying to install and build up the Cx_Oracle package, on my
company computer,
usuing Windows64 bits, Anaconda package and python3.6.1 versions.
I did the following to build up the last package in the Pypi repository
conda skeleton pypi cx_Oracle
af5f7daad67d6820670d582dfc045/cx_Oracle-6.0rc1.tar.gz (200 KB) for
cx_Oracle.
Downloading cx_Oracle
Using cached download
Unpacking cx_Oracle...
done
I have installed Oracle install client as well,
and when I am checking the file/ directory is finally set, I see it there
File "C:\Anaconda3_version4.3\lib\site-packages\conda_build\skeletons\pypi.py",
line 339, in skeletonize
raise RuntimeError("directory already exists: %s" %
dir_path)RuntimeError: directory already exists: .\cx_oracle
but when I am calling it, it cannot be found
import cx_oracleTraceback (most recent call last):
File "<ipython-input-3-fa7af752f8a0>", line 1, in <module>
import cx_oracle
ModuleNotFoundError: No module named 'cx_oracle'
The directory of cx_Oracle contains the files, and know I need to build the
package with conda build:
conda build cx_Oracle
Just so, it still doesn't work
Provides me the following error:
Anaconda3_version4.3\conda-bld\cx_oracle_1499164353203\_b_env\Library\include
/Tcsrc/cx_Oracle.c /Fobuild\temp.win-amd64-3.6\Rel
ease\src/cx_Oracle.obj -DBUILD_VERSION=6.0rc1
error: command 'cl.exe' failed: No such file or directory
I do not understand what else is needed to finally install the package,
as I see "error: command 'cl.exe' failed: No such file or directory"
is related to a Visual C++ compiler, which I have not installed, as I am
not doing anythin with VC+
Is this question suitable for this forum ? I do not find any solution yet.
Regards
Oscar
--
-----------------------------------
Oscar Rubio Pons.
osc...@gm...
|