Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.5, Linux, package problem #47

Open
samtsevich opened this issue Feb 13, 2019 · 2 comments
Open

Python 3.5, Linux, package problem #47

samtsevich opened this issue Feb 13, 2019 · 2 comments

Comments

@samtsevich
Copy link

Hi!

I just tried to compile pylada-light on my laptop with Ubuntu 16.04, Python 3.5.2. I switched into python3 branch.
Then I have built it myself and it finished successfully. But my python3 could not recognize pylada as a package. That's why I have copied pylada directory from pylada_package into a necessary directory with all packages by hands.
That means that it does not copy it themselves.
Is it a common problem or just I am an only person, who faced it?

@mdavezac
Copy link
Member

You should not need to switch to the python 3 branch. It has been merged into master.

Otherwise, python setup.py build will only build, without truly installing the package.
If you want to install system wide (or in a virtualenv), do python setup.py install.

@mdavezac
Copy link
Member

You can also do "pip install -e ." from the root of the repo. That will install the package in development mode. It means you can edit files around the code and do "make build" in the build directory to see changes reflected in the python REPL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants