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

1.1K
Views
Ningún módulo llamado 'virtualenv.activation.xonsh'

Traté de ejecutar pipenv shell en un nuevo entorno y obtuve el siguiente error:

 Loading .env environment variables… Creating a virtualenv for this project… Using /home/user/.pyenv/shims/python3.9 (3.9.7) to create virtualenv… ⠋ModuleNotFoundError: No module named 'virtualenv.activation.xonsh' Error while trying to remove the /home/user/.local/share/virtualenvs/7t env: No such file or directory Virtualenv location: Warning: Your Pipfile requires python_version 3.9, but you are using None (/bin/python). $ pipenv check will surely fail. Spawning environment shell (/usr/bin/zsh). Use 'exit' to leave.

Intenté eliminar pipenv, instalar python con pienv, crear un alias para python, pero todo funciona.

Cualquier idea, obtuve el mismo error en el entorno existente, traté de eliminar todas las carpetas de entornos pero nada.

Gracias.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Por tema de github, la solución que funcionó fue la siguiente:

 sudo apt-get remove python3-virtualenv
over 4 years ago · Santiago Trujillo Report

0

Tuve el mismo error al actualizar de Python 3.7 a 3.9 en mi pyproject.toml :

 [tool.poetry.dependencies] - python = "^3.7" + python = "^3.9"

La causa para mí fue que aún no había instalado python3.9-venv . Fácil:

 sudo apt install python3.9-venv

Verifícalo con

 python3.9 -m venv

SO: Ubuntu 21.10, por lo que el nombre de su paquete puede diferir

over 4 years ago · Santiago Trujillo Report

0

La eliminación del paquete virtualenv pip funcionó para mí (en Ubuntu WSL)

 pip uninstall virtualenv
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!