You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ls -l ~/anaconda3.6/bin/python*
lrwxrwxrwx 1 x x 9 Aug 10 2019 /home/x/anaconda3.6/bin/python -> python3.6
lrwxrwxrwx 1 x x 9 Aug 10 2019 /home/x/anaconda3.6/bin/python3 -> python3.6
-rwxrwxr-x 1 x x 3752088 Aug 10 2019 /home/x/anaconda3.6/bin/python3.6
lrwxrwxrwx 1 x x 17 Aug 10 2019 /home/x/anaconda3.6/bin/python3.6-config -> python3.6m-config
lrwxrwxrwx 1 x x 9 Aug 10 2019 /home/x/anaconda3.6/bin/python3.6m -> python3.6
-rwxrwxr-x 1 x x 3425 Aug 10 2019 /home/x/anaconda3.6/bin/python3.6m-config
lrwxrwxrwx 1 x x 17 Aug 10 2019 /home/x/anaconda3.6/bin/python3-config -> python3.6m-config
(please note: python3.6m symlnk to python3.6)
After I build my app with pyd, and run it under the virtual env (from anaconda3.6), it errors out:
File "/home/x/anaconda3.6/lib/python3.6/sysconfig.py", line 557, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/home/x/anaconda3.6/lib/python3.6/sysconfig.py", line 428, in _init_posix
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata__linux_x86_64-linux-gnu'
Hi,
I'm on Ubuntu 21.04, the default python version is Python 3.9.4.
(please note: it's
python3.9
, notpython3.9m
)I build an app with
and the python36 env I'm using is:
(please note:
python3.6m
symlnk topython3.6
)After I build my app with pyd, and run it under the virtual env (from anaconda3.6), it errors out:
Note: it's
... __linux ...
, but not_m_linux ...
I find the module here:
Notice, the actual file is:
... _m_linux ...
So I'm guessing that it somehow mess up the system
/usr/bin/python
(3.9, withoutm
), and the venv~/anaconda3.6/bin/python
(3.6, withm
).I also tried to use
to setup the python I want to use before I do
dub build
, but no success.I'm just wondering, how to specify exactly which python (path) that I intended to use during
Thanks.
The text was updated successfully, but these errors were encountered: