Re: cx_Oracle asking for a Visual C ++ compiler - Error building the package

"Walter Dörwald" <[email protected]> Thu, 06 Jul 2017 11:55:58 +0200
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <[email protected]>
On 6 Jul 2017, at 10: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, 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

Maybe this should be "import cx_Oracle" (i.e. uppercase O)?

> ModuleNotFoundError: No module named 'cx_oracle'
>
> [...]
>
> Regards
>
> Oscar

Servus,
    Walter

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot