它曾经在命令行中自动在我正在工作的文件夹中创建这些文件。如果我说安装 django ......
C:\Users\Admin\Desktop\Djangoproj>pipenv install django
Installing django…
Adding django to Pipfile's [packages]…
Installation Succeeded
Installing dependencies from Pipfile.lock (536933)…
================================ 9/9 - 00:00:02
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
这就是我得到的。我有一个空文件夹。我没有像我应该的那样得到 pipfile 或 pipfile.lock 。有没有人遇到过这个?有针对这个的解决方法吗?我已经卸载了 pipenv 并重新安装了几次包。安装请求包也是如此。
C:\Users\Admin\Desktop\Djangoproj>pipenv install requests
Installing requests…
Adding requests to Pipfile's [packages]…
Installation Succeeded
Installing dependencies from Pipfile.lock (536933)…
================================ 9/9 - 00:00:02
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
C:\Users\Admin\Desktop\Djangoproj>dir
Volume in drive C has no label.
Volume Serial Number is 206B-FC0C
Directory of C:\Users\Admin\Desktop\Djangoproj
04/27/2020 03:37 AM <DIR> .
04/27/2020 03:37 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 83,042,668,544 bytes free
里面还是什么都没有