更新macOS后无法执行mkvirtualenv

时间:2019-05-23 09:03:32

标签: python pip virtualenv

今天,我将macOS更新为10.14.5。在那之后,我不能做如下的virtualenv。

在virtualenv工作期间我该如何//processing line from the input file and writing to file try { FileOutputStream fos = newFileOutputStream("stackOverFlow\\EncryptedFile.csv",true); byte [] encrypt = EncryptFile.RC4(line.getBytes(), pwd); fos.write(encrypt); fos.close(); } catch (Exception e1) { e1.printStackTrace(); }

我认为某些目录的权限已被操作系统更新破坏...

有人有建议吗?

easy_install --user

1 个答案:

答案 0 :(得分:0)

您似乎正在尝试将软件包安装到您没有权限的系统文件夹中。 尝试使用 pip install --user virtualenv,激活virtualenv并运行命令。