Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

[BUG] issues installing QTPYLIB #157

Open
cjelsa opened this issue Jun 20, 2020 · 6 comments
Open

[BUG] issues installing QTPYLIB #157

cjelsa opened this issue Jun 20, 2020 · 6 comments
Labels

Comments

@cjelsa
Copy link

cjelsa commented Jun 20, 2020

Describe the bug
An error when running pip install qtpylib --upgrade --no-cache-dir

To Reproduce
In a bash shell in the right conda environment type: pip install qtpylib --upgrade --no-cache-dir

Screenshots
ERROR: Command errored out with exit status 1:
command: /Users/cjelsa/anaconda3/envs/hft/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/5r/_gg810xd6r3dk5sl19fjq0n80000gn/T/pip-install-xuoc4xs3/qtpylib/setup.py'"'"'; file='"'"'/private/var/folders/5r/_gg810xd6r3dk5sl19fjq0n80000gn/T/pip-install-xuoc4xs3/qtpylib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/5r/_gg810xd6r3dk5sl19fjq0n80000gn/T/pip-pip-egg-info-rjzuh04o
cwd: /private/var/folders/5r/_gg810xd6r3dk5sl19fjq0n80000gn/T/pip-install-xuoc4xs3/qtpylib/
Complete output (1 lines):
error in QTPyLib setup command: "values of 'package_data' dict" must be a list of strings (got 'qtpylib/_webapp/*')
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Desktop (please complete the following information):
MacOs 10.14.6
Python 3.8.3, but same issues with 3.7.7 and 3.7.3

Additional context
Add any other context about the problem here.

@cjelsa cjelsa added the bug label Jun 20, 2020
@marvin-hansen
Copy link

marvin-hansen commented Oct 25, 2020

Bumping up.
I get the same error on Python 3.8.6

Update:
Just clone the repo, and import the Python scripts and for the most part it works after a bit of patching. I got the thing up & running, connected to the gateway and DB.

However, there is a reason the project has been stalled and I wouldn't exactly recommend it for anything else than learning & testing.

@tsguo3
Copy link

tsguo3 commented Jan 15, 2021

Bump~

Same error for me on Windows, python 3.8.5

Thanks!

@simonzhangzp
Copy link

bump ~~
Same error for me on Win 10

@gsteri1
Copy link

gsteri1 commented Apr 5, 2021

Windows python 3.9 same problem....

@schwabts
Copy link

schwabts commented Nov 2, 2021

duplicate of #141 with workaround #141 (comment)
so the flags --upgrade --no-cache-dir added here do not help

@Atila027
Copy link

Atila027 commented Mar 1, 2023

I have also same problem.
python version 3.10.10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants