尝试按照learnpythonthehardway教程安装nosetests,我遇到了问题。关于我接下来应该尝试什么的任何线索?
$ easy_install nose
Searching for nose
Best match: nose 1.1.2
Processing nose-1.1.2-py2.6.egg
nose 1.1.2 is already the active version in easy-install.pth
Installing nosetests-2.6 script to /usr/local/bin
error: /usr/local/bin/nosetests-2.6: Permission denied`
关于安装的一个问题:如果我在计算机上的随机位置保存了一些东西,无论它在哪里,都可以将它导入到 python 脚本中吗?因此,如果我执行位于名为“projects”的文件夹中的 runthis.py,并且我将from setup tools import setup
其作为程序的第一行,那么setup tools
python 是否必须在任何特定的地方(例如“projects”文件夹)才能找到它?