parsel
parsel copied to clipboard
How to make a virtual environment for this?
I did something like:
cleanLines = []
with open('requirements.txt', 'r') as req_file:
for line in req_file:
cline = line.split('==')[0].strip()
print(line.split('==')[0].strip())
cleanLines.append(cline)
with open('requirements_clean.txt', 'w') as newFile:
for line in cleanLines:
newFile.write(f'{line}\n')
but deleted the 3 anaconda packages since I have miniconda they seemed redundant and now get stuck on colorama
Collecting colorama
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
ERROR: Could not find a version that satisfies the requirement conda (from versions: 3.0.6, 3.5.0, 3.7.0, 3.17.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.7, 4.0.8, 4.0.9, 4.1.2, 4.1.6, 4.2.6, 4.2.7, 4.3.13, 4.3.16)
ERROR: No matching distribution found for conda
Could you push a more "generic" requirements.txt with the minimal packages needed?