Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qpython package error
#1
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)
Reply
#2
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.
Reply
#3
I don't even know where you could find something that old. The oldest I could find was 1.2.5 released in 2016.
Reply
#4
(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
Reply
#5
(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
Reply
#6
Smile Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  countryinfo package error MarcusAurelius 4 2,950 Mar-20-2021, 05:42 PM
Last Post: deanhystad
  error with netcdf4 package damdam 0 1,903 Nov-18-2020, 06:44 PM
Last Post: damdam
  Importing module from a package results in import error goghvv 2 2,471 Mar-27-2020, 07:13 PM
Last Post: goghvv
  Beginner - simple package installation error mefeng2008 0 1,772 Mar-13-2020, 09:17 AM
Last Post: mefeng2008
  Error importing package julio2000 3 3,870 Jan-26-2020, 06:15 PM
Last Post: buran
  Error in importing package in pycharm fullstop 0 2,395 Dec-12-2019, 04:03 PM
Last Post: fullstop
  error using geoGen package from GITHUB hknarahari 4 3,362 Sep-17-2019, 06:59 AM
Last Post: buran
  package(s) error pykdtree zahid990170 0 2,267 Mar-21-2019, 06:18 PM
Last Post: zahid990170
  Error while importing my own package giu88 4 3,042 Sep-19-2018, 12:18 PM
Last Post: giu88
  Countryinfo package charmap error mkaru 6 7,431 Sep-16-2018, 02:58 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020