以下は私の非常に基本的なコードがスパイダーで動作しています& pythonが窒息しています。AttributeError:モジュール 'os'に 'chroot'属性がありません
import csv,os,sys
path = os.getcwd()
print (path)
os.chroot(path)
私は、次のエラーメッセージが出ます:
os.chroot(path)
AttributeError: module 'os' has no attribute 'chroot'
あなたは窓にいますか? [docs](https://docs.python.org/3/library/os.html#os.chroot)はUNIX上でのみ利用可能なので、ウィンドウには存在しません。 –