Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install py2wasm on Windows 10 #1

Open
bobbyohyeah opened this issue May 8, 2024 · 3 comments
Open

Install py2wasm on Windows 10 #1

bobbyohyeah opened this issue May 8, 2024 · 3 comments

Comments

@bobbyohyeah
Copy link

bobbyohyeah commented May 8, 2024

Python Version: 3.11.8

When I run pip install py2wasm, it says that the package installs properly, but there's no command found when I run py2wasm or python -m py2wasm. I tried uninstalling Nuitka, running it in a python virtual environment, and trying python 3.8-3.12, but no luck.

Nuitka standalone runs fine with all of the python versions listed.

@g-rodigy
Copy link

Have same issue.
Python Version: 3.11.9

@emillaslodom
Copy link

Same issue with Python 3.12.3

@krausality
Copy link

krausality commented Dec 22, 2024

Same, but on windows 11:

PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> py -3.11 -m venv venv
PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> .\venv\Scripts\activate
(venv) PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> pip install py2wasm
Collecting py2wasm
  Downloading py2wasm-2.6.3.tar.gz (85.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.5/85.5 MB 5.8 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting tqdm (from py2wasm)
  Downloading tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.7/57.7 kB 765.1 kB/s eta 0:00:00
Collecting requests (from py2wasm)
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting ordered-set>=4.1.0 (from py2wasm)
  Downloading ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB)
Collecting zstandard>=0.15 (from py2wasm)
  Downloading zstandard-0.23.0-cp311-cp311-win_amd64.whl.metadata (3.0 kB)
Collecting charset-normalizer<4,>=2 (from requests->py2wasm)
  Using cached charset_normalizer-3.4.0-cp311-cp311-win_amd64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests->py2wasm)
  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests->py2wasm)
  Downloading urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests->py2wasm)
  Downloading certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
Collecting colorama (from tqdm->py2wasm)
  Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Downloading zstandard-0.23.0-cp311-cp311-win_amd64.whl (495 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 495.4/495.4 kB 5.2 MB/s eta 0:00:00
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Downloading tqdm-4.67.1-py3-none-any.whl (78 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 2.2 MB/s eta 0:00:00
Downloading certifi-2024.12.14-py3-none-any.whl (164 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.9/164.9 kB 3.3 MB/s eta 0:00:00
Using cached charset_normalizer-3.4.0-cp311-cp311-win_amd64.whl (101 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Downloading urllib3-2.3.0-py3-none-any.whl (128 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.4/128.4 kB 7.9 MB/s eta 0:00:00
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Building wheels for collected packages: py2wasm
  Building wheel for py2wasm (pyproject.toml) ... done
  Created wheel for py2wasm: filename=py2wasm-2.6.3-cp311-cp311-win_amd64.whl size=98860092 sha256=287edfebd0b2412d5094b63ae5487774c889569d8b9255e78e2802ea9928212d
  Stored in directory: c:\users\admin\appdata\local\pip\cache\wheels\a4\ff\6f\feabae06aa0982ea68a1f1c1d980c427b5298ce7819d58856f
Successfully built py2wasm
Installing collected packages: zstandard, urllib3, ordered-set, idna, colorama, charset-normalizer, certifi, tqdm, requests, py2wasm
Successfully installed certifi-2024.12.14 charset-normalizer-3.4.0 colorama-0.4.6 idna-3.10 ordered-set-4.1.0 py2wasm-2.6.3 requests-2.32.3 tqdm-4.67.1 urllib3-2.3.0 zstandard-0.23.0

[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> py2wasm pdf_to_text.py -o pdf_to_text.wasm
py2wasm: The term 'py2wasm' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
(venv) PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> pip install py2wasm
Requirement already satisfied: py2wasm in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (2.6.3)
Requirement already satisfied: tqdm in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from py2wasm) (4.67.1)
Requirement already satisfied: requests in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from py2wasm) (2.32.3)
Requirement already satisfied: ordered-set>=4.1.0 in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from py2wasm) (4.1.0)
Requirement already satisfied: zstandard>=0.15 in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from py2wasm) (0.23.0)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from requests->py2wasm) (3.4.0)
Requirement already satisfied: idna<4,>=2.5 in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from requests->py2wasm) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from requests->py2wasm) (2.3.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from requests->py2wasm) (2024.12.14)
Requirement already satisfied: colorama in c:\users\admin\meine ablage\github\pdf_to_text_to_anki_web\venv\lib\site-packages (from tqdm->py2wasm) (0.4.6)

[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
(venv) PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> py2wasm pdf_to_text.py -o pdf_to_text.wasm
py2wasm: The term 'py2wasm' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
(venv) PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> python -m py2wasm pdf_to_text.py -o pdf_to_text.wasm
C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web\venv\Scripts\python.exe: No module named py2wasm
(venv) PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> py2wasm
py2wasm: The term 'py2wasm' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
(venv) PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> py2wasm.exe

py2wasm.exe: The term 'py2wasm.exe' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
(venv) PS C:\Users\admin\Meine Ablage\Github\pdf_to_text_to_anki_web> python
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

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

No branches or pull requests

4 participants