GithubHelp home page GithubHelp logo

[Windows] fail to load about pyq HOT 14 CLOSED

jmitek avatar jmitek commented on July 17, 2024
[Windows] fail to load

from pyq.

Comments (14)

sashkab avatar sashkab commented on July 17, 2024

Did you try using conda to install PyQ under Windows?

conda install -c kx -c enlnt pyq 

Note, this will install conda-provided version of kdb+.

from pyq.

sashkab avatar sashkab commented on July 17, 2024

Another thing, try removing c:\users\jmitek\appdata\local\pip\cache\wheels\ac\e1\86\336491a8401046eed5f231db7a49e1c15555d0ad10a49be74f\pyq-4.2.1-cp37-cp37m-win32.whl file and re-installing PyQ from sources. Perhaps wheel has hard-coded paths somewhere. Or use pip install --no-binary pyq pyq instead.

from pyq.

jmitek avatar jmitek commented on July 17, 2024

Thanks, I have tried as suggested, but the package is not found:

I uninstalled, deleted the the whl file, then
1)
(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>conda install -c kx -c enlnt pyq
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - pyq

Current channels:

  - https://conda.anaconda.org/kx/win-32
  - https://conda.anaconda.org/kx/noarch
  - https://conda.anaconda.org/enlnt/win-32
  - https://conda.anaconda.org/enlnt/noarch
  - https://repo.anaconda.com/pkgs/main/win-32
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-32
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-32
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
  1. I tried uninstalling and using regular install
  2. tried uninstalling, and using no binary mode

Unfortunately for 1) it didn't fiund the package, and 2 & 3 gave the same error.

from pyq.

sashkab avatar sashkab commented on July 17, 2024

Please post full output of the

set QHOME=c:\path\to\qhome
python -mpip install -v pyq

Please ensure you're using at least pip 19.x.

from pyq.

jmitek avatar jmitek commented on July 17, 2024

Pip is quite recent i think:

(jmitek_32bit_3_7) C:\>pip --version
pip 20.0.2 from C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\lib\site-packages\pip (python 3.7)
(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>python -mpip install -v pyq
Non-user install because site-packages writeable
Created temporary directory: C:\Users\jmitek\AppData\Local\Temp\pip-ephem-wheel-cache-8vxxuxhs
Created temporary directory: C:\Users\jmitek\AppData\Local\Temp\pip-req-tracker-dsjy3b0d
Initialized build tracking at C:\Users\jmitek\AppData\Local\Temp\pip-req-tracker-dsjy3b0d
Created build tracker: C:\Users\jmitek\AppData\Local\Temp\pip-req-tracker-dsjy3b0d
Entered build tracker: C:\Users\jmitek\AppData\Local\Temp\pip-req-tracker-dsjy3b0d
Created temporary directory: C:\Users\jmitek\AppData\Local\Temp\pip-install-i_wabg2q
1 location(s) to search for versions of pyq:
* https://pypi.org/simple/pyq/
Fetching project page and analyzing links: https://pypi.org/simple/pyq/
Getting page https://pypi.org/simple/pyq/
Found index url https://pypi.org/simple
Getting credentials from keyring for https://pypi.org/simple
Getting credentials from keyring for pypi.org
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/pyq/ HTTP/1.1" 200 1789
  Found link https://files.pythonhosted.org/packages/66/2c/d1e1891e293edd7905ac4d1d6e4f9f30ff7e40cebf8e2a2629bf4f9f4152/pyq-4.1.0.post1.tar.gz#sha256=e7552e092ef68196a431aec6a7c2d235b78a4d2ae54e8d3246
f485fd963e1637 (from https://pypi.org/simple/pyq/), version: 4.1.0.post1
  Found link https://files.pythonhosted.org/packages/c0/a6/6dad579c65ded93d9da0fdf9e0da268870c9cea5abd6e2d0606b67f0905d/pyq-4.1.1.tar.gz#sha256=72b337007f1f43743bd0f02f05f16331ddbad46a7fd00bfced158f41
d2bfee18 (from https://pypi.org/simple/pyq/), version: 4.1.1
  Skipping link: none of the wheel's tags match: cp27-cp27m-macosx_10_12_intel: https://files.pythonhosted.org/packages/4f/bd/e7026ae10439d36eca775d2075ef2a121d9c252e8408d5eaa09189c47fd3/pyq-4.1.2b1-c
p27-cp27m-macosx_10_12_intel.whl#sha256=6138d0fc73d1a91f7bb53c2c5d2eff2f7c0951b66262fec9847ee20aa614009a (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp27-cp27m-win32: https://files.pythonhosted.org/packages/13/a3/a98edf0c3f021ebf404c00287a93cc9a31a9eb32e0273727ffae94788379/pyq-4.1.2b1-cp27-cp27m-win
32.whl#sha256=c1e9849a3b0b803f59229f65690bab69050abe2a81cd7ca096a73ea82a3b3fe4 (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp27-cp27m-win_amd64: https://files.pythonhosted.org/packages/94/3b/3ffc69412108b64846e176bbee5196d6161436ce40daf4e6bb58d589b20e/pyq-4.1.2b1-cp27-cp27m
-win_amd64.whl#sha256=233f8ee5648eab7d69772e63cd70801749deb0498b5a847df8437155347aaa33 (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp36-cp36m-macosx_10_12_intel: https://files.pythonhosted.org/packages/24/55/08decbc9fa08e6d4a051aba7812b4a5d3182d0fdbf10e1b87af11d1c4de8/pyq-4.1.2b1-c
p36-cp36m-macosx_10_12_intel.whl#sha256=b007611b5c30b9cff0036e85d1d018286cfcbed1fcc08f72114f7631942609bf (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp36-cp36m-win32: https://files.pythonhosted.org/packages/02/ab/96a7d742d5279a23654201a16d34cda0019fbaaef4fa64984da13ce06f04/pyq-4.1.2b1-cp36-cp36m-win
32.whl#sha256=59f27fa5d4a034ecb0fd2a4c97558aa411cd2012d8143c4cfcd2dd1395e5f33a (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp36-cp36m-win_amd64: https://files.pythonhosted.org/packages/53/fb/9cadc05b6cb919ee345c266e76c19257b33c1e9546bd9d22792f4c1e2b49/pyq-4.1.2b1-cp36-cp36m
-win_amd64.whl#sha256=0fb33044482ae7b71750949a9a46562e5d262099eb68caef1bc474e7688abd23 (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp27-cp27m-win32: https://files.pythonhosted.org/packages/29/ba/9c7184f72fd9328f949e770402dc98f8c34d46fe24c5075ce8d57a1acb93/pyq-4.1.2-cp27-cp27m-win32
.whl#sha256=50fc98f48795b6ac7e05fc35bcfc415e5170d3218c8f4d4e02362a601f8fa9c0 (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp27-cp27m-win_amd64: https://files.pythonhosted.org/packages/48/90/76ea75b94cd15b31db1c304fe0d83a07b82a788295f57e5981cbcdcd377f/pyq-4.1.2-cp27-cp27m-w
in_amd64.whl#sha256=45b89c77ac6ef96fd3c18964fbf3c1aad9a6fa8c65cfb1dc52dd33552ac900a7 (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp36-cp36m-win32: https://files.pythonhosted.org/packages/fb/4f/bbbe1d029875e3492afce4b4b44717c88228420be53a9ce14a8920280f66/pyq-4.1.2-cp36-cp36m-win32
.whl#sha256=05c51e3d538e89b36583d2c13bc53443dc97e2fc60ea52dca82e67aa9c54d570 (from https://pypi.org/simple/pyq/)
  Skipping link: none of the wheel's tags match: cp36-cp36m-win_amd64: https://files.pythonhosted.org/packages/dd/19/e7e4e4540061ec2946fc6941b78dd16576d5c1802ed155cfede3bf004278/pyq-4.1.2-cp36-cp36m-w
in_amd64.whl#sha256=8cb1cd6378dd32bf852cbd47fda4f73624d89aa683f5b880e1179320f2a1fae1 (from https://pypi.org/simple/pyq/)
  Found link https://files.pythonhosted.org/packages/99/04/a8c7f814ae137e3fdb21f43666221557f76ca7f59fa3c992800c2d159502/pyq-4.1.2.tar.gz#sha256=09ce6ae8a4b2a2c36008782108504b357c52c4d3cc1db602b965790b
4ece865b (from https://pypi.org/simple/pyq/), version: 4.1.2
  Found link https://files.pythonhosted.org/packages/49/bf/81a4f658f7b89f1b75903b9470240d8c20746efd5c2c3b439cc214e28990/pyq-4.1.3.tar.gz#sha256=e4e95970a930408d64b7351ad80c4c601f1ba414379de4d03717138d
13a2a02f (from https://pypi.org/simple/pyq/), version: 4.1.3
  Found link https://files.pythonhosted.org/packages/53/de/195ce13d50784489365fee87d1e7d637fa2e42f3c5ae359d56c13595c93c/pyq-4.1.4.tar.gz#sha256=3386268669be9f6c3826862edfd8fc91e7b1be2ff246ebc2275c30ae
a5075211 (from https://pypi.org/simple/pyq/), version: 4.1.4
  Found link https://files.pythonhosted.org/packages/ec/ec/5cac702015b3b83de26cd896e38a5d7cbace513a48d37da9c7390dcc86eb/pyq-4.2.0.tar.gz#sha256=eb0fcb2773b89055174b000d1c0fcefd27dbea06a7ffe6c23924768f
6d922c35 (from https://pypi.org/simple/pyq/), version: 4.2.0
  Found link https://files.pythonhosted.org/packages/55/ef/c0ce6cfd39dc599cba09e1d889dc750fea83d2ab47afca328df46f3441cf/pyq-4.2.1.tar.gz#sha256=4f0c1b654a99d356992b06493acb843fcd9611f76449b068a47dd3cb
30e907ca (from https://pypi.org/simple/pyq/), version: 4.2.1
Given no hashes to check 7 links for project 'pyq': discarding no candidates
Using version 4.2.1 (newest of versions: 4.1.0.post1, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.2.0, 4.2.1)
Using cached wheel link: file:///C:/users/jmitek/appdata/local/pip/cache/wheels/eb/82/3d/7caf530ccb243dd5f55b260ddc247d87283840118e86983734/pyq-4.2.1-cp37-cp37m-win32.whl
Processing c:\users\jmitek\appdata\local\pip\cache\wheels\eb\82\3d\7caf530ccb243dd5f55b260ddc247d87283840118e86983734\pyq-4.2.1-cp37-cp37m-win32.whl
  Added pyq from file:///C:/users/jmitek/appdata/local/pip/cache/wheels/eb/82/3d/7caf530ccb243dd5f55b260ddc247d87283840118e86983734/pyq-4.2.1-cp37-cp37m-win32.whl to build tracker 'C:\\Users\\jmitek\\
AppData\\Local\\Temp\\pip-req-tracker-dsjy3b0d'
  Removed pyq from file:///C:/users/jmitek/appdata/local/pip/cache/wheels/eb/82/3d/7caf530ccb243dd5f55b260ddc247d87283840118e86983734/pyq-4.2.1-cp37-cp37m-win32.whl from build tracker 'C:\\Users\\jmit
ek\\AppData\\Local\\Temp\\pip-req-tracker-dsjy3b0d'
Installing collected packages: pyq
  Created temporary directory: C:\Users\jmitek\AppData\Local\Temp\pip-unpacked-wheel-aia53nzf

Successfully installed pyq-4.2.1
Cleaning up...
Removed build tracker: 'C:\\Users\\jmitek\\AppData\\Local\\Temp\\pip-req-tracker-dsjy3b0d'

from pyq.

sashkab avatar sashkab commented on July 17, 2024

Please remove C:/users/jmitek/appdata/local/pip/cache/wheels/eb/82/3d/7caf530ccb243dd5f55b260ddc247d87283840118e86983734/pyq-4.2.1-cp37-cp37m-win32.whl wheel and then ensure you set QHOME to point into your kdb+ installation before running pip install.. and try again.

from pyq.

jmitek avatar jmitek commented on July 17, 2024

Thanks @sashkab I have done that, but unfortunately still the same issue. Here are all my steps today:

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>pip uninstall pyq
Found existing installation: pyq 4.2.1
Uninstalling pyq-4.2.1:
  Would remove:
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\lib\site-packages\pyq-4.2.1.dist-info\*
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\lib\site-packages\pyq\*
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\p.k
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\pyq-config.q
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\pyq-operators.q
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\python.q
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\w32\pyq.dll
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\ipyq
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\pq
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\pyq-coverage
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\pyq-runtests
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\qp
  Would not remove (might be manually added):
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\lib\site-packages\pyq\kernel.py
Proceed (y/n)? y
  Successfully uninstalled pyq-4.2.1

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>echo %QHOME%
C:\Users\jmitek\apps\q

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>del C:\users\jmitek\appdata\local\pip\cache\wheels\eb\82\3d\7caf530ccb243dd5f55b260ddc247d87283840118e8
6983734\pyq-4.2.1-cp37-cp37m-win32.whl
Could Not Find C:\users\jmitek\appdata\local\pip\cache\wheels\eb\82\3d\7caf530ccb243dd5f55b260ddc247d87283840118e86983734\pyq-4.2.1-cp37-cp37m-win32.whl

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>pip install pyq
Processing c:\users\jmitek\appdata\local\pip\cache\wheels\ac\e1\86\336491a8401046eed5f231db7a49e1c15555d0ad10a49be74f\pyq-4.2.1-cp37-cp37m-win32.whl
Installing collected packages: pyq
Successfully installed pyq-4.2.1

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>pip uninstall pyq
Found existing installation: pyq 4.2.1
Uninstalling pyq-4.2.1:
  Would remove:
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\lib\site-packages\pyq-4.2.1.dist-info\*
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\lib\site-packages\pyq\*
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\p.k
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\pyq-config.q
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\pyq-operators.q
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\python.q
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\w32\pyq.dll
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\ipyq
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\pq
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\pyq-coverage
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\pyq-runtests
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\scripts\qp
  Would not remove (might be manually added):
    c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\lib\site-packages\pyq\kernel.py
Proceed (y/n)? y
  Successfully uninstalled pyq-4.2.1

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>del c:\users\jmitek\appdata\local\pip\cache\wheels\ac\e1\86\336491a8401046eed5f231db7a49e1c15555d0ad10a
49be74f\pyq-4.2.1-cp37-cp37m-win32.whl

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>pip install pyq
Collecting pyq
  Downloading pyq-4.2.1.tar.gz (102 kB)
     |████████████████████████████████| 102 kB 2.2 MB/s
Building wheels for collected packages: pyq
  Building wheel for pyq (setup.py) ... done
  Created wheel for pyq: filename=pyq-4.2.1-cp37-cp37m-win32.whl size=192178 sha256=74e1c5d69afa841decd949dda09b9f30cf6f1a7df360a21aa35b1bd462e9995f
  Stored in directory: c:\users\jmitek\appdata\local\pip\cache\wheels\eb\82\3d\7caf530ccb243dd5f55b260ddc247d87283840118e86983734
Successfully built pyq
Installing collected packages: pyq
Successfully installed pyq-4.2.1

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>where q
C:\Users\jmitek\apps\q\w32\q.exe

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>q python.q
KDB+ 3.6 2019.04.02 Copyright (C) 1993-2019 Kx Systems
w32/ 8()core 4095MB jmitek sydw1mx1qm2 10.16.203.24 NONEXPIRE

Welcome to kdb+ 32bit edition
For support please see http://groups.google.com/d/forum/personal-kdbplus
Tutorials can be found at http://code.kx.com
To exit, type \\
To remove this startup msg, edit q.q
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pyq'
'python
  [0]  (<load>)

from pyq.

jmitek avatar jmitek commented on July 17, 2024

Note i tried a couple of times, so that file you asked me to delete, I had deleted, but then tried the same thing a few more time. That whl file moved, but as you can see I deleted that as well, so it downloaded fresh file and did the build.

from pyq.

sashkab avatar sashkab commented on July 17, 2024

Please install kdb+ into c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q\, set QHOME to point into c:\users\jmitek\appdata\local\continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q, and try installing PyQ again python -mpip install --no-binary pyq pyq.

Perhaps, dropping kdb+ into this directory and setting QHOME will make your PyQ installation working without reinstalling.

from pyq.

jmitek avatar jmitek commented on July 17, 2024

Seems to have actually loaded python shell. When i 'import pyq', it hangs, and then i do ^Z+Enter, but nothing happens. There is an error stating the venv is not initialized, even though it clearly is.. Running just 'python' works fine though.

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>set QHOME=C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7\q

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>python -mpip install --no-binary pyq pyq
Collecting pyq
  Downloading pyq-4.2.1.tar.gz (102 kB)
     |████████████████████████████████| 102 kB 3.2 MB/s
Skipping wheel build for pyq, due to binaries being disabled for it.
Installing collected packages: pyq
    Running setup.py install for pyq ... done
Successfully installed pyq-4.2.1

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>where q
C:\Users\jmitek\apps\q\w32\q.exe

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>q\w32\q.exe python.q
KDB+ 3.6 2019.04.02 Copyright (C) 1993-2019 Kx Systems
w32/ 8()core 4095MB jmitek sydw1mx1qm2 10.16.203.24 NONEXPIRE

Welcome to kdb+ 32bit edition
For support please see http://groups.google.com/d/forum/personal-kdbplus
Tutorials can be found at http://code.kx.com
To exit, type \\
To remove this startup msg, edit q.q
Python 3.7.6 (default, Jan  8 2020, 16:21:45) [MSC v.1916 32 bit (Intel)] :: Anaconda, Inc. on win32

Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated.  Libraries may fail to load.  To activate this environment
please see https://conda.io/activation

Type "help", "copyright", "credits" or "license" for more information.
>>> import pyq
Z

KeyboardInterrupt
>>>
>>>
>>>

(jmitek_32bit_3_7) C:\Users\jmitek\AppData\Local\Continuum\anaconda3_32bit\envs\jmitek_32bit_3_7>python
Python 3.7.6 (default, Jan  8 2020, 16:21:45) [MSC v.1916 32 bit (Intel)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

from pyq.

sashkab avatar sashkab commented on July 17, 2024

Perhaps this is a hint:

 This Python interpreter is in a conda environment, but the environment has
not been activated.  Libraries may fail to load.  To activate this environment
please see https://conda.io/activation

from pyq.

jmitek avatar jmitek commented on July 17, 2024

So you can see that the command-line has the active venv name 'jmitek_32bit_3_7' at the start of each line, meaning the venv is activated. Also, when i just run 'python' it works and does not print any error and works okay (as in the commands i've posted above).

So it seems python loads okay, but when i call q python.q, that's when the venv can't be found. Perhaps it's getting mixed up with the CWD or something like that?

from pyq.

sashkab avatar sashkab commented on July 17, 2024

Perhaps it's something in your environment, as our builds are working as expected and we are unable to reproduce these issues. On other note, Windows 7 is no longer supported operating system, so I don't think I am willing to attempt to reproduce this as I cannot get Windows 7 installed.

What I can suggest you to do, is to clone this repository on your system, and attempt to build conda package using meta.yaml included in this repository.

from pyq.

github-actions avatar github-actions commented on July 17, 2024

Stale issue message

from pyq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.