You are not logged in.

#1 2019-06-28 12:14:54

_JZA_
Member
Registered: 2014-08-28
Posts: 32

Issues with python install not carring all the standard library

I am running python 3.7 on an Arch install and having issues with the curses module. The curses.py is not active located, I have tried to re-install python package but no luck getting curses.py. has this module been dropped from the standard library?

Please help, regards.

Offline

#2 2019-06-28 12:19:49

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,978
Website

Re: Issues with python install not carring all the standard library

Please give us some error logs. E.g. what's the output of.

python3 -c 'import curses; print(curses.__file__)'

macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2019-06-28 12:28:03

_JZA_
Member
Registered: 2014-08-28
Posts: 32

Re: Issues with python install not carring all the standard library

Apparently isnt getting the local curses either.

python3 -c 'import curses; print(curses.__file__)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/jza/.local/lib/python3.6/curses/__init__.py", line 13, in <module>
    from _curses import *
ImportError: No module named '_curses'

Offline

#4 2019-06-28 13:02:00

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,978
Website

Re: Issues with python install not carring all the standard library

You're using python 3.6 as a user-local installation for your account.
What's the output of

pacman -Qo $(which python3)

Last edited by schard (2019-06-28 13:05:34)


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

Board footer

Powered by FluxBB