Re: [cx-oracle-users] cx_Oracle asking for a Visual C ++ compiler - Error building the package
Brought to you by:
atuining
From: Jani T. <re...@gm...> - 2017-07-06 09:10:39
|
Hi, Building cx_Oracle requires you to have working C(++) compiler since cx_Oracle is written in C, not in Python even it's a Python module. On 06.07.2017 11:57, Oscar Rubio wrote: > 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,inskeletonize raiseRuntimeError("directory already exists: > %s"%dir_path)RuntimeError:directory already exists:.\cx_oracle| > > but when I am calling it, it cannot be found > > |importcx_oracle Traceback(most recent call > last):File"<ipython-input-3-fa7af752f8a0>",line > 1,in<module>importcx_oracle ModuleNotFoundError:Nomodule 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_1499164 > 353203\_b_env\Library\include /Tcsrc/cx_Oracle.c > /Fobuild\temp.win-amd64-3.6\Rel ease\src/cx_Oracle.obj > -DBUILD_VERSION=6.0rc1error:command 'cl.exe'failed:Nosuch file > ordirectory| > > I do not understand what else is needed to finally install the package, > > as I see "error:command 'cl.exe'failed:Nosuch file ordirectory" > > 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... <mailto:osc...@gm...> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users -- Jani Tiainen |