Code Monkey home page Code Monkey logo

Comments (9)

Goojoe avatar Goojoe commented on June 20, 2024 1

Thanks for your feedback, another user has also encountered this problem, I will no longer use pyinstaller and run it directly in a virtual environment

from ltsc-add-microsoft-store.

Goojoe avatar Goojoe commented on June 20, 2024 1

I finally found the reason, I shouldn't use venv either, because everyone's environment is different, I will change the README and delete releases

from ltsc-add-microsoft-store.

bufce2010 avatar bufce2010 commented on June 20, 2024

please allow me to thank you in this post.
appreciated :)

from ltsc-add-microsoft-store.

VincentW2 avatar VincentW2 commented on June 20, 2024

@Goojoe tried out your 1.0.0 release this morning with another pc, and it gives me this error when running the bat file:

Traceback (most recent call last):
  File "C:\Users\vince\Downloads\ms-store-dl_v1.0.0\main.py", line 2, in <module>
    import pyperclip
ModuleNotFoundError: No module named 'pyperclip'
続行するには何かキーを押してください . . .

Unfortunately requirements.txt isnt included with the zip file, so i cant install it using just the release zip.


ah, now i installed python 3.11 on this computer and i have a different error.

image

"Libpython3.9 is missing, cannot execute code"

from ltsc-add-microsoft-store.

Goojoe avatar Goojoe commented on June 20, 2024

Okay, I may know the reason, the dependent library may not support too new Python version

Traceback (most recent call last):
  File "C:\Users\vince\Downloads\ms-store-dl_v1.0.0\main.py", line 2, in <module>
    import pyperclip
ModuleNotFoundError: No module named 'pyperclip'
続行するには何かキーを押してください . . .

This problem may be that the virtual environment does not have the above modules installed.

from ltsc-add-microsoft-store.

Goojoe avatar Goojoe commented on June 20, 2024

I need more detailed information to locate the problem:
Please tell me which version of the system you run each time
Running method: releases or install python yourself (specify the python version if so)
Finally give me the full running output
You said you ran errors from two computers, so please distinguish between them, I do not know which computer you first reported the error on

from ltsc-add-microsoft-store.

VincentW2 avatar VincentW2 commented on June 20, 2024

I need more detailed information to locate the problem: Please tell me which version of the system you run each time Running method: releases or install python yourself (specify the python version if so) Finally give me the full running output You said you ran errors from two computers, so please distinguish between them, I do not know which computer you first reported the error on

Ok, the other computer was an unstable Vm, it was a bad computer to test on. Heres my main computer I tested it on. Fresh install.

### System Info:

C:\Users\べんせんと>systeminfo

ホスト名:               DESKTOP-MLD4S9L
OS 名:                  Microsoft Windows 10 IoT Enterprise LTSC
OS バージョン:          10.0.19044 N/A ビルド 19044

Python Version:

Python 3.11.5

Pip installed packages:

C:\Users\べんせんと>pip list
Package       Version
------------- ---------
Brotli        1.1.0
certifi       2023.7.22
mutagen       1.47.0
pip           23.2.1
pycryptodomex 3.19.0
setuptools    65.5.0
websockets    11.0.3
yt-dlp        2023.7.6

Error when running run.bat in the 1.0.0 releases zip:

Traceback (most recent call last):
  File "C:\Users\べんせんと\Downloads\ms-store-dl_v1.0.0\main.py", line 2, in <module>
    import pyperclip
ModuleNotFoundError: No module named 'pyperclip'
続行するには何かキーを押してください . . .

from ltsc-add-microsoft-store.

Goojoe avatar Goojoe commented on June 20, 2024

Does venv/site-package have pyperclip?
Also you can try

call venv/Script/active
pip install pyperclip

from ltsc-add-microsoft-store.

VincentW2 avatar VincentW2 commented on June 20, 2024

Does venv/site-package have pyperclip? Also you can try

call venv/Script/active
pip install pyperclip

venv/Lib/site-packages has pyperclip

Ok, when i do that command:

(venv) C:\Users\べんせんと\Downloads\ms-store-dl_v1.0.0>pip install pyperclip
Collecting pyperclip
  Downloading pyperclip-1.8.2.tar.gz (20 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyperclip
  Building wheel for pyperclip (pyproject.toml) ... done
  Created wheel for pyperclip: filename=pyperclip-1.8.2-py3-none-any.whl size=11136 sha256=c7464cba6365040ab1df9ecfb2b5065f5c624a71451f09b2dbb2455f810e6c5d
  Stored in directory: c:\users\べんせんと\appdata\local\pip\cache\wheels\70\bd\ba\8ae5c080c895c9360fe6e153acda2dee82527374467eae061b
Successfully built pyperclip
Installing collected packages: pyperclip
Successfully installed pyperclip-1.8.2

(venv) C:\Users\べんせんと\Downloads\ms-store-dl_v1.0.0>

And go to run run.bat:

Traceback (most recent call last):
  File "C:\Users\べんせんと\Downloads\ms-store-dl_v1.0.0\main.py", line 3, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
続行するには何かキーを押してください . . .

from ltsc-add-microsoft-store.

Related Issues (9)

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.