Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
Linux - Salida extraña de Python

Cada vez que escribo mal o cometo un error en la consola, aparece el siguiente mensaje:

 Traceback (most recent call last): File "/usr/lib/python3.3/site.py", line 629, in <module> main() File "/usr/lib/python3.3/site.py", line 614, in main known_paths = addusersitepackages(known_paths) File "/usr/lib/python3.3/site.py", line 284, in addusersitepackages user_site = getusersitepackages() File "/usr/lib/python3.3/site.py", line 260, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "/usr/lib/python3.3/site.py", line 250, in getuserbase USER_BASE = get_config_var('userbase') File "/usr/lib/python3.3/sysconfig.py", line 610, in get_config_var return get_config_vars().get(name) File "/usr/lib/python3.3/sysconfig.py", line 560, in get_config_vars _init_posix(_CONFIG_VARS) File "/usr/lib/python3.3/sysconfig.py", line 432, in _init_posix from _sysconfigdata import build_time_vars File "/usr/lib/python3.3/_sysconfigdata.py", line 6, in <module> from _sysconfigdata_m import * ImportError: No module named '_sysconfigdata_m'

Tengo Python 2.7 y 3.3 instalados con Anaconda. Me pregunto si esto es normal o fue un conflicto entre python 2.7 y 3.3

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Suponiendo que está utilizando ubuntu, aquí está el informe de error relevante https://bugs.launchpad.net/ubuntu/+source/python3.3/+bug/1192890

Debe parchear su /etc/bash.bashrc. Vea el comentario #6 para más detalles

over 4 years ago · Santiago Trujillo Report

0

En realidad, es posible que tenga otro python3 en su RUTA antes de /usr/bin (probablemente en /usr/local/bin ) en su sistema, uno que carezca de las bibliotecas proporcionadas por ubuntu (utilizadas por /usr/bin/python3 ). Eso sucede con hashbangs usando #!env python3 y la variable de entorno PATH.

Si este es el caso, entonces haga que no estén disponibles temporalmente (por ejemplo, renombrándolos) todos los ejecutables que no /usr/bin/python3* , realice las tareas de administración del sistema y luego vuelva a hacer que estén disponibles.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!