[sqlalchemy] Re: ImportError: No module named 'cx_Oracle' - Python3.6

2020-05-22 Thread Thirsty ForKnowledge
Hi Jonathan,

Thanks for your reply. 

I activated the venv and did an import of cx_Oracle. I had no issues:

(venv) -bash-4.2$ man tree
No manual entry for tree
(venv) -bash-4.2$ python3.6
Python 3.6.8 (default, Sep 26 2019, 11:57:09)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cx_Oracle
>>>


On Friday, May 22, 2020 at 12:46:47 PM UTC-4, Jonathan Vanasco wrote:
>
>
>
> On Thursday, May 21, 2020 at 5:53:57 PM UTC-4, Thirsty ForKnowledge wrote:
>>
>> Hi,
>>
>> I am having an issue where a flask application is crashing with a 500 
>> Error. I upgraded from python 3.5 to 3.6 on linux:
>>
>
>  
> When you upgrade Python, you need to (re)install all of the packages.   
>
> Most likely, cx_Oracle was probably not listed as a dependency in your 
> application, so it didn't install.
>
> You can test this by opening a new Python interpreter for this virtual env 
> and typing "import cx_Oracle". if it errors out, it is not installed.
>
> Installing cx_Oracle into your 3.6 virtual environment should fix this.
>

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/b00418bd-0c30-4f70-ace2-367a1bfa7737%40googlegroups.com.


[sqlalchemy] Re: ImportError: No module named 'cx_Oracle' - Python3.6

2020-05-22 Thread Jonathan Vanasco


On Thursday, May 21, 2020 at 5:53:57 PM UTC-4, Thirsty ForKnowledge wrote:
>
> Hi,
>
> I am having an issue where a flask application is crashing with a 500 
> Error. I upgraded from python 3.5 to 3.6 on linux:
>

 
When you upgrade Python, you need to (re)install all of the packages.   

Most likely, cx_Oracle was probably not listed as a dependency in your 
application, so it didn't install.

You can test this by opening a new Python interpreter for this virtual env 
and typing "import cx_Oracle". if it errors out, it is not installed.

Installing cx_Oracle into your 3.6 virtual environment should fix this.

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/f24cc61a-80fc-4386-807a-2412ce25997b%40googlegroups.com.