Question: running the following command

```
virtualenv -p /usr/local/bin/pypy pypy

```

exits with error like

```
Running virtualenv with interpreter /usr/local/bin/pypy
New pypy executable in pypy/bin/pypy
debug: WARNING: Library path not found, using compiled-in sys.path.
debug: WARNING: 'sys.prefix' will not be set.
debug: WARNING: Make sure the pypy binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
'import site' failed
AttributeError: 'module' object has no attribute 'prefix'
ERROR: The executable pypy/bin/pypy is not functioning
ERROR: It thinks sys.prefix is u'/Users/myname' (should be u'/Users/myname/pypy')
ERROR: virtualenv is not compatible with this system or executable

```

I'm running Mac OS X 10.8.1 (Mountain Lion) with CPython 2.7.3 and installed pypy 1.9 using Brew. virtualenv's version is 1.8.4

Using pre-built pypy binary for Mac OS X downloaded directly from pypy's website doesn't make any difference

Answer: 
For `windows` this worked for me :

```py

python -m virtualenv -p <Your PYPY installed path\pypy3.exe> <venv_name>

```
I got the solution
Just use pypy3.exe instead of pypy.exe there are two .exe in downloaded folder

```
virtualenv -p C:/pypy3.7-v7.3.5-win64/pypy3.7-v7.3.5-win64/pypy3w.exe <folder_name>

```

By default python comes with venv. But venv has no -p
Install virtualenv using pip
Then use direct virtualenv -p path/pypy3.exe <folder\_name>
no need to use python -m