FSM
FSM

Reputation: 21

Pyside with Python 3 Mac OS 10.8

I'm new at programing but I tried to find the answer for a week and could not solve my issue that seems to be easy.

I have a Macbook air with OS 10.8 and installed via Brew Python3 and Pyside using:

brew install pyside --with-python3

It install ok but when I try to import Pyside from terminal or from Pcharm it says:

File "", line 1, in ImportError: No module named 'pyside'

I know that it may seem simple, but I tried everything I found in the web but nothing works.

This time I reinstall a clean version of my OS to have a clean install and the result is the same.

Thank you for any help.

Upvotes: 2

Views: 1027

Answers (1)

Yohann
Yohann

Reputation: 6366

Check your PYTHONPATH:

export PYTHONPATH=/usr/local/lib/python3.x/site-packages:$PYTHONPATH  

Source

Upvotes: 2

Related Questions