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

457
Views
Actualización de python virtualenv y Mac OS Monterey

después de la actualización a Monterey virtualenvwrapper no se comporta. Intenté desinstalarlo y volverlo a instalar, eliminando los espacios de trabajo antiguos.

cuando ejecuto el mkvirtualenv esto sucede:

 Using base prefix '/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7' New python executable in /venvdir/venvname/bin/python3.7 Also creating executable in /venvdir/venvname/bin/python ERROR: The executable /venvdir/venvname/bin/python3.7 is not functioning ERROR: It thinks sys.prefix is '/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7' (should be 'my-project-dir/') ERROR: virtualenv is not compatible with this system or executable

cualquiera que sea la versión de Python que está tratando de usar, de Cellar, ¿no funciona?

en mi ~/.bash_profile hay:

 export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3 export WORKON_HOME=$HOME/.virtualenvs export PROJECT_HOME=$HOME/someworkspace source /usr/local/bin/virtualenvwrapper.sh

¿Por qué la versión de Python se toma de "Cellar" en lugar de VIRTUALENVWRAPPER_PYTHON?

Otro interesante esto es que si solo corro

 python3 --version Python 3.7.3

¿Pero pensé que Monterey estaba usando 3.8.9?

¿Alguien sabe qué ha cambiado? gracias t

EDITAR: pequeña actualización, he reescrito la pregunta ya que tuve otro problema que se resolvió reiniciando. El problema de la versión de python aún persiste.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Edité mi archivo ~/.zprofile y cambié la exportación:

 export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7

reinicié la terminal y pude crear virtualenvs nuevamente.

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!