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

pip install installs old vapory version #40

Open
arizhakov opened this issue Apr 18, 2017 · 3 comments
Open

pip install installs old vapory version #40

arizhakov opened this issue Apr 18, 2017 · 3 comments

Comments

@arizhakov
Copy link

arizhakov commented Apr 18, 2017

Starting with a clean (vapory-free) environment, I just ran pip install vapory and got Successfully installed vapory-0.1.1. When I ran my code (that uses vapory), I got a cannot import name VertexVector error. Uninstalling from pip, then git clone-ing the latest Zulko/vapory repo branch, and running python setup.py install, I get the last line of the console output as Finished processing dependencies for Vapory==0.1.1. pip list shows Vapory (0.1.1). pip search vapory shows Vapory (0.1.01) - 3D rendering with Python and POV-Ray /n INSTALLED: 0.1.1 /n LATEST: 0.1.01. When I run the same code as before, there is no VertexVector error and code executes fine.

It seems like there is an issue with pip containing an old branch of Zulko/vapory repo. Thus, 2 questions:

  1. Any way to update pip to reflect this latest Zulko/vapory repo branch?
  2. Any way to include Zulko/vapory repo in conda?
@JBlaschke
Copy link

Will this be fixed at some point?

@NGeorgescu
Copy link
Contributor

Hey @Zulko , the fix is easy, just download and unzip vapory-master and change «path/to/library/» to the path in which the library sits:

cd «path/to/library/»
echo "__version__ = '0.2.0'" > vapory/version.py
pip install twine
python setup.py sdist
twine upload dist/vapory-0.2.0.tar.gz

this keeps popping up. I wanted to create an online video series using vapory. I can only really do that if you upload the full version. Otherwise I'll upload another repo to pypi that I'll keep up to date and direct users to it. I really don't want to do that. Let me know what you want.

@NGeorgescu
Copy link
Contributor

I uploaded a new version. For all people running into this issue pip install vapory-git. If the PyPI version gets upgraded I'll remove this package.

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

3 participants