Title: How to run the python code using pyenv and vim with the plugin · Issue #1193 · python-mode/python-mode · GitHub
Open Graph Title: How to run the python code using pyenv and vim with the plugin · Issue #1193 · python-mode/python-mode
X Title: How to run the python code using pyenv and vim with the plugin · Issue #1193 · python-mode/python-mode
Description: I am using Python with pyenv . I have activated the env, but when I run the code in the script file with vim, an error occurs. /biostack/tools/devtools/pyenv/versions/3.10.13/envs/scGPT/lib/python3.10/site-packages/scgpt/__init__.py|18 e...
Open Graph Description: I am using Python with pyenv . I have activated the env, but when I run the code in the script file with vim, an error occurs. /biostack/tools/devtools/pyenv/versions/3.10.13/envs/scGPT/lib/python3...
X Description: I am using Python with pyenv . I have activated the env, but when I run the code in the script file with vim, an error occurs. /biostack/tools/devtools/pyenv/versions/3.10.13/envs/scGPT/lib/python3...
Opengraph URL: https://github.com/python-mode/python-mode/issues/1193
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to run the python code using pyenv and vim with the plugin","articleBody":"I am using Python with `pyenv` . I have activated the `env`, but when I run the code in the script file with `vim`, an error occurs. \n\n\u003cimg width=\"363\" height=\"90\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/e3910748-9359-41d3-83b9-e6dab5a55a78\" /\u003e\n\n\n```\n/biostack/tools/devtools/pyenv/versions/3.10.13/envs/scGPT/lib/python3.10/site-packages/scgpt/__init__.py|18 error| in \u003cmodule\u003e from . import model, tokenizer, scbank, utils, tasks\n/biostack/tools/devtools/pyenv/versions/3.10.13/envs/scGPT/lib/python3.10/site-packages/scgpt/model/__init__.py|1 error| in \u003cmodule\u003e from .model import (\n/biostack/tools/devtools/pyenv/versions/3.10.13/envs/scGPT/lib/python3.10/site-packages/scgpt/model/model.py|5 error| in \u003cmodule\u003e import torch\n/biostack/tools/devtools/pyenv/versions/3.10.13/envs/scGPT/lib/python3.10/site-packages/torch/__init__.py|17 error| in \u003cmodule\u003e import ctypes\n/biostack/tools/devtools/pyenv/versions/3.10.13/lib/python3.10/ctypes/__init__.py|8 error| in \u003cmodule\u003e from _ctypes import Union, Structure, Array ModuleNotFoundError: No module named '_ctypes'\n```\n\n\u003cimg width=\"1760\" height=\"940\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/3f0aed22-6b0c-4c36-a7a0-c083f1987ef9\" /\u003e\n\nBut when I run the code in the Python interactive environment. No error reported. \n\n\u003cimg width=\"616\" height=\"90\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/0da532a3-10b2-42e9-96fb-502f70bff441\" /\u003e","author":{"url":"https://github.com/xiangpin","@type":"Person","name":"xiangpin"},"datePublished":"2025-11-19T12:47:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1193/python-mode/issues/1193"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4d9b6204-d12f-4c92-3a78-32d662dfa3f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4FA:25D65C:2807CC7:37F3633:69692143 |
| html-safe-nonce | f3d1f94e0b34aed836aea71821c0d38b9a600924345e760caf47b938349e4359 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEZBOjI1RDY1QzoyODA3Q0M3OjM3RjM2MzM6Njk2OTIxNDMiLCJ2aXNpdG9yX2lkIjoiMTczMTczMjEyOTc3NTY5MDA1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5929bd9866a569e798d0c4761abd688c60b99edd62f20cccdd190da235cfbaf0 |
| hovercard-subject-tag | issue:3642577689 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-mode/python-mode/1193/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b2877336320a43e636b22ad48d5865b942ce533f0adf82d99e0566eb3b05729/python-mode/python-mode/issues/1193 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b2877336320a43e636b22ad48d5865b942ce533f0adf82d99e0566eb3b05729/python-mode/python-mode/issues/1193 |
| og:image:alt | I am using Python with pyenv . I have activated the env, but when I run the code in the script file with vim, an error occurs. /biostack/tools/devtools/pyenv/versions/3.10.13/envs/scGPT/lib/python3... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xiangpin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/python-mode/python-mode git https://github.com/python-mode/python-mode.git |
| octolytics-dimension-user_id | 13965098 |
| octolytics-dimension-user_login | python-mode |
| octolytics-dimension-repository_id | 2408911 |
| octolytics-dimension-repository_nwo | python-mode/python-mode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2408911 |
| octolytics-dimension-repository_network_root_nwo | python-mode/python-mode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width