2016-03-09 20 views
11

मुझे कुछ संकुल स्थापित करने की आवश्यकता है। कोई फर्क नहीं पड़ता कि मैं किस दिशा में कोशिश करता हूं, यह केवल खराब हो जाता है।PyCharm: पैकेज स्थापित करें

enter image description here

कृपया मदद करते हैं।

40:497: execution error: The directory '/Users/doekewartena/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/doekewartena/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Could not find a version that satisfies the requirement path (from versions:) No matching distribution found for path (1)

+0

आगे बढ़ने के लिए 'सूडो-एच' के साथ बैश से चलने वाले पिचर्म को चलाने का प्रयास करें। – NoOneIsHere

+0

@NoOneIs यहाँ आप का मतलब है "sudo -H इंस्टॉल स्ट्रिंग" इस तरह? – alwaysaskingquestions

+0

@alwaysaskingquestions नहीं, 'सुडो-एच पिचर्म'। – NoOneIsHere

उत्तर

6

क्या आपने अपने उपयोगकर्ता के लिए फ़ाइल अनुमति पैक पैक किया था?

आप अपना वर्तमान उपयोगकर्ता (doekewartena) करने के लिए निर्देशिका (/Users/doekewartena/Library/Caches/pip) के स्वामित्व को बदलने के लिए नीचे दिए गए आदेश चला सकते हैं:

$ sudo chown -R doekewartena /Users/doekewartena/Library/Caches/pip 
+2

उस आदेश के बाद भी मुझे एक ही त्रुटि है। – clankill3r

+0

मुझे भी! मेरे द्वारा यहां वर्णित किए गए कार्यों के बाद भी मुझे वही त्रुटि मिल रही है ... – alwaysaskingquestions

2

pip install --user <package-name> मेरे लिए काम किया।

सूडो की आवश्यकता नहीं है।

+0

आप एक पैकेज को अत्यधिक इंस्टॉल कैसे करते हैं, व्यक्तिगत उपयोगकर्ता की कॉन्फ़िगरेशन पर निर्भर करता है। प्रश्न के लिए अधिक विशिष्ट होने के लिए कृपया इस उत्तर को पुनः सक्रिय करने पर विचार करें। – axlj

संबंधित मुद्दे