Closed ghost closed 7 years ago
The module exists. it is just that when you do ./vy python attempts to look for the module from your installed modules, it is not considering the project's path.
https://github.com/iogf/vy/blob/master/vyapp/base.py
Try installing vy from pip, pip2 install vy make sure you installed requirements with pip2 too.
in arch linux dists python3 is default, so you're trying to run vy in py3 not py3 because you didnt add a 2 in the pip install instruction.
cd ~/.virtualenvs/
ls -la
virtualenv vy -p /usr/bin/python2
cd ~/.virtualenvs/
source vy/bin/activate
cd ~/projects/vy-code
cd ~/projects/vy-code
pip2 install -r requirements.txt
python2 setup.py install
./vy
# or
vy
Wow, thanks for the fast reply! You were definitely right, I was doing my setup with python3 instead of python2. Also I didn't realize I should run setup.py. I did follow and adapted your steps and the software did work.
Thank you very much and congrats, your software seems soft and clean.
Thank you. Feel free to contact me at any time. I hope you enjoy vy, the docs need a bit of clarification if you feel likely some stuff is not clear, please let me know. There are some features that arent yet documented too.
Greetings! This is the second time I issue an issue at Github, so I apologize in advance if I do something wrong.
I'm relatively new to Python, so I couldn't figure out if it is a missing library problem on my environment side.
My environment: Arch Linux with python3.6 and python2.7 with some modules, (among them
jedi
andpigments
, all installed withpacman
package manager)I tried both with my global environment and with Python's virtualenv and both produced the same error message. To simplify things, I'll put virtualenv's terminal output below to avoid misunderstandings:
Thanks since now.