Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make a virtual environment for this? #7

Open
nyck33 opened this issue May 20, 2023 · 0 comments
Open

How to make a virtual environment for this? #7

nyck33 opened this issue May 20, 2023 · 0 comments

Comments

@nyck33
Copy link

nyck33 commented May 20, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant