Sep-23-2018, 04:21 PM
idk how to do that
So lost
|
Sep-23-2018, 04:21 PM
idk how to do that
You mess with lot stuff that you should not do in Thread @mtndewwarrior.
Like this moving stuff around. mtndewwarrior Wrote:i copied everything from site packages to a folder in site-packages, and put it in a folder named PyQt5 in Lib. mtndewwarrior Wrote:Requirement already satisfied: pyqt5You had PyQt5 install to 3.7 here,now you just have to choice corrct interpreter in Pycharm. This can help from start Python 3.6/3.7 and pip installation under Windows. Virtual environment venv is build into Python 3.7. No need to install anything. Quick run how to use virtual environment. # Test pip C:\>pip -V pip 18.0 from c:\python37\lib\site-packages\pip (python 3.7) # Test python C:\>python -V Python 3.7.0 # Now start # Make virtual environment C:\>python -m venv pq_env # Cd in C:\>cd pq_env # Activate environment C:\pq_env>C:\pq_env\Scripts\Activate # Test pip see that i point pq_env folder (pq_env) C:\pq_env>pip -V pip 10.0.1 from c:\pq_env\lib\site-packages\pip (python 3.7) # Install PyQt5 (pq_env) C:\pq_env>pip install pyqt5 Collecting pyqt5 Downloading https://files.pythonhosted.org/packages/84/44/32c311a6fb23b8b5cc4f535af1ad65fc3e071440884a1fad3c1aef68f47b/PyQt5-5.11.2-5.11.1-cp35.cp36.cp37.cp38-none-win32.whl (39.3MB) 100% |████████████████████████████████| 39.4MB 265kB/s Collecting PyQt5_sip<4.20,>=4.19.11 (from pyqt5) Downloading https://files.pythonhosted.org/packages/84/63/e68c99745d9b95860eb348a8bef5d884bcfc966e7b55c866734d1c7a44af/PyQt5_sip-4.19.12-cp37-none-win32.whl (43kB) 100% |████████████████████████████████| 51kB 2.2MB/s Installing collected packages: PyQt5-sip, pyqt5 Successfully installed PyQt5-sip-4.19.12 pyqt5-5.11.2 # Test that PyQt5 work in environment pq_env) C:\pq_env>python Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from PyQt5.QtWidgets import QApplication, QMainWindow, QMessageBox >>> |
|