Python Forum
qpython package error - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: qpython package error (/thread-40300.html)



qpython package error - Creepy - Jul-06-2023

Hi,

Could you help me resolve the issue with package?
Re-installed a number of times, but still the same issue.

When I run my code, I get the below error:

qpython/qconnection.py", line 21
from qpython.qtype import QException

qpython/qtype.py", line 164, in <module>
QBOOL: numpy.bool_,
AttributeError: module 'numpy' has no attribute 'bool_'


Though I have all requirements installed as well: ( qPython-1.1.0 )

pytest>=2.5.0
numpy>=1.8.0
pandas>=0.14.0
cython>=0.20
twisted>=13.2.0
mock>=1.0.1

import pandas as pd import numpy as np from qpython import qconnection q = qconnection.QConnection(host='abc', port=xyzv,username='ju', password='lm',timeout=None)



RE: qpython package error - snippsat - Jul-06-2023

qPython
Quote:To future readers, this project is not being actively maintained. The Fintech Open Source Foundation has forked it and is actively maintaining: https://github.com/finos/qPython.

Install with pip install qpython3.
Imports are the same so no code changes required.



RE: qpython package error - deanhystad - Jul-06-2023

I don't even know where you could find something that old. The oldest I could find was 1.2.5 released in 2016.


RE: qpython package error - Creepy - Jul-06-2023

(Jul-06-2023, 02:47 PM)snippsat Wrote: qPython
Quote:To future readers, this project is not being actively maintained. The Fintech Open Source Foundation has forked it and is actively maintaining: https://github.com/finos/qPython.

Install with pip install qpython3.
Imports are the same so no code changes required.

Thank you, that resolved it


RE: qpython package error - Creepy - Jul-06-2023

(Jul-06-2023, 03:37 PM)deanhystad Wrote: I don't even know where you could find something that old. The oldest I could find was 1.2.5 released in 2016.

I managed to get it, in pyPi site under 'Release History'
https://pypi.org/project/qPython/#history


RE: qpython package error - masonsbore - Apr-19-2024

Smile Thanks!


This forum uses Lukasz Tkacz MyBB addons.
Forum use Krzysztof "Supryk" Supryczynski addons.