qtpylib icon indicating copy to clipboard operation
qtpylib copied to clipboard

[BUG] issues installing QTPYLIB

Open cjelsa opened this issue 4 years ago • 6 comments

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 avatar Jun 20 '20 13:06 cjelsa

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.

marvin-hansen avatar Oct 25 '20 02:10 marvin-hansen

Bump~

Same error for me on Windows, python 3.8.5

Thanks!

tsguo3 avatar Jan 15 '21 17:01 tsguo3

bump ~~ Same error for me on Win 10

simonzhangzp avatar Jan 17 '21 17:01 simonzhangzp

Windows python 3.9 same problem....

gsteri1 avatar Apr 05 '21 16:04 gsteri1

duplicate of https://github.com/ranaroussi/qtpylib/issues/141 with workaround https://github.com/ranaroussi/qtpylib/issues/141#issuecomment-551453502 so the flags --upgrade --no-cache-dir added here do not help

schwabts avatar Nov 02 '21 09:11 schwabts

I have also same problem. python version 3.10.10

Atila027 avatar Mar 01 '23 00:03 Atila027