मुझे अपने वर्चुअलनव फ़ोल्डर्स बनाने की कोशिश करने में समस्याएं आ रही हैं क्योंकि मेरा टर्मिनल कहता है कि वर्चुअलएन्व स्थापित नहीं है।वर्चुअलनव: कमांड नहीं मिला
मैं क्या किया:
The directory '/Users/ricardogonzales/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/ricardogonzales/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.
Collecting virtualenv
/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading virtualenv-13.1.0-py2.py3-none-any.whl (1.7MB)
100% |████████████████████████████████| 1.7MB 59kB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-13.1.0
कि मैं virtualenv venv
चलाने है और मैं इस प्रतिक्रिया हो रही है के बाद: command not found
मैंने
sudo pip install virtualenv
इस प्रतिक्रिया के साथ
इस कमांड को निष्पादित करें (brew info python
) एक ही समस्या के साथ यहां के आसपास के अन्य लोगों की तरह, लेकिन टर्मिनल से उनके प्रतिक्रिया मेरे जैसा नहीं है।
काढ़ा जानकारी प्रतिक्रिया:
python: stable 2.7.10 (bottled), HEAD
Interpreted, interactive, object-oriented programming language
https://www.python.org
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/python.rb
==> Dependencies
Build: pkg-config ✘
Required: openssl ✘
Recommended: readline ✘, sqlite ✘, gdbm ✘
Optional: homebrew/dupes/tcl-tk ✘, berkeley-db4 ✘
==> Options
--universal
Build a universal binary
--with-berkeley-db4
Build with berkeley-db4 support
--with-poll
Enable select.poll, which is not fully implemented on OS X (https://bugs.python.org/issue5154)
--with-quicktest
Run `make quicktest` after the build (for devs; may fail)
--with-tcl-tk
Use Homebrew's Tk instead of OS X Tk (has optional Cocoa and threads support)
--without-gdbm
Build without gdbm support
--without-readline
Build without readline support
--without-sqlite
Build without sqlite support
--HEAD
Install HEAD version
==> Caveats
Pip and setuptools have been installed. To update them
pip install --upgrade pip setuptools
You can install Python packages with
pip install <package>
They will install into the site-package directory
/usr/local/lib/python2.7/site-packages
See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md
मैं नहीं पता है कहते हैं कि यह कैसे "स्थापित नहीं किया गया" लेकिन मैं Python 2.7.6
हो रही है जब मैं python --version
चलाने लेकिन मैं नहीं कर सकता अगर मैं usr/स्थानीय/बिन करने के लिए जाना कोई अजगर 2.7 देखें या जो कुछ मैं देखता हूं वह बहुत सारे पायथन 3 है।
कोई मदद? या इसे हल करने का प्रयास करने के लिए सुझाव बहुत अपमानित किया जाएगा।
उत्तर:
मैं इस मुद्दे virtualenv स्थापना रद्द करने और किसी भी अतिरिक्त विन्यास या कुछ और के बिना फिर से स्थापित करने का संकल्प लिया है।
sudo pip uninstall virtualenv
sudo pip install virtualenv
'sudo apt-get – IanAuld
@IanAuld मैं बता दूँ कि मैं मैक ओएस एक्स – RicardoGonzales
और उपयोग कर रहा हूँ नहीं आप लॉग ऑफ/यह काम करने के लिए के लिए लॉग इन, और mkvirtualenv' का उपयोग' की जरूरत हो सकती भूल virtualenv' स्थापित 'virtualenv '। – bufh