Re: [pypy-dev] Ask Pypy within virtualenv of Windows 7/8 for Help ---- bitpeach from china

The latest released virtualenv is version 1.11.6 which does not support pypy 2.4.0 and earlier on windows. A fix was merged into virtualenv after this version (released 17 May 2014) so any newer release will be fixed. In the mean time you can: 1. run "virtualenv -p path\to\pypy.exe new_path" and it will fail 2. copy by hand the directories lib_pypy and lib-python from path\to to new_path 3. rerun virtualenv, it should complete cleanly after installing setuptools and pip Matti

Dear Pypy Directors or Team / Dear friend Ms.or Mr. Picus: Glad to hear from you. I really appreciate your email. Thank you Picus. With your help, I have some new questions as follows. (1) I check the VirtualEnv version list and the 1.11.6 is the latest by this URL. There is no newer version than that. It means that 1.11.6 version is the newest and no versions can support pypy-2.4.0. (2) Then I keep the complete file of Pypy-2.4.0 as an old path and build a new file to copy the directories lib_pypy and lib-python into the new file. (3) And I use the command "virtualenv -p \path\to\oldfile\pypy.exe \path\to\newfile". As following picture shown, please allow me to explain it. [3-1] I already install python2.7 and virtualenv 1.11.6. [3-2] I put a complete pypy-2.4.0 programs in file "e:\Python27\Scripts\pypy-2.4.0-win32" as an old path. The Picture below presents this. (3-2 Picture) [3-3] I build a new file named "VirtualenvPypy" and copy the directories lib_pypy & lib-python from file "pypy-2.4.0-win32" to new file "VirtualenvPypy". The Picture below presents this. (3-3 Picture) [3-4] Finally, I use the command as below. The two Pictures below present this. In (3-4 Picture B), the red one is old path and the blue one new path. If my command is wrong, you can help me to revise it. (3-4 Picture A) (3-4 Picture B) (4) The command is failed. And I guess the intention to appointing pypy.exe as a default interpret may be not available to the Windows 7/8 versions and Pypy-2.4.0. I still worry a truth that a lot of materials in foreign or domestic forums are about pypy-2.4.0 with VirtualEnv in Linux such as CentOs. I really doubt my idea of installing pypy-2.4.0 in virtualenv with Windows 7/8 is correct. All pictures are uploaded as attachments. (5) I hope more and more interesting people if want to install pypy-2.4.0 with virtualenv in Windows 7/8 join this discussion and wish you or directors to help me. I really love this crystallization of wisdom——Pypy——It takes my great enthusiasm and interest along. Thank you! I'm eternally grateful for your help. bitpeach 2014-12-14 China ------------------OLD MAIL ------------------ 发件人: "Matti Picus";<matti.picus@gmail.com>; 发送时间: 2014年12月14日(星期天) 凌晨4:51 收件人: "PyPy Developer Mailing List"<pypy-dev@python.org>; 抄送: "思"<958816492@qq.com>; 主题: Re: [pypy-dev] Ask Pypy within virtualenv of Windows 7/8 for Help---- bitpeach from china The latest released virtualenv is version 1.11.6 which does not support pypy 2.4.0 and earlier on windows. A fix was merged into virtualenv after this version (released 17 May 2014) so any newer release will be fixed. In the mean time you can: 1. run "virtualenv -p path\to\pypy.exe new_path" and it will fail 2. copy by hand the directories lib_pypy and lib-python from path\to to new_path 3. rerun virtualenv, it should complete cleanly after installing setuptools and pip Matti

Hi, On 14 December 2014 at 08:52, 思 <958816492@qq.com> wrote:
I see that the current virtualenv version is now 12.0.5 ( https://pypi.python.org/pypi/virtualenv/#downloads). I assume that this means that the fixes Matti talks about are now officially part of it. Can you try again with this version 12.0.5? A bientôt, Armin.

Dear Pypy Directors or Team / Dear friend Ms.or Mr. Picus: Glad to hear from you. I really appreciate your email. Thank you Picus. With your help, I have some new questions as follows. (1) I check the VirtualEnv version list and the 1.11.6 is the latest by this URL. There is no newer version than that. It means that 1.11.6 version is the newest and no versions can support pypy-2.4.0. (2) Then I keep the complete file of Pypy-2.4.0 as an old path and build a new file to copy the directories lib_pypy and lib-python into the new file. (3) And I use the command "virtualenv -p \path\to\oldfile\pypy.exe \path\to\newfile". As following picture shown, please allow me to explain it. [3-1] I already install python2.7 and virtualenv 1.11.6. [3-2] I put a complete pypy-2.4.0 programs in file "e:\Python27\Scripts\pypy-2.4.0-win32" as an old path. The Picture below presents this. (3-2 Picture) [3-3] I build a new file named "VirtualenvPypy" and copy the directories lib_pypy & lib-python from file "pypy-2.4.0-win32" to new file "VirtualenvPypy". The Picture below presents this. (3-3 Picture) [3-4] Finally, I use the command as below. The two Pictures below present this. In (3-4 Picture B), the red one is old path and the blue one new path. If my command is wrong, you can help me to revise it. (3-4 Picture A) (3-4 Picture B) (4) The command is failed. And I guess the intention to appointing pypy.exe as a default interpret may be not available to the Windows 7/8 versions and Pypy-2.4.0. I still worry a truth that a lot of materials in foreign or domestic forums are about pypy-2.4.0 with VirtualEnv in Linux such as CentOs. I really doubt my idea of installing pypy-2.4.0 in virtualenv with Windows 7/8 is correct. All pictures are uploaded as attachments. (5) I hope more and more interesting people if want to install pypy-2.4.0 with virtualenv in Windows 7/8 join this discussion and wish you or directors to help me. I really love this crystallization of wisdom——Pypy——It takes my great enthusiasm and interest along. Thank you! I'm eternally grateful for your help. bitpeach 2014-12-14 China ------------------OLD MAIL ------------------ 发件人: "Matti Picus";<matti.picus@gmail.com>; 发送时间: 2014年12月14日(星期天) 凌晨4:51 收件人: "PyPy Developer Mailing List"<pypy-dev@python.org>; 抄送: "思"<958816492@qq.com>; 主题: Re: [pypy-dev] Ask Pypy within virtualenv of Windows 7/8 for Help---- bitpeach from china The latest released virtualenv is version 1.11.6 which does not support pypy 2.4.0 and earlier on windows. A fix was merged into virtualenv after this version (released 17 May 2014) so any newer release will be fixed. In the mean time you can: 1. run "virtualenv -p path\to\pypy.exe new_path" and it will fail 2. copy by hand the directories lib_pypy and lib-python from path\to to new_path 3. rerun virtualenv, it should complete cleanly after installing setuptools and pip Matti

Hi, On 14 December 2014 at 08:52, 思 <958816492@qq.com> wrote:
I see that the current virtualenv version is now 12.0.5 ( https://pypi.python.org/pypi/virtualenv/#downloads). I assume that this means that the fixes Matti talks about are now officially part of it. Can you try again with this version 12.0.5? A bientôt, Armin.
participants (3)
-
Armin Rigo
-
Matti Picus
-
思