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

strange pyd error with no documentation + "OSError: [WinError 127] The specified procedure could not be found" #2269

Open
actlists opened this issue Aug 4, 2024 · 3 comments

Comments

@actlists
Copy link

actlists commented Aug 4, 2024

🐛 Bug

Describe the bug Bug that happens anywhere when using torchtext 0.18.0

To Reproduce Steps to reproduce the behavior:

  1. import torchtext
  2. image

Expected behavior Being able to import properly

Environment

PyTorch version: 2.4.0+cpu
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 11 Pro for Workstations
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.29.0-rc1
Libc version: N/A

Python version: 3.12.2 (tags/v3.12.2:6abddd9, Feb 6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-11-10.0.22631-SP0
Is CUDA available: False
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3060 Ti
Nvidia driver version: 551.52
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture=9
CurrentClockSpeed=3800
DeviceID=CPU0
Family=107
L2CacheSize=3072
L2CacheSpeed=
Manufacturer=AuthenticAMD
MaxClockSpeed=3800
Name=AMD Ryzen 5 4500 6-Core Processor
ProcessorType=3
Revision=24577

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] numpy-hilbert-curve==1.0.1
[pip3] onnx==1.16.1
[pip3] onnxconverter-common==1.14.0
[pip3] onnxoptimizer==0.3.13
[pip3] onnxruntime-directml==1.18.0
[pip3] torch==2.4.0
[pip3] torchtext==0.18.0
[conda] Could not collect

You can get the script and run it with:

wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
python -c "import torchtext; print(\"torchtext version is \", torchtext.__version__)"
  • PyTorch Version (e.g., 1.0): 2.4.0
  • OS (e.g., Linux): windows
  • How you installed PyTorch (conda, pip, source): all
  • Build command you used (if compiling from source): none
  • Python version: 3.12.2
  • CUDA/cuDNN version: none
  • GPU models and configuration: geforce rtx 3060 ti

Additional context happens literally everywhere, no matter what i've tried i get the same garbage error

@actlists
Copy link
Author

actlists commented Aug 4, 2024

sorry if this is poorly made, i am so close to giving up from being frustrated

@jaykhatri0875
Copy link

I got the same error on windows, torchtext is installed but can not import. somewhere its mentioned that upgrading visual c++ might just work, but i am already having 2017-2022 version.
image

@harshini0208
Copy link

did anyone get the solution for this

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

3 participants