Sorry can you elaborate for the more naive Python developer? Where does this go? cx_oracle>=6.0.2,!=6.3,!=6.4
On Thursday, 5 July 2018 15:41:49 UTC+1, Mike Bayer wrote: > > as mentioned in the other thread, omit cx_Oracle 6.4 from requirements: > > cx_oracle>=6.0.2,!=6.3,!=6.4 > > https://github.com/oracle/python-cx_Oracle/issues/199 > > > > On Thu, Jul 5, 2018 at 8:42 AM, Jeremy Flowers > <[email protected] <javascript:>> wrote: > > Hi. > > I have a Python VM with SQLAlchemy and my Python code. > > It all works fine with: > > Python 3.6.5 > > SqlAlchemy 1.2.6 > > > > I believe when I installed Sqlalchemy ages ago, I used: > > pip install sqlalchemy. > > > > > > We are now trying to run our code off a newly setup Amazon instance to > > enable co-workers to use the fruits of my labour. > > > > However, a co-worker tried installing using the Sqlalchemy setup.py > script > > instead of pip install sqlachemy. > > > > I think he had slightly newer versions of Python 3/SqlAlchemy. I can > provide > > this later - but I'd assume it's latest of each based on today's date. > > > > We then had to install cx_oracle. Which I believe was done with pip > install > > cx_oracle by both myself and my co-worker. > > > > But we are now getting an odd message when we tring and run my code: > > including: > > positional and named binds cannot be intermixed > > along with some SQL output. > > > > 1) How to I get past this? > > > > I think my co-worker is tying up the Amazon instance ATM - so I can't > > confirm the specifics! > > > > I was trying to compare what's in the <python install > > folder>\Lib\site-packages > > When we compared this I noticed I must have installed sqlalchemy via pip > - > > he didn't. > > > > 2) How do you uninstall the sqlalchemy when run via the setup? > > > > Where's the uninstall script when setup.py was run? > > Can I just delete certain folders? > > Feedback on this would help. > > > > 3) If I then do pip install will it fix the: positional and named binds > > cannot be intermixed message? > > > > cx_oracle: > > I've seen a Stackoverflow post where people have said the pypy version > of > > cx_oracle is buggy.. > > I wonder if pip version has got corrupted since I did my install - where > i > > get no such errors... > > > > 4) Is there an easy way to copy/paste folders from my VM to the Amazon > > instance for cx_oracle? > > What are the steps, if this is another way to overcome error message? > > > > If you require further feedback, I can append it to this thread latter. > > > > Feel free to answer just a specific question if it will get me past the > > message about: positional and named binds cannot be intermixed > > > > -- > > 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 [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at https://groups.google.com/group/sqlalchemy. > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
