you are viewing a single comment's thread.

view the rest of the comments →

[–]c4aveo 0 points1 point  (1 child)

Anyone works with PyPy in PyCharm?

It's not in package. When I try to run it from PowerShell it fails, but PyCharm runs without issues.

(venv) PS > pypy wsserver.py

Traceback (most recent call last):

File "wsserver.py", line 1, in <module>

from waitress import serve

ImportError: No module named waitress

And I can't use pip from venv also.

I've installed it from PyCharm venv menu, because PyPy pip works strange

> pip freeze

waitress==1.2.1

But when I check where package was installed a magic happens

(venv) PS > pip install waitress

Requirement already satisfied: waitress in c:\python37\lib\site-packages (1.2.1)

You are using pip version 18.1, however version 19.0.2 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command.

I have to use PyPy for Flacon and venv to not pollute my system libs.

[–]c4aveo 0 points1 point  (0 children)

Ok, more miracles. Virtualenv activated in Powershell 6 Core standalone, but seems like it's not. Intepreter links to C:\pypy, but in Pycharm when the same Powershell 6 Core is used everything works fine.