Skip to main content

All Questions

Tagged with
0 votes
1 answer
118 views

Python 2.7 requirements won't install without virtualenv

I'm working on migrating away from a legacy Django 1.6 application that runs on Python 2.7. I still need to be able to run this project, which runs inside a Docker container. The issue I'm facing is ...
phrfpeixoto's user avatar
0 votes
0 answers
54 views

Pip from Python 2.7.10 installed via pyenv-win cannot install any packages

I installed pyenv-win to create virtual environments in windows. One of the environments I need requires Python 2.7.10. To create virtual environments for Python versions below 3.3 I need to install ...
W8_4_it's user avatar
-2 votes
2 answers
260 views

pip2.7 in virtualenv: Python 2.7 reached the end of its life

I created a virtual environment using this command: /usr/bin/python2.7 -m virtualenv venv It mostly works, but using venv/bin/pip2.7 prints the following warning: DEPRECATION: Python 2.7 reached the ...
personal_cloud's user avatar
-1 votes
2 answers
275 views

How to install virtualenv for Python 2.7?

I tried the method suggested here for installing virtualenv. However, it gives a confusing error on Ubuntu 16: % /usr/bin/python2.7 -m pip install virtualenv Collecting virtualenv Using cached https:...
personal_cloud's user avatar
0 votes
1 answer
47 views

VENV Not showing the correct Python version

I have default Python version 3.9.6 on my Mac and I need to work on a project on Python version 2.7 so I install it successfully V 2.7.12 Now I am using this command to create a new env with Python v ...
Omar Jaber's user avatar
-1 votes
2 answers
956 views

Creation of Virtual environment with python 3.9 version is executed successfully but python version 2.7 or python version 2.2 shows error

When creating a virtual environment using the 'virtualenv' module, using python 3.11 as deafult/ in the Path, in WINDOWS 10 , I encounter the following weird error. Creation of a virtualenvironment ...
flappybird's user avatar
1 vote
1 answer
513 views

Can't create virtual environment with python 2.7

I' trying to create a virtual environment with a custom python 2.7.15 on a centOS server,I followed the steps from this website (https://help.dreamhost.com/hc/en-us/articles/215489338-Installing-and-...
owl_sleeps_at_night's user avatar
0 votes
1 answer
2k views

ERROR: Package 'dsinternals' requires a different Python: 2.7.18 not in '>=3.4'

I'm trying to setup impacket using python2 in virtual env using these steps cd /opt sudo git clone https://github.com/SecureAuthCorp/impacket.git sudo chmod 777 /opt/impacket -R sudo apt install ...
catchabyte's user avatar
0 votes
0 answers
71 views

ImportError: No module named my_package when running a Python 2.7 script out of a virtual environment

Why am I getting an ImportError: No module named my_package error when trying to import a module within a package in my Python project? The project structure looks like this: Projectfolder ├── ...
GordnBenit's user avatar
0 votes
0 answers
357 views

Installing Python 2.7 projects in a system with Python 3.10

I've come to a delicate situation: My company's projects are all based in Python 2.7 and use specific PATH and PYTHONPATH exports to get around each other. The new machine I received has Ubuntu 22.04 ...
Stamatis Tzanos's user avatar
0 votes
0 answers
98 views

Why do Python modules behave differently in virtualenv than in system environment?

I've finally realized the advantages of virtual environments for my projects, having all modules/versions contained within the project could save me from the regular headache whenever I'm trying to ...
Lorena's user avatar
  • 1
0 votes
1 answer
116 views

Failure in installing python packages pip

OS: Ubuntu 18.04.5 python: python2.7.17 I created a python script in python 2.7.17 I have 20+ production servers all running at different versions of python2.7, say python 2.7.6, python 2.7.13 When I ...
Raavan's user avatar
  • 1
0 votes
1 answer
1k views

virtualenv: OSError: [Errno 62] Too many levels of symbolic links:

OSError: [Errno 62] Too many levels of symbolic links: '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/Makefile' I get this error when running virtualenv env in any folder. ...
Ronny's user avatar
  • 1
1 vote
0 answers
599 views

Issue in virtualenv for Mac OS (M1 chip)

I have installed the virtualenv in my macOS M1 chip using the command pip install virtualenv But when I type the virtualenv in my zsh shell is shows me the error like: RuntimeError: No virtualenv ...
Shubham Bansal's user avatar
1 vote
0 answers
232 views

Instalation python2.7 in virtualenv

Some day I lost access to Trac which is Python2.7 software. (I suppose, that deprecation of Python2.x is clue). There is Python3 unstable version, but I can't use it, because there's no plugins yes, ...
Tomasz Brzezina's user avatar

15 30 50 per page
1
2 3 4 5
30