WSL error with Python 3.7 #139
Unanswered
dberardo-com
asked this question in
Q&A / Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i am trying to use crossenv in WSL to crosscompile the regex package for an openwrt, mipsel architecture.
i have downloaded the openwrt sdk and compiled python3-dev package inside it so as to have access to the python C header folder.
so i am now using:
crossenv staging_dir/hostpkg/bin/python3.7 cross_env --without-pip
to create the cross_env dir ... which works
but then i do
cd crosee_env/bin && activate
giving the error:
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 28, in
from CommandNotFound import CommandNotFound
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in
from CommandNotFound.db.db import SqliteDatabase
File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Beta Was this translation helpful? Give feedback.
All reactions