I need python3.6 for tensorflow installation, so I downloaded python3.6.12.tar. And I found that I should pip install tarfile. However, in this case it is an older version of python. FYI, In my computer(laptop) I installed python3.9. My question is: can I pip install python.tar inside a virtualenv?
Should I pip install python inside virtualenv?
2k Views Asked by Andy At
1
There are 1 best solutions below
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in PYTHON-3.X
- Update a text file with ( new words+ \n ) after the words is appended into a list
- Kivy - Create new widget and set its position and size
- TypeError: encoding or errors without a string argument
- How to print varible name in python
- PyQt, Python 3: Lambda slot assigning signal argument to a variable?
- How to write data to stdin of the first process in a Python shell pipeline?
- pygame.draw.circle, still draws a square
- Duplicate Frames Created When Calling a Function in a Tkinter Application
- Python TypeError: can only concatenate tuple (not "int") to tuple
- recursively editing member variable: All instances have same value
- missing 1 required positional argument: 'key'
- How do I fix this sorting error?
- Dictionary values missing
- Why does opening a file in two different encodings work as expected?
- Binary bit flip generator in python
Related Questions in VIRTUALENV
- Installing ipython inside virtual environment
- pip missing from bin in virtualenv
- Python 3.4.3 virtualenv error code 2
- weird issue trying to install scipy in python virtualenv
- How to run pyinstaller correctly on cygwin?
- Installing Twisted through pip broken on one server
- CMake - setting up python virtualenv
- Creating a new virtualenv gives a permissions error
- Environment variable
- "which" command gives me the source code and not the path of a command
- Python script - get installed packages in other virtualenv
- Virtual Env for nodejs application
- Run an existing python web application inside a virtalenv
- pip install flask results in bad interpreter: No such file or directory
- No matter what I do, my environment can't see libjpeg for Pillow on OSX 10.10 with Virtualenv
Related Questions in PYTHON-3.6
- Nested f-strings
- Query format with f-string
- Error building executable with cx_Freeze: IndexError: tuple index out of range
- Variable type annotation NameError inconsistency
- Why don't f-strings change when variables they reference change?
- Error when installing XLRD using pip for python (3.6)
- Python 3.6: trying to pip install numpy
- Why does the symbol '{' remain when f"\{10}" is evaluated in Python 3.6?
- Python pip3 egg_info error code 1 while installing Pygame
- How to use Asynchronous Comprehensions?
- Why this conversion program does not work?
- Provide __classcell__ example for Python 3.6 metaclass
- PIP says python-magic is installed, but substanced says it is not
- Python 3.6.0 implicit namespace package
- Python 3.6 pip install matplotlib and other libraries failed on Windows 10
Related Questions in PYTHON-INSTALL
- Python maximum recursion depth exceeded when installing a module
- How to install Python using Windows Command Prompt
- Using Anaconda python directory in Atom IDE
- What is the best way to install python 3.7.7 as a user (locally) without sudo or wget?
- how to remove one of the python installed?
- Max recursion in "pip install" & "setup.py install"
- Should I pip install python inside virtualenv?
- I've installed python-3.9.1 and pip but while running the command python3 -V got the result as python 3.6.9 how do I get python version 3.9
- How to create installer for python application?
- Why does repair python return "Can't write to file" even though i have access to the specified directory?
- Having trouble importing RLGlue: "No module named 'rlglue.rl_glue'"
- Install python in a user defined location in Mac OS
- "python setup.py bdist_wheel did not run successfully" Installing pandana
- Trouble installing Python Image Library/updating PIP
- How to build and install a Python package locally without uploading to PyPI?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is not how virtual environments work. I suggest you to do a little bit more research on virtual environments in Python.
Virtual Environments and Packages
Basically you need to install the necessary python version onto your machine. Then go ahead and use that specific python (which is version 3.6 in your case), to create a virtual environment with the command
~ /usr/bin/<path-to-python3.6> -m venv venvThis command will create a folder called venv. Now you need to source the activation script inside this folder to activate your environment.
Handy note: if you are dealing with different versions of python, a more robust way of handling such situations is via using a tool called pyenv.