Attempt to fix build issues

This commit is contained in:
langaaegeskov
2023-08-13 17:01:19 -04:00
committed by Oz Tiram
parent 327ea3b7b5
commit 5416f80eff
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -26,5 +26,5 @@ The logical place to specify this would be in a user's `.env` file in the root o
By default pipenv creates a virtualenv for your project and gives it a name. The default name is how pipenv maps the individual project to the correct virtualenv. Pipenv names the virtualenv with the name of the projects root directory plus the hash of the full path to the project's root (e.g., `my_project-a3de50`).
If you rename or move the project folder this will change the project path. Then, pipenv will no longer be able to find your virtualenv and it will make a new virtualenv. This leaves you with the old virtualenv still lying around on you system. Luckily the fix is simple.
- Run 'pipenv --rm' *before* renaming or moving your project directory
- Then, after renaming or moving the directory run 'pipenv install' to recreate the virtualenv
- Run 'pipenv --rm' *before* renaming or moving your project directory
- Then, after renaming or moving the directory run 'pipenv install' to recreate the virtualenv