Comments (17)
This does not affect our build or installation, but new pythonnet users will keep bumping into this issue by incorrectly assuming that pip install clr
is necessary before import clr
.
Would you mind renaming your package before it is too late? I see that it is only about one month old?
from style.
The name clashes with IronPython
which uses import clr
as its import hook.
from style.
I noticed the package name conflict after publishing. Does this affect your build or installation process?
My understanding of pythonnet/pythonnet#388 is, that pip install clr
was executed instead of pip install pythonnet
, right?
from style.
It is actually really hard to find a good 3 letter name. How about a little compromise:
- We update the pythonnet/README.md to show some installation instructions, since people who wrongly install
clr
instead ofpythonnet
just got a different error, before I published my package. - I will update the
AttributeError
to show a more explanatory error message, pointing topythonnet
from style.
The problem is for users that install both like the original issue that made us detect it.
from style.
I thought the original issue was that a new pythonnet user installed the wrong package.
from style.
from style.
System
is a toplevel module of pythonnet?
from style.
from style.
The AttributeError
caused by clr.AddReference
can be easily detected. Detecting the import System
error might be more complicated. I will have a look on how this "hook up" is done, it might be also catchable.
from style.
from style.
from style.
@lmittmann Please take a stance on this now.
Are you going to rename your library? You are clashing with both Python.NET and IronPython and are causing confusion for people using pip
directly. If not, please at least say so now and we will put the corresponding information into our Readme and entry page.
Please don't try to hack around this by capturing import System
or clr.AddReference
.
from style.
I will rename the library later today. I am not sure about the best way to transfer ownership of a pypi package though. Any ideas @denfromufa @vmuriart @filmor?
from style.
Does this link work? https://pypi.python.org/pypi?:action=role_form&package_name=clr
You can add one of us as owners and we will handle it from there.
Many thanks for the renaming :)
from style.
That worked, you should have access now.
from style.
@lmittmann could you please unlist clr from pypi?
from style.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from style.