If you made a virtual env, then deleted that python installation, you’ll get the same error. Just rm -r
your venv folder, then recreate it with a valid python location and do pip install -r requirements.txt
and you’ll be all set (assuming you got your requirements.txt right).
More Related Contents:
- Python: is the current directory automatically included in path?
- How to use glob() to find files recursively?
- How do I get the filename without the extension from a path in Python?
- PyInstaller, spec file, ImportError: No module named ‘blah’
- Where is Python’s sys.path initialized from?
- How do I get the path of the Python script I am running in? [duplicate]
- Test if executable exists in Python?
- How to config nltk data directory from code?
- How can I find where Python is installed on Windows?
- ImportError: No Module Named bs4 (BeautifulSoup)
- mixed slashes with os.path.join on windows
- How to get only the last part of a path in Python?
- ImportError: cannot import name main when running pip –version command in windows7 32 bit
- Graphviz’s executables are not found (Python 3.4)
- What sets up sys.path with Python, and when?
- Import from sibling directory
- How to change the path of Python in Spyder?
- Python not recognising directories os.path.isdir() [duplicate]
- ImportError: No module named six
- PATH not updated correctly from conda activate in VSCode’s terminal
- Installing OpenCV for Python on Ubuntu, getting ImportError: No module named cv2.cv
- set pythonpath before import statements
- constructing absolute path with os.path.join()
- Import paths – the right way?
- ModuleNotFoundError: No module named ‘numpy.testing.nosetester’
- Cannot find the file specified when using subprocess.call(‘dir’, shell=True) in Python
- Finding all paths/walks of given length in a networkx graph
- How do I create a directory, and any missing parent directories?
- Import statement works on PyCharm but not from terminal
- NumPy library ImportError: DLL load failed: The specified procedure could not be found